Skip to main content

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

Getting Started

Integration Guides

Reference

Self-Hosting

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