Cost Guard
Real-time solvency gating. Halts execution when projected spend exceeds budget. Per-tier rate cards with configurable thresholds.
ag-os check 1.0 --tier gpu_a100
Cost limits, policy enforcement, and audit trails. Built into your agent runtime — not a SaaS, not a sidecar, no lock-in.
Agentic pipelines introduce unbounded state transitions into production. The operational failure modes group into three observables.
Execution loops retry without solvency checks. A single agent can exhaust thousands in GPU compute before any human notices.
Transitions occur in transient memory contexts. Post-incident forensics lack a deterministic replay mechanism.
Agents discard execution context between sessions. Identical failure patterns repeat across independent runs.
Independent abstractions intercept agent state transitions without modifying the underlying logic. Each module is swappable; every interface is documented.
Real-time solvency gating. Halts execution when projected spend exceeds budget. Per-tier rate cards with configurable thresholds.
ag-os check 1.0 --tier gpu_a100
Nine governance rules enforced at every state transition. Policy-as-code defined in Markdown. Extensible by design.
.agent/rules/08-economic-safety.md
Append-only state machine with deterministic replay. SQLite WAL-backed. Every operation traced end-to-end.
ag-os status --tail 100
Self-improvement loop. Scans friction logs, identifies failure patterns, synthesizes governance patches automatically.
ag-os dream --apply
Six swappable surfaces — secrets, issues, cost, state, telemetry, policy. Works offline. Scales to cloud.
providers: { state: redis }
Exposes governance as Model Context Protocol tools. Any MCP-compatible agent gets governance built-in.
ag-os serve --transport stdio
A 7-agent content pipeline operating across 5 regional tenants. Every metric reflects the kernel's enforcement, not advertising.
| Metric | Baseline | Governed |
|---|---|---|
| Budget overrun | Uncapped | $0.00 |
| Avg retry cycles | 12.0 | 2.1 |
| Audit coverage | 0% | 100% |
| Self-healed patches | — | 6 generated |
| Policy violations | untracked | 14 caught |
A real-world deployment running under Antigravity OS — what's being governed, how the kernel applies, and what was measured.
Multi-tenant content pipeline with seven specialized agents, each with sub-agent decomposition.
Four kernel modules govern this pipeline end-to-end — cost, policy, trace, and self-improvement.
Operational metrics after integrating the kernel into the pipeline's execution loop.
One command. Six modules. Zero cloud dependencies. Read the source, fork the repo, ship governed agents today.