interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

Prior art: Hermes Agent (Nous Research, MIT). Six mechanics to rewrite in Rust, Omega as destination

Open · #267 · open 2026-10-18 19:10 UTC

Imported from GitHub aien-dev/aien-architecture-mv#267, by drakestapleton

Labels: ready-for-agent

drakestapleton wrote on 2026-10-18 19:10 UTC

Drake asked on 2026-10-18 for a study of the open-source Hermes Agent (https://github.com/NousResearch/hermes-agent, MIT, Python) to find principles or mechanics unique enough to rewrite in our own language, and to connect the two projects with issues. This is the parent issue.

Research note: docs/research/hermes-agent-prior-art.md (branch docs/hermes-agent-prior-art, landed by the PR desk). Commit read: 548091836760a67e331b8f5643be8e5c08fae1e6 (2026-10-18). Our pinned copy and the four scout notes with file:line citations are on the Spark at ~/workspace/investigations/2026-10-18-hermes-agent/.

Judgment (orchestrator, 2026-10-18). Six mechanics are both unusual in Hermes and absent on our side. Each gets one child issue in the repository where it lands:

  1. Bounded micro-compaction and evidence-anchored token accounting (aien-sovereign-core, extends sc#397)
  2. Persist-before-act turn discipline and loop-proof recovery (aien-sovereign-core)
  3. Tool batch planning with reader/writer path reservations and result spill budgets (aien-sovereign-core)
  4. Agent-written skills under an editorial policy, with a content-addressed skill ledger and rollback (omega)
  5. Delivery and scheduling guarantees stated per path: at-least-once reply ledger, at-most-once cron (aegis-runtime)
  6. Approval floors ordered above every mode, and an agent-write ledger so rollback spares the operator's edits (aien-sovereign-core)

Language. Rust now, Omega as the destination (ADR 0024). Omega has no general compiler today, so the pure part of each rewrite (summary folding, accounting, the delivery state machine, the skill ledger) is written as an effect-free, content-addressed module with a stated interface, so it can be carried into Omega later. No Python.

Licence and credit. MIT permits the rewrite. No Hermes code is copied; mechanisms are re-implemented from reading. Every child issue and every resulting module header credits Hermes Agent, Nous Research, the MIT licence and the commit read. Any verbatim text carried over (for example a prompt rule) puts the MIT notice into that repository's NOTICE file.

Not worth rewriting: provider adapters, the 27 messaging platforms, the Python package manager, browser and computer-use stacks, the TUI, the mixture-of-agents provider.

Also in the note: section 7 maps our Claude Code assets onto Hermes files for the transfer Drake raised the same day (memory will not fit Hermes's 2,200-character cap; an external memory provider, where Cortex could plug in, is needed).

Prior-mention check: org-check receipt org:8d23a45c210a (no earlier study of Hermes mechanics on our side).

🤖 Generated with Claude Code

drakestapleton wrote on 2026-10-18 19:12 UTC

Child issues filed 2026-10-18:

  1. aien-dev/aien-sovereign-core#664 bounded micro-compaction and evidence-anchored token accounting (extends #397)
  2. aien-dev/aien-sovereign-core#665 persist-before-act turn discipline and loop-proof recovery
  3. aien-dev/aien-sovereign-core#666 tool batch planning with reader/writer path reservations and spill budgets
  4. aien-dev/omega#563 agent-written skills under an editorial policy, content-addressed skill ledger with rollback
  5. aien-dev/aegis-runtime#68 delivery and scheduling guarantees stated per path (at-least-once replies, at-most-once cron)
  6. aien-dev/aien-sovereign-core#667 approval floors above every mode, agent-write ledger for rollback

Research note branch: docs/hermes-agent-prior-art at e275c5b (PR desk lands it).

drakestapleton wrote on 2026-10-18 19:30 UTC

Start-here prompt for the implementing agent: aien-dev/aien-architecture#269 (Allen program: give Allen what Hermes has, in our stack). Drake's framing, 2026-10-18: make Allen into what he wants Allen to be, able to do what Hermes does. The six children here are its phases 1 to 4; phases 5 and 6 (messaging reach, tools, sessions, trajectories for Allen's own core) get their child issues when that agent starts.

Sign in to comment