MAP
The firewall for AI actions. MAP is an open protocol that enforces security policies, triggers human approvals, and generates cryptographically signed receipts for every single decision your agent makes.
Status
Developer Preview
Repository
GitHub →Why MAP
Runtime policy engine with hot-swap capabilities
Cryptographically signed, tamper-evident receipts
Human-in-the-loop approval workflows via webhooks
Native SDKs for TypeScript, Python, and Go
Built-in adapters for HTTP, payments, and database reads
Three-level conformance certification with an open MEP governance process
What breaks
today.
No gate. Agents fire payments, database writes, and deployments with nothing checking policy first.
No audit trail. Decisions live in memory and vanish with the process: there is nothing to show an auditor.
Approvals are bolt-on scripts. Human-in-the-loop is hand-rolled per project instead of being part of the protocol.
map() wraps your agent with SimpleRule policy. Every action is a DispatchRequest: task_id, requester_identity, intent, risk_class.
Policy passes: execution proceeds through the built-in adapters: HTTP, payments, db.read.
Execution stops with an approval_reference; humans approve via webhook or .approve().
Blocked immediately: nothing executes, and the denial is logged.
Every path (allow, approval, deny) logs a receipt: HMAC-SHA256 / RSA MAPSIG signatures, tamper-evident.
Wire formats verified against micro-agent-protocol: src/protocol, src/map.ts, schemas/
The autonomous agent attempts to execute a consequential command. MAP receives the dispatch with its task envelope.
{ "capability": "npm.publish", "envelope": { "task_id": "task-001", "requester_identity": { "type": "service", "id": "cli-agent-01" }, "target_agent": "release-agent-v1", "intent": "Publish the package", "risk_class": "medium", "delegation_token": "..." } }
MAP intercepts the action and evaluates it against the policy rules in-process.
{ "when": "npm.publish", "require": "approval" }
A deterministic receipt is generated, signed (HMAC-SHA256 / RSA, MAPSIG format), and logged.
{ "receipt_id": "receipt:task-001:0", "task_id": "task-001", "agent_id": "release-agent-v1", "action_taken": "npm.publish", "resource_touched": "npm registry", "policy_checks": ["strict-release-gate"], "approval_used": "approval_998", "timestamp": "2026-03-19T17:55:10Z", "result_hash": "sha256:...", "signature": "eyJhbGciOiJIUzI1NiIs..." }
Protocol Specifications
Runtime policy engine with hot-swap capabilities
Cryptographically signed, tamper-evident receipts
Human-in-the-loop approval workflows via webhooks
Native SDKs for TypeScript, Python, and Go
Built-in adapters for HTTP, payments, and database reads
Three-level conformance certification with an open MEP governance process
Performance
Policy evaluation is sub-millisecond. MAP adds essentially zero overhead next to the AI call it gates.
SDK Coverage · 15-Surface Matrix
60-Second Install
One install. One map() call. Your agent is now gated.
That's it. No TaskEnvelope. No AgentDescriptor. No DelegationToken. Just policy, handlers, and receipts. Every decision your agent makes now gets a cryptographically signed receipt.
AI agent runs payment.execute $5,000. Nothing stops it. No record. No approval.
Same action. MAP checks policy in ~1µs, pings your Slack, and only executes on approval, with a signed receipt.
Six lines of policy. Zero infrastructure. npm install and go.
Conformance Certification
Protocol
Compliant.
Basic schema correctness plus the dispatch and approval flow. The entry bar for any MAP implementation.
Security
Verified.
Signing, replay protection, and tenant isolation. Cross-tenant access denial must be demonstrated, not claimed.
Production
Ready.
Reliability, chaos engineering, disaster recovery drills, and a 30-day production stability report. Certifications are valid for 12 months.
Interoperability
MAP is designed to compose with, not replace, the protocols you already run.
Tool connectivity: MAP wraps MCP tools with policy enforcement.
Agent-to-agent tasks: MAP governs execution within A2A task flows.
Commerce and payments: MAP provides the policy layer for ACP payment flows.
Why use MAP?
Gate AI payments, database writes, and infrastructure changes
Route high-risk agent actions to human approval workflows
Produce audit trails and signed receipts for regulated systems
Deploy as an HTTP gateway with policy and audit endpoints