Getting started
This topic walks through installing the package, scaffolding with ng add, and where to read next — similar in purpose to Angular’s Getting started flow for a new workspace.
New to Omega?
If you are still evaluating fit and trade-offs, read Vision & why Omega or the short Overview before restructuring your app.
Prerequisites
- Angular CLI workspace (see Angular documentation — Local setup for the current recommended versions).
- Node.js and npm compatible with your Angular version.
Install
npm install omega-angularNew application
ng new my-app --defaults
cd my-app
ng add omega-angularng add omega-angular configures ESLint-first build / serve, optional omega-setup.ts with a login + home starter (unless --minimal), and merges providers into app.config.ts.
To undo that wiring (builders, ESLint config, providers, optionally omega-setup.ts), use ng generate omega-angular:remove then npm uninstall omega-angular — see Schematics.
Use the primitives
- Register
provideOmega()(usually fromomega-setup.ts). - Define flows (
OmegaFlow) and agents (OmegaAgent) for your domain. - Send intents with
OmegaFlowManager.handleIntentand events viaOmegaChannel.
Learn the runtime
- What Omega solves — pain points and how the library answers them
- Cookbook — step-by-step code recipes (auth-style flow)
- Core concepts — glossary and diagram
- Data flow — intents → flows → channel → agents
- Channel & events, Intents & flows, Agents
- Wire names & feature layout —
AuthWire-style tables and folders - Testing — unit-test the channel and flows
- Navigation & Router — bridge pattern with
Router - API reference — package exports
Repository layout (example)
Feature folders often look like:
src/app/my-feature/
├── services/ # HttpClient / APIs only
├── models/
├── omega/ # flow, behavior, agent, constants
└── views/ # componentsGlobal bootstrap stays in omega-setup.ts (flows, agents, router bridge).
Full README
The canonical developer guide for this monorepo lives in the GitHub repository README.
What’s next
| Step | Topic |
|---|---|
| Mental model | Core concepts |
| End-to-end path | Data flow |
| Bootstrap file | omega-setup.ts |
| Public exports | API reference |
