Skip to content

passcontrol · an agentic trust network

Don't chain your agent.
Control it.

Give every AI agent hard spend caps, a one-click stop and server-side key custody — and give outside websites a passport and mandate they can verify.

Dare · /hijackYou are the prompt injection. The agent obeys you completely. Its owner allowed €50. Spend more.

Free betaCloud is free during the beta — no invitation: 300 governed calls/month, up to 10 agents, 3 active keys/agent, 10 stored credentials and 10 control-API keys. Self-hosting is available now.

control tower · illustrative trace
agent: repo-worker · daily cap$19.40 / $20.00 · held
call 16 · asks up to $1.55 · refused402 refused
  1. 01
    Admit & settle inside budgetcall 14 · Vault injects key · $14.80 settled
    admitted
  2. 02
    Reserve max cost up frontcall 15 · $19.40 / $20.00 spent · $0.60 left
    near cap
  3. 03
    Refuse before provider on capcall 16 needs $1.55 · 402 blocked_budget_period
    refused
402 blocked_budget_period · provider never reachedprovider key stays in Vault

Door 01 · For people who run agents

Connected in minutes. Governed on every call.

Stop pasting raw provider keys into coding tools and background workers. Put a gate in front of every model and service call with hard budgets, instant stops and a clear record of which agent did what.

Connected in minutes · 3 steps on PassControl Cloud
  1. 01 · Account & key

    Create a workspace

    Open your free Cloud beta workspace (300 governed calls a month, refused calls not counted) and store a provider key in Vault — or keep your Claude or ChatGPT subscription login where it already lives.

  2. 02 · CLI & Passport

    Install and sign in

    terminal · quickstart
    npm install -g passcontrol
    passcontrol login

    Approve only the device code from your own terminal: this saves a read-only workspace control key, registers a local Passport whose private key stays on your machine, and verifies a keyless test receipt.

  3. 03 · Point your agent

    Connect an agent

    Run passcontrol configure claude-code --write or passcontrol configure codex --write. For a client that takes a static base URL and API key, Connect an agent issues a scoped Direct Agent Key; clients needing per-request Passport signatures run the sidecar.

01

Spend caps, session limits & loop breaker

Set daily, monthly or cumulative caps in dollars or tokens — new dashboard agents start with a $20 per UTC day limit unless you explicitly turn it off. Cap what one session or one sub-agent may spend, set a soft pause line that pauses early or switches to a cheaper allowed model, and trip a loop breaker when a stuck agent repeats the same call.

Shipped gate402 blocked_budget_period · session_caps · loop_breaker
02

One-click stops at four levels

Stop one coding session on Cloud while other sessions carry on, suspend one agent, stop one external service across every agent without stopping their models, or pull the workspace kill switch. Stops are backed up in the database across Redis restarts, re-checked right before every send, and require your second factor to lift while stopping stays one click.

Shipped gateper session · per agent · per service · workspace kill
03

Control Tower, live watch & chat alerts

The Control Tower dashboard groups your fleet into Hold, Watch and Prove: settled budget charges beside in-flight reservations, session and sub-agent trees, and call history naming the worker and refusal reason. Watch relayed calls live in your terminal with passcontrol watch, and route alerts to Slack, Discord or Telegram.

Shipped gateControl Tower · passcontrol watch · Slack / Discord / Telegram
04

Ask me first approvals & tool rules

Hold writes to GitHub, Notion, Discord or Telegram until you approve that exact request once from Telegram buttons or the Approvals page; silence never runs, and a changed request asks again. Add local tool rules for Claude Code and Codex to refuse matching commands or ask you first. Command rules are session guard rails: shell expansion, wrappers, aliases and scripts can evade them.

Shipped gateTelegram buttons · Approvals page · local tool hooks
05

Injection guard on tool outputs

Checks tool outputs, search results and fetched pages with fixed rules — never your system prompt or the words you typed — and stores no text. In hold mode, a strong finding or output too large to check in full holds the agent's service writes and hooked local tools for 30 minutes until you approve an action or clear the hold.

Shipped gatetool results only · 30m hold mode · zero text stored
06

Shadow trials, failover & signed receipts

Test policy drafts and Cloud missions in shadow mode first to see what they would refuse without blocking traffic. Configure provider failover within supported request families with every stop and cap re-checked per attempt. Every governed call returns the provider's result with a receipt ID, and records a signed receipt.

Shipped gateshadow evaluation · checked failover · JWS receipt ID

Key custody & integrations

Keys never reach the agent. Works with what you already run.

Provider keys stay out of agent environments: PassControl uses your provider key server-side in Vault, ensures a blocked call never reaches the provider, and replaces echoed keys before the agent sees them.

illustrative · gateway & VaultVault injected
01 · agentno provider key
02 · gatesall gates clear
03 · Vault + providerkey injected · receipt ID
illustrative · boundary tracelogin isolated
Claude Code / Codexsign_door_requestshop.example
Anthropic / OpenAI loginsealed at provider · never touches PassControl

Passport identity

higher assurance

Your agent generates a private signing key on your machine (or stores it in macOS Keychain, Linux Secret Service or Windows DPAPI) that never travels. It signs a challenge to mint a short-lived work-visa, and with passcontrol sidecar attaches a fresh sender proof to every call.

Ed25519 keypair · 5m HS256 visa · per-request sender proof

Direct Agent Key

simpler on-ramp

For clients that only accept a static base URL and API key, issue a named, reveal-once bearer credential bound to one agent's scope and budget. It is stored only as a hash, revocable at any time, never accepted on the control plane, and labelled separately from Passports on every receipt.

pc_agent_… · hash-only at rest · gateway-only · v2 receipt

Claude & ChatGPT subscriptions

login untouched

Running Claude Code on Pro or Max, or Codex on a ChatGPT plan? Local hooks apply your stops, tool rules and injection guard, while sign_door_request signs outbound website acts. Your login stays with Anthropic or OpenAI — PassControl never holds, relays or reads a session token.

local hooks + sidecar · sign_door_request · zero login custody

Coding agents & clients

passcontrol configure · passcontrol env

One command configures Claude Code or Codex — whether they call through an API key or run on your Claude Pro/Max or ChatGPT subscription. Static-key and MCP apps connect without changing code.

  • Claude Code (API key, Pro/Max login, /passcontrol MIT plugin)
  • Codex (API key profile or ChatGPT plan hooks)
  • Cursor & Claude Desktop (MCP server)
  • Aider, OpenHands, LiteLLM & Hermes
  • Cline, Continue, Open WebUI, LibreChat, Chatbox, Jan, Msty & Cherry Studio

Model providers

/api/v1/<provider> · local Ollama

Point official provider SDKs at PassControl. Hosted tools with published rates are reserved against budgets; unpriced models or options are refused under a dollar cap rather than guessed.

  • Anthropic (Messages, prompt cache, web search/fetch & code execution)
  • OpenAI (Chat, Responses, Embeddings & priced hosted tools)
  • Google Gemini & OpenRouter (catalog with price ceiling)
  • Mistral, xAI (Grok Responses), Azure OpenAI, Groq, Together & DeepSeek
  • Local Ollama, LM Studio & vLLM on self-host (one click, token budgets)

Governed external services

/api/v1/svc/<service> · deny by default

Service tokens stay in PassControl too. Grant each agent exact method and path rules, an hourly call limit, a per-service stop switch, and optional Ask me first holds on writes.

  • GitHub REST (scoped reads & exact-path writes; dangerous routes refused)
  • Telegram Bot API (bot token never placed in agent URLs)
  • Discord Bot API v10 (single-channel rules, webhooks & bans refused)
  • Notion API (search, read, create, edit or comment)
  • Brave Search (read-only web, context & local search with hourly cap)

Door 02 · For services agents visit (2.0)

An agent anyone can check before your service acts.

When an AI agent buys, books or calls an API on someone's behalf, the service on the other end should not have to guess. Any website can verify who the agent is, who stands behind it, and what its owner allowed right now — with no PassControl account and no API key.

01

Who is this agent?

A passport agent signs each outbound HTTP request with a private key that never leaves its machine and a single-use request token. (Agents connected with a Direct Agent Key carry a gateway bearer key instead, and are labelled that way.)

The receiving service checks the signature against the agent's published key directory and confirms the passport is active and not stopped.

illustrative · key verifyverified
01 · signed headerSignature-Input: nonce="n9f2c8"
02 · key lookupGET /agents/{id}/keys → ed25519:8f3a…
03 · passport checkEd25519 signature valid · passport active
Wire proofEd25519 · Web Bot Auth · nonce · /agents/{id}/keys
02

Who stands behind it?

The public passport names its owner and separates what PassControl checked — such as control of a domain or GitHub account — from what the owner wrote about themselves.

Every response repeats one boundary: a valid passport is not permission. Knowing who sent a request does not decide what your service allows.

illustrative · passport lookupactive
owner.subjectvertias.euverified
owner.tier"domain"what was checked
notPermissionpassport !== permissionservice decides
Explicit boundaryidentity !== permission · service decides
03

What may it do, right now?

On Cloud, the owner approves a mandate with their passkey from fixed building blocks — such as buying from one shop up to €50 until Friday — with a public page anyone can read and zero free-form agent text.

Committed acts are reserved atomically once per signed request, so a retry cannot spend the allowance twice.

illustrative · clause compareinside · 1/1
requestbuy · 4999 EUR
mandateshop.example · cap: 5000 EUR
Mandate credentialAP2 SD-JWT · passkey-approved clauses

One live check, five clear decisions. Your service asks before acting and keeps its own access rules.

illustrative streamcheck → inside · within owner clause & EUR cap

door check · illustrative tracePOST /buy · 4999 EUR
01 · calleragent · Ed25519
02 · receiving doorshop.example
03 · live checkmandate + stop
  1. 01
    Verify request signatureWeb Bot Auth · Ed25519 key + one-time nonce
    verified
  2. 02
    Check passport & stop stateActive passport · owner verified · no stop armed
    active
  3. 03
    Evaluate owner mandateaud matches door · buy 4999 ≤ 5000 EUR cap
    inside
  4. 04
    Commit once & sign receiptAtomic reserve 1/1 · door-act receipt returned
    signed
decision:inside · clause 0 · €0.01 left
Hijack the agent

One call at your door. Public verifier source.

Any website or API can verify incoming agent requests for free with passcontrol/verify, and the verifier's source is public. A service can inspect the signed mandate snapshot locally first — which always lists what a snapshot cannot confirm (running totals, revocation and live stops) — before calling the live check with commit: true.

door-handler.ts · passcontrol/verify
import {
  verifyAgentRequest, checkMandate, MemorySeenNonce,
} from "passcontrol/verify";

const issuer = "https://passcontrol.vertias.eu";
// Create once per process. Use shared storage across workers.
const seenNonce = new MemorySeenNonce();

const who = await verifyAgentRequest(request, {
  trustedIssuers: [issuer],
  seenNonce,
});
if (!who.ok) return refuse(who.reason);

const answer = await checkMandate(request, {
  issuer,
  act: "buy",
  amount: { value: 4999, currency: "EUR" },
  commit: true,
});
if (answer.decision !== "inside") return refuse(answer.decision);
illustrative response · await checkMandate(request, { act: "buy", commit: true })inside
answer → { decision: "inside", clause: 0, remaining: { amount: 1, currency: "EUR" } }

Proof, not promises

Small decision rules, proved in Lean.

A security product earns trust through the parts an outsider can verify. We kept the code that decides mandates and seals small, proved its core properties, and tied the running implementation to those models in tests.

Lean theorem prover · illustrative check loop4 / 4 proved
  • 01
    mandate · inside / outsideDecision matches fixed clause, audience, and exact currency.
    proved ✓
  • 02
    mandate · commit onceIdempotent reserve: retries never count an act twice.
    proved ✓
  • 03
    mandate · ceiling soundAdmitted acts never push cumulative spend past the cap.
    proved ✓
  • 04
    seal · offline chainUnrooted starts and unsigned widenings are always refused.
    proved ✓

Machine-checked decision and counting

The rule that decides inside or outside, the atomic counting that keeps acts under their limits (no act counted twice, never over the cap, replays refused), and the after-the-fact seal all carry proofs checked by the Lean theorem prover. Real code is tested against each proof's model so the two cannot drift apart silently.

Checkable offline after the job

When a mission ends, anyone can check its seal offline: that the owner approved the starting mission under their trusted key, every later change only narrowed it unless the owner signed a widening, and counted acts stayed inside final limits. Modelling that seal in Lean caught two cases it used to let through; it refuses both now.

Hard security review across every boundary

Every trust boundary in the repository — identity proofs, layered revocation, key redaction and tenant isolation — went through dedicated internal security reviews before release, with a regression test shipped beside every fix.

Owner passkey signature (WebAuthn)covers public + private halves · illustrative
Public compartment · AP2 mandate credentialcnf: agent Ed25519 key
where (token aud)https://shop.example
actbuy
limit (exact currency)4999 ≤ 5000 EUR
untilFriday 23:59 UTC

Generated from fixed blocks: “May buy up to €50.00 in total from shop.example until Friday 23:59 UTC.” Agent-written free text never enters a mandate.

Private compartment · sealed commitmentsha-256 hash only

Internal job goal, model and API dollar caps, and other services stay hidden from the receiving website. Widening any public clause requires a fresh owner passkey signature.

One codebase · explicit split

PassControl Cloud or self-hosted on your machine.

The core engine is source-available under BSL 1.1 so you can audit how keys, visas and receipts are handled — or run the stack locally yourself. Cloud adds managed hosting and the public cross-party features.

Hosted · Managed Vault

PassControl Cloud

free beta · open

Connect agents from anywhere with zero Docker or database operations, plus fail-closed stop checks and verifiable ownership across the web.

  • Everything in the core gateway — budgets, session and sub-agent caps, kill switch, Ask me first, tool rules, injection guard and receipts.
  • Passkey-approved mandates & live door checks — let shops and APIs verify what your agent may spend or do right now.
  • Behest bounded autonomy beta — passkey-signed missions, tripwire decoy keys, memory custody, and recording what an agent leaves standing.
  • Public owner profiles & passport cards — /@handle pages with verified domain or GitHub control.
  • Daily signed spend statements & seals — Merkle-linked daily statements, coding session seals and offline mission seals, plus per-session dashboard stops.
Localhost · BSL 1.1

Self-host Core

no call cap

Built for one developer on their own computer using Node 22+, Docker and the Supabase CLI via passcontrol setup, updated in one command with passcontrol update.

  • Full working gateway & Control Tower — local Supabase Vault, Auth, Redis, Direct Agent Keys, Passport visas and sender proofs.
  • Complete spend & safety controls — atomic budgets, session and sub-agent caps, loop breaker, tool rules, injection guard, Ask me first and kill switches.
  • Outbound signing & public verifier — agent key directories, HTTP request signing, passport lookup, revocation list and passcontrol/verify.
  • One-click local model servers — govern local Ollama, LM Studio and vLLM models under token budgets with zero phantom spend.
  • Statement & receipt verification — verify receipts, statements and session journals locally, with no monthly call ceiling.

Explicit boundaries

What PassControl does not do.

Clear security tools state their edges up front so you never rely on a guarantee that is not there.

Not person identity verification

An owner profile states strictly what PassControl checked — such as domain or GitHub control — and separates it from owner-written text. A mandate enforces technical clauses, not legal agency.

Does not move money or guarantee bills

Budgets reserve an estimate before a call and settle on reported usage, not a guaranteed provider invoice ceiling. Mandates count allowance in one currency while checkout and refunds stay with the website's payment provider.

Governs routed paths, not your whole OS

PassControl governs requests routed through its gateway or local tool hooks. It cannot stop a process on your machine from calling another credential or network path directly, and a stop cannot recall a request already sent upstream.

Not independently audited yet

The Lean proofs, internal red-team exercises and repository-wide security reviews are our own engineering work, not a third-party audit. Start with non-critical keys.

Straight answers

Before you put it in the path.

More detail lives in the developer docs and the learning guides.

What is included in a free PassControl Cloud account?

Sign-up is open with no invitation needed. Each new workspace in the free Cloud beta gets 300 governed calls a month (only calls forwarded to a provider count; refused calls and model listings do not), and can hold up to 10 agents, 3 active keys per agent, 10 stored credentials and 10 control-API keys, creating up to 50 of any one kind a day. Revoking, suspending and rotating are never limited.

Where do my provider keys and subscription logins live?

For API-key agents on PassControl Cloud, provider keys stay server-side in Vault and are injected only after a call clears every gate; on a self-hosted install they remain on your machine. For subscription agents such as Claude Code and Codex, your login stays with Anthropic or OpenAI — PassControl never holds, relays or reads it.

What happens if PassControl cannot read a stop control?

On PassControl Cloud, if a kill switch, suspension or agent policy cannot be read, the call is refused. When a website checks an agent's mandate at a door, PassControl also refuses if stop state cannot be read. A self-hosted gateway chooses its own posture.

Does a website need a PassControl account to check an agent?

No. Public passport lookups, per-agent key directories and live mandate checks require no PassControl account and no API key. The checks are free, and the verifier's source is public in passcontrol/verify.

Can I inspect the verifier or run PassControl myself?

Yes. The core gateway, CLI and verifier are source-available under BSL 1.1, and the Claude Code plugin is MIT. Self-hosting runs on your own machine with Docker via passcontrol setup, while mandates, Behest, public owner profiles and signed spend statements live on PassControl Cloud.

Maker & provenance

Who is behind PassControl.

PassControl is a Vertias project built by Kristiyan Ivanov in Sofia, Bulgaria. The core gateway, CLI and verifier are source-available under BSL 1.1 (with the Claude Code plugin under MIT), and every shipped change, edge case and security fix is published in plain words at /updates.

Project & location
Vertias · built in Sofia, Bulgaria

Govern your agents · verify incoming ones

Put your own agents under hard limits — or try to break ours.

Start free on PassControl Cloud with 300 governed calls a month, self-host the source-available core, or test a €50 mandate against prompt injection on an agentic trust network anyone can verify.