Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brane.membranelabs.org/llms.txt

Use this file to discover all available pages before exploring further.

AI agent safety is not only a prompt problem. Production agents create risk when they take actions: call tools, query databases, write memory, invoke MCP tools, access files, use secrets, call models, or hand work to another agent. Brane improves AI agent safety by enforcing policy at that action boundary.

The Safety Boundary

Traditional model safety asks whether a model produced unsafe text. Agent safety also has to ask whether the agent attempted an unsafe action.
unsafe prompt -> model behavior risk
unsafe action -> production system risk
Brane focuses on the second category: production system risk from agent actions.

What Brane Adds

Brane adds a policy decision before capability execution:
AgentAction -> PolicyContext -> Policy -> Decision
That lets teams enforce rules such as:
  • Do not issue refunds above a tenant limit.
  • Do not run write SQL in production.
  • Do not call high-risk tools without approval metadata.
  • Do not access another tenant’s data.
  • Do not invoke high-risk MCP tools in production.
  • Do not return outputs that contain secrets or PII.

Agent Safety Categories Brane Covers

CategoryBrane control point
Tool safetyRegister tools as capabilities and evaluate policies before calls
Data safetyInspect queries, namespaces, tenants, and output
MCP safetyTreat MCP tools and resources as capabilities
Memory safetyGovern memory reads and writes as capabilities
Model safetyGovern model calls, routing, and cost policies
Workflow safetyGovern agent handoffs and delegated actions
AuditabilityRecord decisions and action outcomes