Declare dependencies; the scheduler resolves execution order. Workers run in isolated contexts and exchange typed events.
Scheduling internals +
DAG scheduling supports parallel branches, cancellation, and backpressure. Context is scoped per task; typed events carry results between workers.
II. PERSISTENCE
Durable state. Resumable work.
Separate working context from durable memory. After a process restart, restore the latest checkpoint and retain completed task outputs.
Recovery semantics +
An event log records state transitions. SQLite stores local checkpoints; PostgreSQL supports shared state. Recovery replays events and retains committed outputs.
III. SOVEREIGNTY
Autonomy within explicit policy.
Enforce tool permissions, token budgets, and approval gates at the runtime boundary. Keep an audit trail for each external action.
Policy enforcement +
Scope each agent to an explicit tool allowlist, token budget, and timeout. Route privileged calls through approval gates and record their outcomes.
IV. PORTABILITY
Swap models. Keep the runtime.
Route local inference, hosted models, and existing services through a common interface. Keep orchestration independent of the inference backend.
Adapter interfaces +
Connect inference through OpenAI-compatible endpoints and tools through MCP. Switch providers in configuration without rewriting the execution graph.
How does the runtime differ from an agent framework?+
An agent framework defines reasoning and tool behavior. ARCHON manages execution lifecycles, scheduling, durable state, and authorization across agents, models, and tools.
Can inference run entirely on local infrastructure?+
Yes. Connect a local inference server through an OpenAI-compatible endpoint. Model inference, state storage, and tool execution can remain inside your network.
What happens when a worker or process stops?+
With checkpointing enabled, committed steps and execution context are persisted. Resume from the latest checkpoint. External side effects require idempotency keys or explicit reconciliation before retry.