Skip to content

Architecture.

Compose around a single agent core.

LayerResponsibility
InterfacesTerminal, workspace, browser, Rust applications, and agents connected through MCP.
Shared serviceCommon operations for agent work, harness revisions, observation, comparison, and activation.
HarnessContext, strategies, routing, tools, workflows, and evaluation composed into an immutable revision.
Agent coreModel calls, context, tools, hooks, and the turn lifecycle.
Tools and executionNative file operations, action graphs, jobs, and authorized delegation.
State and authorityConversation history, execution records, current grants, and ownership.
Inference providersExplicitly configured local servers and hosted model APIs.

Embed the core, use the hosted integrations, or reuse aw-tools independently. The portable kernel and embedded adapter support no_std + alloc hosts.

Libraries and SDK boundaries

Plan once. Execute what is ready.

batch is the compact interface to aw’s graph runtime. Each node names a tool, its arguments, and an optional condition.

One graph · independent reads
{
  "ops": [
    ["read", {"path": "Cargo.toml"}, "*"],
    ["read", {"path": "src/main.rs"}, "*"]
  ]
}

Independent nodes can run together within the host’s limits. Conditions such as 1&2 wait for both referenced nodes to succeed completely. Each node keeps its own result.

Arguments are fixed at admission. When the next action needs an earlier result, the agent reads that result and prepares the next graph. The same job controls observe, read, and cancel the admitted work.

Authority stays with the host.

Tool registration, model selection, and instructions do not grant access. The host selects capabilities; current permissions are checked when work runs.

Execution records retain intent and outcomes across interruptions. Cancellation follows the original work, and uncertain effects remain visible for inspection.

Hooks, trust, and policy

Program the harness while it runs.

Compose context, strategies, routing, tools, and workflows into immutable revisions. The SDK and MCP expose the same service operations, so your application and your agents can inspect, prepare, compare, and activate changes.

Preparation resolves the components into a coherent revision. Comparisons evaluate candidates against your cases on isolated mutable state. Activation checks the current binding and your promotion policy.

Admitted work retains its revision. Compatible changes apply to future eligible work, including the next turn. Permissions, budgets, and state compatibility remain in force.

Give an agent an edit space, evaluator, and budget to improve its own harness. It uses the same operations as a developer; the candidate cannot change its evaluator or grant itself more authority.

SDK guide

aw runs the agent. ZeroGravity runs inference.

aw controls context, behavior, tools, and graphs of work. ZeroGravity owns the inference layer: models, pipelines, scheduling, and device resources.

Use a configured ZeroGravity endpoint, another compatible local server, or a hosted provider. The agent runtime and inference runtime remain independently usable.

Explore ZeroGravity