How It Works
Where policies are enforced, how trust is anchored, and why it scales
10 questions
┌─────────────────────────────────────────────────────────────────┐ │ MACAW Console (Web UI) │ │ - Policies, Logs, Activity, Attestations, Settings, Dev Hub │ └─────────────────────────────────────────────────────────────────┘ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ Trust Control Plane (Cloud - Managed SaaS) │ │ - Policy Store, Audit Storage, IdP Bridge, Attestation Engine │ └─────────────────────────────────────────────────────────────────┘ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ MACAW Client (macaw-ai install, or console download) │ │ - Client libraries, Registry, PEP runtime │ │ - Runs in user's application, connects to Control Plane │ └─────────────────────────────────────────────────────────────────┘ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ macaw-adapters (pip install) │ │ - OpenAI, Anthropic, LangChain, LiteLLM, Pydantic AI, MCP │ │ - Thin wrappers that route through MACAW Client │ └─────────────────────────────────────────────────────────────────┘ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ Your Application Code │ └─────────────────────────────────────────────────────────────────┘Component Location Function SDK ( macaw_client+ adapters)Runs in your app Policy enforcement, signing, audit generation Control Plane MACAW Cloud Policy storage, audit aggregation, Console UI, IdP bridge The SDK enforces locally for low latency. The Control Plane provides management, visibility, and policy distribution.
At the endpoints, not in a central proxy. MACAW embeds Policy Enforcement Points (PEPs) where the action is.
Three ways to attach:
Mode How It Works Use Case Library The client SDK and adapters ( SecureOpenAI, etc.) run inside your appApps and agents you build Sidecar A PEP runs beside Claude Code or Codex; hooks stop each tool call for a decision Coding agents Proxy SecureMCPProxysits in front of an MCP serverMCP servers you don't control What the PEP validates:
Every request must pass three checks:
- Integrity - Signature verification (is this request tamper-free?)
- Authenticity - Identity verification (is this caller who they claim to be?)
- Policy compliance - Does this operation satisfy all applicable policies?
The trust model:
The PEP validates locally, but the source of truth is the Control Plane:
- Policies are distributed with tamper-proof hashes
- Public keys come from the Control Plane registry
- The PEP can verify independently because it has everything it needs
This is why MACAW scales: enforcement is distributed, but trust is anchored in a single source of truth.
The sidecar installs with
macaw-ai install --coding-agents.Prompts, parameters and content are checked at the enforcement point in your environment. They are not stored in the MACAW control plane.
Each invocation produces a signed telemetry record: who made the call, which resource it touched, and the decision. Parameters such as prompts are generally not included.
When a policy requires an approval, the operation is sent to the approver the policy names, who decides in the MACAW tray app or the console.
MACAW adds little overhead to each operation. Policies are fetched and cached at the enforcement point and evaluated there, so there is no round trip to the control plane to decide a call. Cryptographic operations are optimized and cached.
Typical overhead: 5 ms to decide a call, 35 ms end to end with the tool itself included, compared to LLM latency of 500 ms to 10+ seconds. Negligible in practice.
The distributed architecture means:
- Each PEP operates independently at each boundary
- Tools verify signatures independently (don't trust callers)
- Policy enforcement is distributed across all integration points
- No single enforcement chokepoint in the request path
- High-availability Control Plane infrastructure (Enterprise)
Any node going down won't affect others and can recover independently.
Multi-agent workflows are exactly where traditional security fails and MACAW's approach shines. The core insight: multi-agent systems are byzantine distributed systems - any agent could be compromised, produce inconsistent outputs, or be manipulated by malicious inputs.
MACAW applies the same principles that secure distributed systems:
- Agent identity isolation - Each agent has its own Ed25519 keypair (smallest unit of cryptographic identity)
- Inter-agent authentication - Agents verify each other's signatures (don't trust, verify)
- Delegation scope - Permissions can only narrow as they flow (monotonic restriction)
- Policy at every hop - Not just at entry point; each agent evaluates independently
- Unified audit - All interactions logged with signatures from both caller and callee
The result: if Agent B is compromised, Agents A and C can detect it through signature verification. This is byzantine fault tolerance applied to agentic AI.
Yes, with Enterprise tier configuration:
- Pre-download SDK packages for offline installation
- Configure for your network topology
- Standalone binary option (no Python dependency)
Contact us for air-gapped deployment guidance.
The MACAW Trust Control Plane endpoint is:
https://api.macawsecurity.ai/rpcIt is set in
.macaw/config.jsonwhenmacaw-ai install(or the console download) sets up the client.