Docs Deploy
Deployment profiles
What each profile (Light, Full) runs, and what a small deployment gives up.
What each deployment profile runs, and what a small deployment gives up. README.md is how to deploy, and ARCHITECTURE.md, "Deployment profiles", is the summary.
Status: Light and Full run on the local cluster and in Compose, and make light-smoke tests Light. The tools role, t10-automations and governance are proposed.
Profiles#
A small deployment can run clients and a harness with neither ai-gateway nor t10-agent-control. This works because of how the pieces already connect: ai-gateway-agent passes /agent through unchanged, so a client can't tell whether it's there, and a harness's model endpoint is one URL. Each of these services can be left out independently.
t10-automations is optional, and so is governance in Full: a deployment can run automations with no governance, and governance with no automations. Approvals for automation runs need t10-automations, because it's the one that wakes them.
| Light | Standard | Full | |
|---|---|---|---|
| Runs | Harness, auth-server, clients. LiveKit and a voice worker if calls are needed |
Light, plus ai-gateway's agent, llm and tools roles |
Standard, plus t10-agent-control, and optionally t10-automations |
| Routes from | AGENT_URLS |
A routes file | Snapshot from t10-agent-control |
| Model keys from | The harness's one key | The gateway's configuration, and tenants' keys in MODEL_KEYS_FILE |
t10-agent-control's feed, which tenant admins and the console manage |
| Replicas | One per agent | Many | Many |
| Suits | Development, a demo, one team, a single customer install | Production with fixed routing | Many tenants, runtime route changes, harness rollouts |
| Triggers | t10-automations can call a harness directly |
The same, through the gateway | The same, with placement rules |
| Policy | None | From the routes file, enforced by the gateways | Authored by tenant admins |
| Evidence and approvals | None | Gateway audit only | For tenants with a policy |
t10-quickstart is Light, published: auth-server, agent-pi, t10-collab and workbench, from their ghcr.io images pinned by commit, with ports on loopback; its compose.all.yml runs every component the same way. Its compose.dev.yml builds the same stack from the checkouts beside it, and make light-smoke runs its check.sh that way.
auth-server stays in every profile, because it's the only issuer of t10 identity and workbench signs in through it. AUTH_KIND=static works for testing a harness alone, but no client signs in that way.
How each client connects#
| Client | Light configuration | State today |
|---|---|---|
workbench |
AGENT_URLS=assistant=http://agent-pi:9800 |
Works. It's the Compose default for one agent, and the backend holds the token |
| Mobile app, native | Point its /agent base URL at the harness, over TLS |
Should work, because agent-pi ignores Agent-Method. Not tested. One URL means one agent |
| Mobile app, web build | The same, plus the app's origin in the harness's allowedOrigins |
Config needed, and preflight is untested |
t10-livekit-agent |
AGENT_PI_URL, plus AGENT_URLS for a second agent |
Works |
t10-mac-client |
Nothing changes | Works |
agent-pi already mints a turn ID when a client sends none, so traces hold together without the gateway. They just lose one hop.
What each service adds#
| Leave out | You lose | You keep |
|---|---|---|
ai-gateway-agent |
More than one replica of an agent, merged session.list, one URL for several agents on mobile, an up-front 429, a token check before traffic reaches a harness |
Conversations, streaming, resume, ownership, per-user limits. Every harness still verifies each token |
ai-gateway-llm |
Model aliases, provider fallback, tenant quota, model-call audit, usage records, response cache | Model calls, grants, tools |
t10-agent-control |
Route changes with no deploy, the console, tenant settings, weighted rollouts, change history | All routing the file or AGENT_URLS describes |
What changes in a light deployment#
- Set
LLM_IDENTITY_HEADERS=none.identityHeadersis hard-coded to"gateway"in theassistantconfig. PointingLLM_BASE_URLat a provider with that setting would send user, tenant and session IDs to that third party.agent-piaccepts"none"fromLLM_IDENTITY_HEADERS, and conformance checks it. - Use real model names.
fastandsmartare onlyagent-pi's fallback names, and no provider knows them, soFAST_MODEL_IDandSMART_MODEL_IDmust name provider models, andLLM_APImust suit the provider. - The harness holds the provider key. This is the main reason
ai-gateway-llmexists as a separate deployment. In light, the key sits in the harness's pod, or in the host for a hosted engine, and never in an engine. - Cost has no ceiling. Tenant quota lives in
ai-gateway-llm, so the only limits aremaxSessionsPerUserandmaxConcurrentRunsPerUser. Set a spending limit at the provider. - Use a provider the harness can speak to directly. Fallback is gone, and a harness that relied on the gateway to translate an API has to reach a compatible provider.
Light isn't meant for several untrusted tenants on the public internet. The code would run, but there's no quota and no model audit, and keys sit next to the agent. Use Standard for that.
Keeping light working#
Five rules stop it decaying:
- Gateways may add features, and never required behaviour. Anything a client calls must also work against a bare harness, even in a simpler form, as
agents.listdoes. - Conformance runs against a bare harness. It already talks straight to one, with a fake model at a plain URL, so each
make checkproves the harness side of light mode. t10-quickstartis a tested profile. Itscheck.shsends one turn and one granted tool call to a bare harness, with a scripted model, and checks that no identity header reached the model.make light-smokeruns it against the checkouts here, so a change that breaks Light fails in the workspace.- No t10 token leaves the deployment. With
LLM_IDENTITY_HEADERS=none, a harness sends a provider its key and nothing else: no identity headers, and no delegated token. The smoke test checks the headers. - A new service never becomes a requirement of Light.
auth-setupcreates a new service's account only when its secret is set, and a harness works when no gateway, control plane or automations service is configured.
Moving up#
Going from Light to Standard needs no data migration. Session IDs already hold their pool and replica, so existing conversations route as they are. Add the gateway, list the same replicas, and repoint clients. Set AGENT_INSTANCE_ID from the start, so a harness's IDs keep the same replica name once more are added.
Light and the agent plane redesign#
Checked on Nov 3, 2026: t10-quickstart's check.sh passes from the current checkouts and from its pinned commits. The redesign keeps Light working, because each new piece is either a harness change that conformance covers, or a service Light leaves out.
| Redesign piece | In Light |
|---|---|
trg and automation claims, standing grants |
Work. Every verifier decodes known fields and ignores the rest, and a token without trg means user |
Idempotent session.create, origin, app.trigger |
Work. They're harness behaviour, tested by conformance against a bare harness |
| Tenant agent accounts | Work. They're memberships, which modules already check |
t10-automations |
Optional. It calls the harness through AGENT_URLS, with no placement |
ai-gateway-tools |
Absent. MCP entries point at modules directly, and only the grant applies |
| Gateway-only tokens and token exchange | Unused. No runtime sets tool_audience, so tokens carry module audiences as today, and no client calls the exchange grant |
| Delegated tokens on model calls | Absent. LLM_IDENTITY_HEADERS=none sends the provider only its key |
| Policy, evidence, approvals | Absent. They need t10-agent-control |
auth-setup now creates each service account only when its secret is set, so a new runtime adds no secret to Light. The quickstart still passes two placeholder secrets until its auth-server pin includes that change.
Generated from t10’s own docs (bbc3cde). Spotted a problem? Tell us.