Before an agent changes a cluster, sends a payout, exports a record or opens a pull request, the same questions apply. Is this exact action allowed? Does it have the required approval? Do the run’s budget and any shared limits allow it? The self-hosted Rust gateway, contextosd, checks configured controls before dispatch. The signed audit chain can be verified offline with trusted keys. Tower uses that evidence to show fleet inventory, outstanding reviews and incidents. This article covers those controls as of 0.1.0-alpha.24.
Four workflows, one gateway
- Cloud infrastructure and SRE. A change window can stop an agent from mutating a cluster during a freeze. A changed definition for a pinned MCP tool can trigger quarantine. An incident responder can open time-limited break-glass access for named capabilities, with independent review afterward. Incident Command Center
- Finance, payments and ERP. Two agents proposing payouts can share a ceiling. The gateway reserves capacity before dispatch, so concurrent requests compete for the same remaining amount. When a provider response is lost, the payout stays on hold pending reconciliation. Regulated Back Office
- Regulated data and privacy. A tool that declares health or personal data can put a run under an egress policy that restricts which tools, vendors and regions may receive it. Operators can place legal holds on indexed subject runs and use an audit pack to check the evidence offline. Data Stewardship
- Autonomous coding fleets. A deployment can narrow delegated authority to the permissions needed for a specific repository and share a metered usage ceiling across parallel agents. Operators can require evaluation results for an exact release and simulate policy changes against recorded runs before rollout. Software Delivery Squad
The homepage illustrates these four workloads. The lab replays five recorded refund failures against a synthetic payment provider. The quickstart walks through running the shared-ceiling demo and verifying the signed audit offline. Homepage scenarios · Agent Failure Lab · Runtime quickstart
Who the agents are
Tower now keeps an inventory of every agent, tool, MCP server or API, model and owning team the runtimes have seen, with first and last seen, environment, risk tier and whether anyone declared it. It is computed from the verified audit chain on every read, so it cannot drift from what actually ran. A tool an agent reached for that no pack gives it, or a model its owner never declared, is a shadow finding. ctx inventory produces the same list offline from an audit export, and --fail-on-shadow fails a CI job when something undeclared ran.
An agent’s lifecycle (proposed, approved, active, suspended, retired) now changes only when a second person approves, and suspending or retiring it revokes it on every runtime. A resume restores only what the suspension placed, so an incident revocation stays in force.
With mutual TLS, a client certificate’s SPIFFE ID narrows which agent a caller may run as, so a token copied to another machine is not enough.
What they may do
Capabilities carry a risk tier: low, limited, high or prohibited. High-tier calls need an approval of the exact action, prohibited ones are refused whatever else is configured, and a tool nobody classified counts as high. Change windows hold or refuse calls during a freeze or out of hours, decided on the server’s clock. ctx simulate replays recorded runs under a candidate pack and lists every decision that would change before you roll it out. Seven ready-made control packs cover spend and rate limits, data egress, personal data, destructive actions, environment separation, change freezes and human-in-the-loop approvals, and CI starts the quickstart with each of them.
What data they touched
Tool outputs can declare data categories (personal, health, card data and secrets). A run that has read one can only send data out through the tools, vendors and regions a configured boundary clears. A legal hold protects runs from erasure or scheduled retention until it is released. Requests to hold or erase a person’s runs look up a digest of their identifier in the subject index. Alpha.24 pages that index in groups of 5,000 entries, supporting up to 1,000,000 runs per subject. It also supports an optional deployment key for subject digests. Configure subject pointers before admitting runs you may need to find later. Erasure leaves the signed records intact so the audit chain can still be verified.
Who approved, and whether approval meant anything
Every decision of a delegated run records the delegation path it acted through. Tower shows denial and override rates alongside time to approve. Quick approvals with few denials can flag an approval process for review. A reference approval relay delivers requests to Slack, Teams and e-mail, accepts only signed callbacks, escalates through tiers and lets an approver on leave delegate.
Access reviews list the grants each agent used, left unused or never used, plus stale delegations and expiring waivers. A reviewer attests to the exact findings they read.
Stopping and recovering
The kill switch works at four scopes: an agent, a tool, a tenant, or every tenant at once through a global revocation that only named principals hold. One responder with a separate incident credential can open break-glass for named capabilities for up to an hour, lifting a freeze or an open circuit breaker. Every call it lets through is audited, and Tower keeps the finding open for another person to review. Approvals, budgets, shared limits, revocations and tenant isolation still apply.
Operations, cost, supply chain and evidence
Operations. Tower’s Posture page is a governance dashboard: held effects, refusals by reason, approvals waiting, shared ceilings near their limit, policy drift, active waivers, unreviewed break-glass and evidence-chain health. Incident cases open from a refusal, hold, finding or anomaly and keep a timeline, an owner and linked audit entries, and export a report whose digest is recorded. Behaviour flags raise a review when an agent with a week of history uses a new tool, a new model or an unusual hour. Evaluation-gated releases require passing results for that exact release. In alpha.24, a rule can also require specific suite versions and a minimum case count.
Cost. Model allow-lists apply globally and per agent, at admission and when a metering gateway claims a call. Usage ceilings reserve tokens or spend per agent or tenant per window before a call. Alpha.24 charges any overage measured by the metering gateway to every covering ceiling. A call can settle above the limit, and the ceiling then refuses new reservations for the rest of its window. Chargeback groups spend by business unit, owner and tenant and exports CSV, keeping measured, self-reported and uncovered usage apart.
Supply chain. A pinned MCP tool whose definition changes is quarantined by default. The shared quarantine survives restarts and stays in effect until a reviewed re-pin or an audited release. Alpha.24 lets operators restrict who can release quarantined tools across tenants. Context Packs can be signed, and a deployment that requires signatures accepts packs signed with trusted keys. Every release asset carries a keyless Sigstore bundle.
Evidence. Every control in the compliance map states its coverage: covered, partial (naming what is missing) or organizational. ctx audit-pack produces one signed folder for an auditor, with a verify.py that needs nothing but Python’s standard library and a key the auditor obtains separately. Audit sinks speak Splunk HEC, Datadog and Elasticsearch bulk.
How it is tested
Each capability has a threat-model entry (T45 to T72) naming the tests that hold it, most of them end to end against a real contextosd over HTTP. CI now also gates every release on two checks. The first runs the previous release’s binaries on PostgreSQL, then this release on the same database, and checks the chain verifies online and offline. The second runs the README quickstart, exactly as written, on fresh Linux and macOS machines.
What it still does not do
- Content. Data categories are metadata the tool manifests declare. ContextOS does not read the data, so a tool that returns personal data without declaring it is not caught. The reference screener matches patterns; it is not a classifier.
- References are references. The approval relay keeps its state in memory; measure it before production.
- Identity behind proxies. SPIFFE certificates must reach
contextosd; behind a TLS-terminating proxy, use JWT-SVIDs. - Time zones. Change windows use fixed UTC offsets; daylight saving is not modelled.
- Metered calls only. Model allow-lists stop a call only when a metering gateway claims it through the runtime, and a usage-ceiling hold that is never settled counts until its window ends.
- Usage ceilings use fixed windows. Self-reported usage counts at the reservation. A burst across a window boundary can use up to twice the limit within one window’s length.
- Holds and erasure by person need the subject index. Subject queries cover runs indexed after
[privacy] subject_pointerswas configured. Operators can also hold a run directly or hold a whole tenant. - Planned, no date: an agentgateway ext_authz backend, OPA/Cerbos policy import, a timeout scenario in the Failure Lab and GenAI token-usage metrics. gRPC remains deferred.
- Not certified. Compliance mappings show which runtime evidence supports a control; they are not a certification, and the organizational parts of each control are yours.
It is still an alpha: APIs and storage formats change between releases, and every change is listed in the release notes.
What to read next
- Release notes for 0.1.0-alpha.24, including the ceiling and subject-index changes
- Release notes for 0.1.0-alpha.23, including the upgrade steps
- Release notes for 0.1.0-alpha.22, including the upgrade steps
- The project status explains the maturity and scope of the spec, runtime and Tower.
- The use case playbooks help you choose controls and evidence for your own workflow.