FabricZero Documentation
Welcome to FabricZero, the constitutional AI governance platform for autonomous enterprise agents.
What is FabricZero?
FabricZero provides a governance gateway that evaluates agent actions against constitutional rules before execution. It ensures your AI agents operate within defined boundaries while maintaining full audit trails.
Key Features
- Scope Enforcement - Agents can only use tools they're delegated
- Risk Classification - Actions are tiered by risk level (fast_path, dialectic, full_governance)
- Dialectic Review - High-risk actions go through LLM-powered Planner/Critic/Adjudicator debate
- Audit Logging - Every decision is logged for compliance
- Trust Ladder - Agents earn autonomy through consistent good behavior
Quick Links
Getting Started
- Quick Start Guide - Get up and running in 5 minutes
- Core Concepts - Understand the governance model
Integration Guides
- TypeScript SDK - For Node.js applications
- Python SDK - For Python agents
- Agent Hooks - For Claude Code users
Reference
- API Reference - Full API documentation
- Constitutional Artifacts - Configure governance rules
- Architecture - System design
Self-Hosting
- Docker - Run with Docker Compose
- Kubernetes - Deploy on Kubernetes
- AWS - Deploy on AWS
Installation
Choose your integration:
# TypeScript/JavaScript
npm install @fabriczero/sdk
# Python
pip install fabriczero
# Agent Hooks
npm install fabriczero-agent-hooks
Example
import { FabricZeroClient, isApproved } from '@fabriczero/sdk';
const client = new FabricZeroClient({
baseUrl: 'https://api.fabriczero.ai',
apiKey: process.env.FABRICZERO_API_KEY,
});
const decision = await client.evaluate({
agentId: 'finance-agent',
action: {
tool: 'payment.transfer',
parameters: { amount: 5000, recipient: 'vendor-123' },
},
});
if (isApproved(decision.decision)) {
// Execute the action with the governance token
await executePayment();
await client.confirmExecution({
requestId: decision.requestId,
token: decision.token,
success: true,
});
}
Support
- GitHub Issues - Bug reports and feature requests
- Discord - Community chat
- Email - Enterprise support