TASK AUTHORITY

● Demo

One task, from start to kill switch.

This page follows a support-bot task as an analyst's agents call a CRM through the Gateway. The commands are the ones in the onboarding guide, run against Postgres and a standalone Gateway. The screenshots are the built-in dashboard.

The hierarchy

Every certificate says which task and which agent it belongs to.

Each box is a certificate. A CA can sign the certificates below it, and its path length stops a chain from growing deeper than the app allows. Every name is a SPIFFE ID, such as spiffe://support-bot.acme.agents/task/t-7f3a/planner/researcher.

Try it: revoke the researcher. The Gateway refuses any chain that contains a revoked CA, so its subagents stop with it while the rest of the task carries on.

ROOTEnterprise root (ADCS) APP CAsupport-bot TASK CA · for alicet-7f3a AGENT CAplanner LEAF · 15 MINreviewer AGENT CAresearcher LEAFwriter LEAFweb-search LEAFpdf-reader
CA: signs childrenleaf: one agentrevoked

Step by step

What happens, and what you see.

Register an app

An admin registers the AI application once, with the scopes it may ever use. The app gets its own trust domain and an App CA signed by your root. With ADCS, the Task Authority writes a CSR and an administrator signs it with certreq.

$ curl -XPOST $API/v1/apps -d '{"app":"support-bot","org":"acme",
    "limits":{"scopes":["crm:read","crm:admin"]}}'
{"app":"support-bot","spiffe_id":"spiffe://support-bot.acme.agents"}
Dashboard: the Apps page listing each app's trust domain, App CA and limits
Apps: each app's trust domain, limits and scopes.

Try it

Run the demo on a laptop in five minutes.

Simulated agents send real traffic through the Gateway. About one task in three has a rogue agent that gets caught, suspended and revoked while you watch.

# Go 1.27 and Node 22 or newer
make demo
# open http://127.0.0.1:8080

# with sign-in (Zitadel), Postgres and Temporal
docker compose up --build -d --wait