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.

Brane is different from prompt guardrails because Brane enforces policy at runtime when an agent attempts an action. Prompt guardrails influence model behavior. Brane controls whether the action is allowed to execute. Both can be useful, but they protect different boundaries.

Comparison

Control layerWhat it checksWhen it runsWhat it prevents
Prompt guardrailInstructions and model behaviorBefore generationSome unsafe reasoning or output
Output filterText returned by the modelAfter generationSome unsafe text
Brane runtime policyTool calls and capabilitiesBefore or after action executionUnsafe actions and capability use

Why Runtime Policy Matters

If an agent sends an email, deletes a user, issues a refund, queries a database, calls an MCP tool, or writes memory, the consequence happens at the action boundary. Brane evaluates policy at that boundary:
Capability + AgentAction + PolicyContext -> Policy -> Decision
That gives developers a concrete enforcement point.

Use Brane With Existing Safety Layers

Brane does not replace:
  • Prompt engineering
  • Model safety systems
  • IAM
  • Database permissions
  • Network controls
  • Secrets management
  • Application authorization
Brane complements those layers by governing agent-specific action patterns.