Current Status
Every component labeled honestly: implemented, partially implemented, or planned.
The plans describe two documents: one for the current brane-core state, and one for the full future platform. This page covers both so you know exactly what you can use today.
Package
pip install brane-corebrane-core is the local, framework-independent Python runtime. It has no external service dependencies. It runs in your process and enforces policies before and after capability calls.
Implemented Today
All primitives and the core interception loop are implemented:
RuntimeCapabilityEffectSideEffectScopeAgentActionDecision (allow and deny)PolicyContextPolicyCapabilityRegistryPolicyRegistryPolicyEngineInterceptRequestInterceptResultCapabilityInterceptorCallableCapabilityInterceptorCapabilityDeniedErrorCapabilityNotFoundError@runtime.capability decorator@runtime.before_capability decorator@runtime.after_capability decoratorruntime.wrap_capabilityruntime.create_actionruntime.evaluate_actionExact and wildcard policy target matchingPolicy priority orderingDeny-wins composition
Partially Implemented
These components exist in the type system but have behavioral gaps:
| Component | Gap |
|---|---|
| Decision composition | allow and deny only; approval_required, redact, and transform not yet wired |
| Scope checking | ctx.agent_has_scope() checks capability.scopes by name; full agent grant model is planned |
| Capability schemas | input_schema and output_schema fields exist; schema validation and generation are planned |
| on_error policy stage | PolicyStage.on_error is defined in the type; interception does not invoke it yet |
Planned Next
These are the next components in development:
- Audit events and pluggable AuditSink
- approval_required Decision type
- Async function wrappers
- Error stage policy interception
- transform_input and transform_output Decision types
- redact Decision type
- Capability grants and GrantRegistry
- Framework adapter base contract
- LangGraph adapter
- CrewAI adapter
- OpenAI Agents SDK adapter
- MCP adapter
Future Platform
These components are design direction. Full API docs will be written when implementation begins:
- Brane Cloud — remote policy evaluation
- Audit ingestion API
- Approval workflow API
- Policy bundles and versioning
- Brane Dashboard
- Brane CLI
- Model governance
- Memory governance
- Retrieval governance
- Filesystem governance
- Secret governance
- Sandbox governance
- Browser and computer-use governance
- Multi-agent governance
Known Limitations
- Synchronous callables only. Async wrappers are planned.
- No streaming support. Streaming interception is planned.
- No input mutation.
transform_inputdecisions are planned. - No output mutation.
redactandtransform_outputare planned. - No approval pausing.
approval_requireddecisions are planned. - No audit persistence.
AuditSinkis planned. - No agent grant system. Scope checking is name-match only today.
- Install command may change before stable release.
Open Questions
Questions that will shape the next release:
- Will the package name be
brane,brane-core, orbrane-runtime? - Will dataclasses migrate to Pydantic models?
- Should allow-by-default remain when no policy matches?
- What should
approval_requireddo before approval providers exist? - Which integration ships first?
See the Roadmap for the full planned build order.