One service, one execution fabric
Embed a Service in your application or attach a Client to an existing one. CLI, TUI, Web, Rust SDK, and MCP share its native operations.
Keep semantics. Swap execution.
Model contract
Immutable inputs, outputs, parameters, numerical rules, state, and effects tied to the model source.
Physical implementation
Kernel chains, fusion, libraries, and placement preserve the contract while changing how work executes.
Program six layers
- Models and pipelines
- Model definitions, reusable operators, and typed task composition.
- Kernels and execution
- Kernel chains, library calls, fusion, and execution mappings.
- Placement and memory
- Device and worker placement; VRAM, UMA, RAM, and SSD residency.
- Scheduling and serving
- Concurrency, batching, speculation, fairness, and latency budgets.
- State and caches
- Private sessions, paged growth, checkpoints, and prefix reuse.
- Observation and improvement
- Inspection, traces, experiments, comparisons, and revision activation.
Inspect, measure, and improve live
- 1InspectSelect a model region.
- 2DeriveCreate a candidate revision.
- 3PrepareValidate bindings and resources.
- 4CompareMeasure contract and workload.
- 5ActivatePublish for new requests.
Activate an accepted revision for new requests. Admitted tasks and sessions keep their original revision and owners. Retain recipes, workloads, and results to repeat a comparison or let an agent explore improvements within your budgets.
zerogravity runs inference. aw runs the agent.
aw programs agent context, behavior, tools, and graphs of work. zerogravity programs models, pipelines, kernels, scheduling, and device resources.
Connect aw through the OpenAI-compatible endpoint. Program each layer live through its SDK or MCP, with independent lifecycles and revisions. Use them together or with other compatible runtimes.