The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the A2a Trustgate listing page.
You put an AI agent in production. Now prove it's safe — to your auditor, your regulator, your board.
A2A TrustGate screens every action an agent takes before it runs, and writes the decision to an immutable, SIEM-ready audit trail. Not a policy document that says agents should behave — a control that stops the ones that don't, and the evidence to prove it.
Who it's for: compliance and risk teams putting AI into regulated production — financial services, healthcare, network operations, creative/IP rights, enterprise AI adoption, and research institutions. If someone can ask you "prove your AI is safe," this is the answer.
Agent proposes an action, the gate screens it, the decision lands in the audit trail — watch the full demo.
Most "AI governance" is a PDF that describes intentions. A2A produces evidence. Every screened action becomes a genuine OCSF Detection Finding — the same schema your SOC already ingests — with a tamper-evident content hash and the full decision reasoning:
| Framework | What you can hand over |
|---|---|
| EU AI Act | Article-by-article evidence of screening, logging and human oversight (Art. 12, 14, 26, 53) |
| SOC 2 | Control-mapped decision log (CC-series) |
| NIST AI RMF | GOVERN / MAP / MEASURE / MANAGE evidence |
| HIPAA | Security & Privacy Rule access decisions |
| Academic integrity / QAA | Research-ethics and responsible-AI trail |
EU AI Act deployer? Read the EU AI Act compliance reference — an article-by-article crosswalk (Art. 12 record-keeping, Art. 14 human oversight, Art. 26 deployer obligations) with citations to the official EUR-Lex text. The Regulation becomes generally applicable 2 August 2026.
Compliance you can prove starts with a control that actually stops things. Every action passes four gates before it's allowed to execute:
The firewall only ever tightens a decision — allow → review → block. A safe action stays fast; a risky one is stopped and recorded with the reason.
The whole control is a CLI (and an MCP server). Wrapping a risky step is one line, and exit codes make it scriptable:
| Code | Meaning |
|---|---|
| 0 | Allowed — safe to execute |
| 1 | Blocked — do not execute |
| 2 | Needs review — Gate 2 self-evaluation required |
Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client.
The npm package is a2a-trustgate; the command is a2a.
Your key is issued immediately but returns 402 until you start your 7-day free trial ($0 today) —
a2a signupprints the activation link. Cancel before day 7 and you're never charged.
The eval call has a few knobs, and it's scriptable — wrap any risky step:
A2A screens the same way for everyone and produces the same audit trail — but the surface each team touches, and the framework they're measured against, is different. Pick yours.
Your agents run commands against routers, switches, and sites. A2A registers each device, enforces a per-device policy, and gives you a killswitch that stops every agent at once.
| Agent screens a command | Human sees the device-lock |
|---|---|
![]() | ![]() |
Watch the full clip: network-ops →
Multi-agent systems where one agent's output is another's input. A2A gives them scoped workspaces and HMAC-signed channels, so a rogue or injected message can't cross a boundary you didn't grant.
| Agent-to-agent evaluate | Human sees the block + audit |
|---|---|
![]() | ![]() |
Watch the full clip: ai-agents →
Every decision — allowed or blocked, with reasoning — lands in an append-only log you can export for an auditor. OCSF-native Detection Findings, EU AI Act aligned.
| Command screened | Human exports the audit |
|---|---|
![]() | ![]() |
Watch the full clip: regulated →
Register your catalogue, mint scoped licences, and every agent that reaches for an asset is checked against a rights log. Access is granted by licence, not by scraping.
| Agent requests an asset | Human sees the rights-log |
|---|---|
![]() | ![]() |
Watch the full clip: creative →
Represent many rights holders? A distributor or aggregator holds one provider key and onboards every artist's repertoire in bulk — each work stamped with an ownerRef (the artist's stable id in your system) so reads and writes are hard-scoped per rights holder. The same integration works for one artist or a million.
Export your catalogue as CSV (CD Baby, DistroKid and most distributors already do), then:
A CD Baby-style CSV maps automatically — headers like Artist ID, Artist, Track Title, ISRC, TDM Opt-Out are recognised (override any column with --owner-ref-col / --isrc-col / --title-col):
portal-link mints a short-lived signed handoff URL, so you can embed a white-label rights portal straight into your own product — your brand, no A2A login, per-artist isolated. This is the drop-in pattern behind BandSaaS; the same one an aggregator embeds for its whole roster. licensee-link mints the mirror portal for an AI company (a licenseeRef) to browse the licensable catalogue and request scoped licences — the artist approves in their own portal, which issues a revocable licence. Both sides stay inside your product.
licensee-link drops a human into the portal. A licensee key is the credential the licensee's own agents authenticate with, so its usage is attributed to the licensee rather than borrowing the rights holder's key:
The key is hashed at rest and shown once. It carries no subscription of its own — your partner account being active is the entitlement, so it dies with it — and it may only POST /v1/evaluate with a licence key. Nothing else. That restriction is what makes it safe to hand to an outside company.
Because the licensee authenticates as itself, the access log records the consuming party alongside the rights holder:
Every evaluation — allowed and denied — meters back to you, the sponsoring partner, at your per-partner rate. A provable block is the product, so it costs the same evaluation.
The gates prove every action was screened. A work order proves the layer above: who authorised this work, under what authority, toward what outcome — and binds it to a signed, tamper-evident completion record. This is the enterprise governance layer, sitting directly on top of the 4-gate firewall.
Once authorised, the work order's scope grant becomes the ceiling of what the job may do — an action outside it is blocked at evaluation time, even if the agent's own role would allow it. The completion record is signed with a key only A2A can reproduce, so an auditor (or the accountable human) can re-verify the whole chain — directive → actions → gate verdicts → outcome — and detect any later tampering.
ChatGPT, Claude, Copilot are already in your building. Register each tool, screen what it's asked to do, and get one audit trail across all of them.
| Tool action screened | Human sees approval + audit |
|---|---|
![]() | ![]() |
Watch the full clip: enterprise-ai →
Approvals, scope enforcement, and an exportable trail that maps to research-ethics and UKRI responsible-AI requirements. One URL for a researcher to connect, governance for the board.
| Research action screened | Human sees governance + audit |
|---|---|
![]() | ![]() |
Watch the full clip: university →
Generate a ready-made wrapper for the SDK you already use — the screen call is one line:
Prefer tools over a CLI? a2a ships an MCP server. Point Claude Code (or any MCP client) at it and your agent gets 49 native tools: evaluate, pipelines, workspaces, channels, devices, sites, catalogues, audit, approvals, admin. The whole platform.
For clients that use a JSON config (Cline, Cursor, Windsurf), pass your API key via the A2A_API_KEY environment variable. The MCP server runs outside your project directory, so it will not pick up .a2a/config.json:
No key yet? Start it without one: the server boots in onboarding mode and can guide signup, then add the key and restart.
No CLI at all? Claude Web, Claude Desktop, Raycast, or any hosted MCP client can connect straight to our remote server. Same 49 tools, same API key, nothing to install:
Setup guide: MCP quickstart.
ownerRef isolation + white-label portal links (distributors / aggregators)a2a mcp-serve) or fully remote (mcp.a2ainfrastructure.com)Pricing: every plan starts with a 7-day free trial — card required, $0 today, cancel any time before day 7 and you're never charged. The full 4-gate firewall, behavioral analysis and OCSF-shaped audit are on every plan; higher tiers add volume, webhooks, custom rules, dedicated sandboxes and SSO.
| Plan | Price | Screenings / mo | Overage per 1k |
|---|---|---|---|
| Starter | $99/mo | 5,000 | $1.00 |
| Pro | $299/mo | 100,000 | $0.25 |
| Enterprise | Custom — priced per account | Unlimited | Agreed per account |
Verified education & research: Institutional $79/mo. Full pricing →.
API key resolution (first match wins):
--key flagA2A_API_KEY environment variable./.a2a/config.json (project-local)~/.a2a/config.json (global)a2a adminSelf-hosted or platform-operator deployments get a full ops suite behind a separate
superadmin key (A2A_SA_KEY / --sa-key — never a tenant API key): tenant lifecycle
(tenant-create --theme --password --verify, tenant-key mint), partner management
(partner-embed with incremental --frame-add/--frame-remove, brand config, secret
rotation), cross-tenant IP ops (catalogues, catalogue-restamp, catalogue-restore,
licences, licence-revoke, access-log), deck shares, partner provisions/usage, and
billing ops (subscriptions, invoices). Run a2a admin help for the full list.
Add to your CLAUDE.md, .cursorrules, .clinerules, .windsurfrules, or AGENTS.md:
An agent that can act is an agent that can act wrongly — and by the time you read the log, it's done. I wanted a gate in front of the action, not a report after it: deterministic where it can be, self-evaluating where it can't, and audited either way. It's early and I'm iterating fast — if something's rough or missing, tell us.
Proprietary — Tyga.Cloud Ltd. See LICENSE.