Skip to content
styrene-labPublic

About

Native AI agent harness — for agents, by agents. Single binary, zero dependencies.

Resources

Contributing

Stars

48 stars

Watchers

1 watching

Forks

Latest commit

 

History

5,591 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

+++ id = "30b48db5-e615-4544-a4a9-634872a27a77" tags = [] aliases = [] imported_reference = false

[publication] enabled = false visibility = "private" +++

Omegon

Terminal-native agent harness for serious software work.

Rust-native release-coupled product: the omegon host, independent omegon-maintain recovery companion, bundled content, and signed core:codescan component. No Node.js runtime. Persistent project memory. Multiple inference providers. Parallel git worktrees. Design and spec lifecycles built in.

Omegon is a systems engineering harness, not a transcript viewer. It can read and edit code, run commands, manage project memory across sessions, expose project-specific REST APIs as agent tools from OpenAPI specs, decompose work into isolated child worktrees, run bounded headless tasks, run long-lived Sentry automation, and operate as a local daemon or ACP agent server for editor integrations.

docs license


Why Omegon exists

Most “coding agents” are thin wrappers around an API call, a file picker, and some hopeful marketing.

Omegon takes the opposite position.

Software work is a live system with:

  • state
  • memory
  • lifecycle artifacts
  • source control boundaries
  • multiple inference backends
  • cost and quota pressure
  • operator intent that must survive more than one session

So Omegon treats the agent as one subsystem inside a larger harness.

That means you get:

  • a real terminal UI instead of a transcript dump
  • provider honesty instead of vague “smart routing” slogans
  • persistent project memory instead of amnesia between runs
  • design-tree and OpenSpec lifecycles instead of planning in random markdown scraps
  • parallel git worktree execution instead of praying one giant prompt does the right thing

Install

curl -fsSL https://omegon.styrene.io/install.sh | \
  OMEGON_BOOTSTRAP_VERIFIER=/absolute/path/to/independently-trusted/omegon-maintain sh

Direct installation requires an independently acquired and trusted external verifier. Omegon does not prescribe or download that bootstrap verifier.

Nightly channel one-shot:

curl -fsSL https://omegon.styrene.io/install.sh | \
  OMEGON_BOOTSTRAP_VERIFIER=/absolute/path/to/independently-trusted/omegon-maintain \
  sh -s -- --channel=nightly

Homebrew, Nix, and OCI publication remain deferred while stable release channels are prepared. Their checked-in packaging is not a supported public installation path yet.

Stable docs: https://omegon.styrene.io/docs/install Nightly/staging docs: https://omegon.styrene.dev/docs/install


Get working fast

Fastest interactive path

omegon auth login openai-codex
om

Omegon installs two standard spellings for the same binary and behavior:

  • om - short alias for omegon.
  • omegon - canonical executable name.

Runtime posture is explicit and profile-driven, not inferred from the launcher name. Use posture flags when you want a different operating mode:

om --explorator      # lean/read-heavy mode
omegon --slim        # compatibility spelling for lean mode
omegon --architect   # systems-engineering/default posture

API-key path

omegon secret set ANTHROPIC_API_KEY --stdin
om

For operator-owned tokens, use the same keyring-backed secrets engine. Raw values can be entered through hidden TUI input:

/secrets set VAULT_ROOT_TOKEN

Recipes can alias existing keyring entries without copying values:

omegon secret set VAULT_TOKEN --recipe keyring:VAULT_ROOT_TOKEN

Local path

ollama pull qwen3:32b
om

If you want the shortest happy path instead of a full tour, start here:


What it does

1. Runs as a native terminal harness

Omegon is a Rust-native binary with no Node.js runtime dependency.

It gives you:

  • structured conversation rendering
  • collapsible tool cards
  • wrapped multiline editor
  • live engine, memory, and system telemetry
  • primary browser surface launch via /auspex open
  • local browser compatibility/debug surface via /dash
  • ACP server mode for editors that speak Agent Client Protocol
  • serve mode for persistent local daemon/control-plane use

2. Keeps provider identity honest

Omegon distinguishes concrete runtime backends instead of hiding them behind mushy branding.

Examples:

  • Anthropic/Claude
  • OpenAI API
  • OpenAI/Codex
  • Ollama (Local)
  • Ollama Cloud

The footer separates:

  • provider → concrete backend identity
  • model → selected runtime model
  • limit → upstream quota/bucket telemetry when available

That sounds small until you’ve spent an hour debugging a system that lied about what model path it was actually using.

3. Persists project memory across sessions

Omegon stores durable facts under typed sections:

  • Architecture
  • Decisions
  • Constraints
  • Known Issues
  • Patterns & Conventions
  • Specs

This is not “chat history with search.” It is a project memory system with recall, persistence, and lifecycle-aware usage. Semantic recall uses Ollama embeddings when available and can fall back to a local ONNX sentence-transformer model in builds compiled with local-embeddings; if neither backend is available, memory degrades to FTS5 keyword search instead of failing.

Memory is an optional managed service. If it is unavailable, memory tools and status remain visible with an explicit unavailable result, durable-memory context is omitted, and the rest of the session continues without a direct-storage fallback.

4. Tracks design and specification as first-class work

Omegon ships with two durable lifecycle systems:

  • Design Tree — explore questions, record research, dependencies, and decisions
  • OpenSpec — write Given/When/Then specs, generate plans, verify implementation, archive change history

This makes the agent better at long-running work because intent is written down in forms the harness can query.

5. Executes parallel work in real git worktrees

For larger tasks, Omegon can assess complexity and split work into child tasks with isolated scopes.

That means:

  • separate worktrees
  • concrete file boundaries
  • merge and conflict detection
  • better operator control over risky multi-file changes

6. Runs outside the TUI when needed

The same binary supports scripted and service-oriented use:

omegon run task.toml
omegon run --prompt "Review this repository" --max-turns 10
omegon sentry --config sentry.toml
omegon serve
omegon acp

omegon run is bounded and exits with structured status codes: 0 completed, 1 error, 2 upstream exhausted, 3 timeout. omegon sentry runs the autonomous task executor with triggers, budgets, optional auto model routing, and a local control plane. omegon serve exposes a local daemon/control-plane with health probes. omegon acp runs an Agent Client Protocol server over stdio by default, or WebSocket with --listen.

Control-plane TLS uses the same file-based operational model as styrened:

omegon serve --rpc-tls-cert server.pem --rpc-tls-key server-key.pem
omegon acp --listen 0.0.0.0:7842 --rpc-tls-cert server.pem --rpc-tls-key server-key.pem --rpc-tls-client-ca ca.pem

When TLS is active, startup descriptors publish https:// and wss:// URLs.

Benchmarking and signal shaping

Omegon ships with an in-repo token-efficiency comparison harness under scripts/benchmark_harness.py and ai/benchmarks/.

Use it to compare harnesses against the same task and acceptance criteria, then inspect totals, wall clock, and Omegon's sys/tools/conv/mem/hist/think buckets before changing prompt, history, or tool-surface behavior.

Current stance:

  • om and omegon are equivalent launcher spellings.
  • omegon --slim / om --explorator are explicit lean comparison profiles for mainstream CLI coding agents.
  • Full/default behavior comes from the configured profile and explicit posture flags, not from the executable name.
  • the benchmark harness stays in-repo while it is coupled to --usage-json, omegon_context, auth/provider behavior, and clean-room runtime mechanics.

Quick example

Launch Omegon in a repo:

om

Then prompt it normally:

Read README.md and summarize the architecture.

Or make it do real systems work:

Inspect the auth flow, identify the weakest boundary, propose a minimal fix, add tests, and commit it.

Or lean into lifecycle mode:

We need to refactor the session model. Explore the design space, surface assumptions, write a spec, and then implement it.

Core capabilities

Three-axis inference control

Omegon treats inference as three separate controls:

  • Capability tier — local → retribution → victory → gloriana
  • Thinking level — off / minimal / low / medium / high
  • Context class — squad / maniple / clan / legion

This is the right model because “which model?” is not the only question that matters. Capability, reasoning effort, and context budget are different levers.

Built-in tools

Omegon exposes structured tools for:

  • file reads/writes/edits
  • shell execution
  • web search
  • OpenAPI-backed project tools from .omegon/openapi.toml
  • git operations
  • date/time resolution
  • memory management
  • design-tree queries and mutations
  • OpenSpec lifecycle management
  • codebase retrieval
  • model control
  • background services

Inference providers

Omegon resolves contribution-backed cloud, brokered, and local inference routes. The running model and auth views are authoritative for the current installation; the repository does not present a static provider list as an exhaustive executable inventory. In particular, Google Antigravity authentication and inventory are declared, but its current provider contribution is non-executable. See the provider guide for representative authentication postures and routing boundaries.

Tutorial that actually does work

/tutorial is an interactive overlay, not a static lesson reader. It can read code, store memory, create lifecycle artifacts, and walk an operator through real work.


Project structure

core/                       Rust workspace
  crates/
    omegon/                 Main binary — TUI, agent loop, tools, web surface
    omegon-codescan/        Code and knowledge indexing engine
    omegon-codescan-contracts/
                            Portable codescan RPC contracts
    omegon-git/             Git and worktree operations
    omegon-memory/          Project memory runtime
    omegon-opsx/            OpenSpec/lifecycle engine
    omegon-secrets/         Secret resolution and redaction
    omegon-traits/          Shared protocol and event types
    omegon-web/             Web and ACP-adjacent surfaces
extensions/
  omegon-codescan/          Release-coupled native codescan process
site/                       Public docs site
openspec/                   Spec-driven lifecycle artifacts
docs/                       Durable architecture and design docs
skills/                     Markdown skill packs
themes/                     Alpharius theme assets

Contributing

Contributions are welcome, including small documentation fixes, focused bug fixes, tests, and reports that make a confusing workflow reproducible. You do not need to understand Omegon's lifecycle machinery or run its entire test suite before opening your first pull request.

Start with CONTRIBUTING.md. It includes a first-contribution path, scoped validation commands, and what maintainers will handle during review.


Build from source

cargo build --release

Release binary:

target/release/omegon

Common development commands:

just build
just test-rust
just lint
just link

just link installs a stable launcher at ~/.local/bin/omegon and ~/.local/bin/om, registers the current checkout under ~/.omegon/channels/default, and keeps ~/.omegon/bin/omegon as a fallback copy. The launcher resolves explicit overrides first, then the nearest checkout, then the selected channel; use omegon --which to see the target binary.


Configuration

Mutable user state lives under:

~/.config/omegon/      settings and provider auth
~/.omegon/             installed skills, agents, extensions, dev aliases

Common files:

  • auth.json — provider credentials
  • settings.json — user settings
  • AGENTS.md — global directives

Project-local control surfaces include:

  • AGENTS.md
  • .omegon-version
  • .omegon/openapi.toml
  • ai/memory/facts.jsonl
  • openspec/
  • docs/

Release hygiene

Omegon ships signed releases with:

  • SHA-256 checksums
  • cosign signatures
  • CycloneDX SBOMs
  • GitHub build attestations

Install/update docs:


Read the docs

Start here:

Preview / staging docs:


License

BSL 1.1 — © 2024–2026 Black Meridian, LLC

In practical terms: if you are not trying to offer Omegon itself as a competing hosted agent service, the license is unlikely to be the part that ruins your day.

About

Native AI agent harness — for agents, by agents. Single binary, zero dependencies.

Resources

Contributing

Stars

48 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages