interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / crates / aien-cli / README.md

46 lines · 5929 bytes Raw Blame History Source

aien-cli

The aien-cli binary is AIEN's command line and the chat loop that Allen runs in on a host.

Sessions: record first, then act

Every chat session keeps a journal in the sessions folder (basecamp/sessions/<session-id>.journal.jsonl under the home folder). Each message and each tool request is written to the journal and flushed to disk before the loop acts on it. This is the chat-loop form of the Aienux continuity rule: advance the record, then act (sovereign-core #665).

The plain basecamp/sessions/<session-id>.json file is still written at the end of each turn for readers that expect it.

Long conversations: the operator's words are kept

When a conversation gets too long for the model, older material is folded into a short recap so the session can go on. The operator's own messages are never folded or summarized: every one stays word for word, in order, for the whole session (sovereign-core #664). Only Allen's own material is folded: his replies, tool calls, tool output and earlier recaps. The recap sits after the operator messages it follows, and a short line in it marks where each operator message came.

Tools: side by side when safe, large output kept aside

When Allen asks for several tools in one reply, the loop plans them before running them (sovereign-core #666):

The code is in src/turn_journal.rs (the journal), src/turn_recovery.rs (failure classes), src/compaction.rs (folding), and src/tool_plan.rs, src/tool_batch.rs and src/tool_spill.rs (tool batches). The mechanisms follow Hermes Agent (Nous Research, MIT licence, commit 5480918). It was re-implemented from reading; no code was copied.

Not covered yet