Ω Omega Architecture

Reactive, agent-based architecture for Flutter
One channel · typed intents · flows · agents · CLI · inspector · traces

Omega Architecture logo

pub version   Documentation   API reference

Intro · Why Omega · Quick start · Mental model · CLI · Links


Introduction

What is Omega?

Omega Architecture is a Dart / Flutter package plus a omega CLI that organizes your app around a few clear ideas: a single OmegaChannel for events, flows that orchestrate use cases, agents that run side effects and domain logic, and a thin UI that sends intents and reacts to flow expressions — instead of growing a tangle of setState, callbacks, and hidden dependencies across widgets.

Why use it?

  • Easier to reason about — business rules live in flows and agents; screens stay declarative.
  • Safer evolution — typed intent/event names, optional contracts in debug, and omega validate catch wiring mistakes before they ship.
  • Better debugginginspector (overlay, dialog, or browser + VM Service), time-travel sessions, and traces so you see what happened and in what order.
  • Less boilerplateomega g ecosystem, project templates, and an optional AI coach for scaffolding.

This README is only a summary. Go to the documentation for install steps, diagrams, every guide, and the learning path:

Documentation site →
Suggested path: Getting started · Core concepts · Data flow


Why Omega

You want You get
UI that does not drown in logic Intents in, expressions out — widgets stay declarative
One nervous system for the app OmegaChannel — events everyone hears
Confidence when the app grows Typed names, optional contracts, omega validate
To see what the app is doing Inspector (in-app, tab, or browser + VM Service) + time-travel
New features without boilerplate fatigue omega g ecosystem + optional AI coach

Start in one minute

dart pub global activate omega_architecture
omega create app my_app && cd my_app && flutter run

Add Pub’s global bin to your PATH (Windows: %LOCALAPPDATA%\Pub\Cache\bin). If omega is not found, use the CLI guide (PATH, dart run omega_architecture:omega …).

Existing app: add omega_architecture to pubspec.yaml, then from the app root:

dart run omega_architecture:omega init

What it feels like

The UI states what it wants (intent). Flows coordinate. Agents react through a behavior engine. The channel carries events; navigation and state show up as predictable streams — not setState spaghetti across the tree.

OmegaScope(
  channel: channel,
  flowManager: flowManager,
  child: const MyApp(),
);

More depth: Documentation · API reference


CLI at a glance

Command What it does
omega create app New Flutter app with Omega wired in
omega init Drop Omega into an existing app
omega g ecosystem <Name> Flow + agent + behavior + page
omega validate / doctor Catch wiring mistakes early
omega inspector VM Service → inspect in the browser
omega ai coach … Optional — scaffold or evolve modules (env + API keys)

Full reference: CLI guide


Where to look next

Web docs Guides, architecture map, CLI, inspector
CLI All omega and omega ai commands
Inspector Overlay, launcher, VM / browser
example/ Auth reference — cd example && flutter run

Package layout

lib/omega/                 → channel, intents, events, agents, flows, ui, bootstrap
lib/omega_architecture.dart → public barrel export

License

MIT

Libraries

omega/agents/behavior/omega_agent_behavior_context
omega/agents/behavior/omega_agent_behavior_engine
omega/agents/behavior/omega_agent_behavior_rule
omega/agents/behavior/omega_agent_reaction
omega/agents/omega_agent
omega/agents/omega_stateful_agent
omega/agents/protocol/omega_agent_inbox
omega/agents/protocol/omega_agent_message
omega/agents/protocol/omega_agent_protocol
omega/bootstrap/omega_bootstrap
omega/bootstrap/omega_config
omega/bootstrap/omega_runtime
omega/contracts/omega_flow_contract
omega/core/channel/omega_channel
omega/core/events/omega_event
omega/core/omega_sequencer
omega/core/semantics/omega_agent_id
omega/core/semantics/omega_event_name
omega/core/semantics/omega_flow_id
omega/core/semantics/omega_intent
omega/core/semantics/omega_intent_name
omega/core/semantics/omega_semantics_wire_from_camel
omega/core/semantics/omega_typed_event
omega/core/semantics/omega_typed_intent
omega/core/types/omega_failure
omega/core/types/omega_object
omega/flows/omega_flow
omega/flows/omega_flow_context
omega/flows/omega_flow_expression
omega/flows/omega_flow_manager
omega/flows/omega_flow_snapshot
omega/flows/omega_flow_state
omega/flows/omega_intent_handle_facade
omega/flows/omega_intent_handler_context
omega/flows/omega_intent_handler_pipeline
omega/flows/omega_intent_reducer
omega/flows/omega_snapshot_storage
omega/flows/omega_workflow_flow
omega/offline/omega_offline_queue
omega/time_travel/omega_recorded_session
omega/time_travel/omega_time_travel_recorder
omega/ui/flutter/omega_agent_builder
omega/ui/flutter/omega_agent_scope
omega/ui/flutter/omega_builder
omega/ui/flutter/omega_flow_activator
omega/ui/flutter/omega_flow_expression_builder
omega/ui/flutter/omega_initial_navigation_emitter
omega/ui/flutter/omega_inspector
omega/ui/flutter/omega_inspector_launcher
omega/ui/flutter/omega_inspector_launcher_stub
omega/ui/flutter/omega_inspector_launcher_web
omega/ui/flutter/omega_inspector_receiver
omega/ui/flutter/omega_inspector_receiver_stub
omega/ui/flutter/omega_inspector_receiver_web
omega/ui/flutter/omega_inspector_server
omega/ui/flutter/omega_inspector_server_io
omega/ui/flutter/omega_inspector_server_stub
omega/ui/flutter/omega_scope
omega/ui/flutter/omega_scoped_agent_builder
omega/ui/flutter/root_heandler_app
omega/ui/navigation/omega_navigation_entry
omega/ui/navigation/omega_navigator
omega/ui/navigation/omega_route
omega_architecture
Omega Architecture: a reactive, agent-oriented framework for Flutter.