MACAW Documentation

MACAW is AI Controls for autonomous agents: identity, policy (MAPL), approvals and a signed record, checked before every agent, tool and LLM call runs.

Architecture

MACAW is a distributed mesh. Every agent, tool and LLM becomes an endpoint with its own identity, and each endpoint enforces policy where the call is made, without trusting the caller. The control plane holds identity, the registry, policy and the signed record.

┌──────────────────────────────────────────────────────────────────────────┐
│  YOUR AGENTS AND APPS                                                    │
│                                                                          │
│   ┌────────────────────┐  ┌────────────────────┐  ┌────────────────────┐ │
│   │ SecureAI adapters  │  │  SecureMCP Store   │  │ Coding agent       │ │
│   │ OpenAI, Anthropic, │  │  SecureMCP,        │  │ sidecar and hooks  │ │
│   │ LangChain, ...     │  │  SecureMCPProxy    │  │ Claude Code, Codex │ │
│   └────────────────────┘  └────────────────────┘  └────────────────────┘ │
│                                                                          │
│   MACAWClient: the enforcement point. Signs, checks policy, runs the     │
│   extractors, verifiers and processors. Prompts and parameters stay here │
└──────────────────────────────────────┬───────────────────────────────────┘
                                       │  policies down, signed record up
                                       ▼
┌──────────────────────────────────────────────────────────────────────────┐
│  MACAW CONTROL PLANE                                                     │
│   ┌──────────┐   ┌──────────┐   ┌──────────┐   ┌───────────┐   ┌───────┐ │
│   │ Identity │   │ Registry │   │  Policy  │   │ Approvals │   │ Audit │ │
│   └──────────┘   └──────────┘   └──────────┘   └───────────┘   └───────┘ │
└──────────────────────────────────────────────────────────────────────────┘

Security Model

MACAW implements three complementary mechanisms that work together to secure AI operations:

Authenticated Workflows

Every invocation is cryptographically signed by the caller and independently verified by the receiver. Policy enforcement happens at endpoints, not a central chokepoint.

Learn more →

Authenticated Prompts

Prompts are signed and tracked through derivation chains. Permissions can only narrow as prompts evolve, providing defense against prompt injection attacks.

Learn more →

Authenticated Context

Application state is protected with session-bound signatures. Enables multi-user isolation and safe delegation of authority in agentic workflows.

Learn more →

Integration

MACAW provides drop-in adapters for common AI frameworks. Change your import, and your existing code gains cryptographic signing, policy enforcement, and audit logging.

1Install the SDK
2Change your import
3Use the same API
python
# Before
from openai import OpenAI
client = OpenAI()

# After
from macaw_adapters.openai import SecureOpenAI
client = SecureOpenAI(app_name="my-app")

# Same API, now with policy enforcement
response = client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Hello"}]
)

Getting Started


Concepts


SDK Reference


Framework Guides


Console

The MACAW Console is your administrative interface for managing AI security at scale. Monitor activity, manage policies, review audit logs, and configure workspace settings.