Core agent runtime for the Life Agent OS -- the foundation primitive that implements the aiOS kernel contract with event-sourced state, typed streaming, and replayable sessions.
Rust-first agent runtime and daemon focused on harness quality, typed streaming events, and replayable state.
cargo install arcan
Important
Be sure to add /Users/broomva/.cargo/bin to your PATH to be able to run the installed binaries.
crates/arcan-core: protocol, state, runtime contracts, orchestrator loopcrates/arcan-harness: sandbox and filesystem guardrails, hashline edit primitivescrates/arcan-store: append-only session event repositoriescrates/arcan-provider: LLM provider implementations (Anthropic Claude)crates/arcand: agent loop, SSE server, and HTTP routingcrates/arcan-lago: Lago event-sourced persistence bridgecrates/arcan: installable binary (cargo install arcan)
# Launch interactive TUI (default command). # Re-attaches to the most recent session automatically. cargo run -p arcan # Run daemon explicitly cargo run -p arcan -- serve # Run daemon with Anthropic Claude ANTHROPIC_API_KEY=sk-ant-... cargo run -p arcan -- serve # Launch TUI explicitly arcan chat # CLI options arcan --port 3000 --data-dir .arcan
Starts the daemon, waits for health check, and then launches the TUI.
# Run the dev harness
./scripts/harness/dev-tui.shEnvironment overrides:
# custom port/session/data directory PORT=3200 SESSION=dev-1 DATA_DIR=/tmp/arcan-dev ./scripts/harness/dev-tui.sh # use real provider env vars instead of mock mode ARCAN_MOCK=0 ./scripts/harness/dev-tui.sh
docs/architecture.mddocs/roadmap.mddocs/vision-and-status.mddocs/lago-integration.md
cargo check
cargo test
cargo clippyFull documentation: docs.broomva.tech/docs/life/arcan