Compose around a single agent core.
| Layer | Responsibility |
|---|---|
| Interfaces | Terminal, workspace, browser, Rust applications, and agents connected through MCP. |
| Shared service | Common operations for agent work, harness revisions, observation, comparison, and activation. |
| Harness | Context, strategies, routing, tools, workflows, and evaluation composed into an immutable revision. |
| Agent core | Model calls, context, tools, hooks, and the turn lifecycle. |
| Tools and execution | Native file operations, action graphs, jobs, and authorized delegation. |
| State and authority | Conversation history, execution records, current grants, and ownership. |
| Inference providers | Explicitly 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.
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.
{
"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 policyProgram 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 guideaw 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