Skip to content

PACT Platform

The PACT Platform is the L3 entrypoint for the PACT specification. It is not the governance primitive (kailash-pact); it is the human-facing surface that sits on top of the full stack. Organizations define their structure, set constraint envelopes, grant knowledge clearances, and observe what their agents do, all through the platform.

What the primitive gives you: D/T/R addressing, envelope evaluation, cost tracking, event bus. What the platform gives you: an org management dashboard, approval queues, CLI tooling, integration adapters, and the human judgment loops that connect governance decisions to execution outcomes.

API (42+ endpoints across 7 router groups)

Section titled “API (42+ endpoints across 7 router groups)”
Router groupWhat it covers
ObjectivesDefine, track, and evaluate organizational objectives
RequestsSubmit, route, and resolve governance requests
SessionsManage agent sessions with full audit context
DecisionsRecord and query governance decisions
PoolsManage approval pools and delegation chains
ReviewsHuman review workflows for flagged and held actions
GovernanceMetrics, org structure, team management, envelope configuration
Terminal window
pact quickstart # Bootstrap an org with sensible defaults
pact org create # Define organizational structure
pact role assign # Assign roles within D/T/R tree
pact clearance grant # Set knowledge clearance levels (C0-C4)
pact envelope set # Configure constraint envelopes
pact agent register # Register an agent with its role and envelope
pact bridge configure # Set up Trust Plane / Execution Plane bridge
pact audit export # Export audit trail for compliance
pact validate # Validate org configuration against PACT rules
pact status # Show current governance state
ServicePurpose
RequestRouterRoutes governance requests to the correct approval pool based on D/T/R position
ApprovalQueueManages pending approvals with escalation timers and delegation fallbacks
CompletionWorkflowTracks requests through their lifecycle from submission to resolution
CostTrackingEnforces financial constraint dimensions across all governed operations
NotificationDispatchRoutes governance notifications through configured channels

The platform ships with adapters for Slack, Discord, Microsoft Teams, generic webhooks, push notifications, and LLM providers. Approval requests surface where your team already works. When an agent approaches a constraint boundary, the approval queue delivers the decision to the right human with full context.

Define your org structure visually. Monitor agent activity in real time. Review and resolve held actions. Inspect audit trails. Shadow mode lets you simulate what an agent would do before you deploy it.

The PACT Platform depends on the full Kailash stack:

PACT Platform (this)
├── kaizen-agents (Delegate + GovernedSupervisor)
├── kailash-pact (PactEngine, GovernanceEngine)
├── kailash-dataflow (11 DataFlow models for org data)
├── kailash-kaizen (agent primitives)
└── kailash (core runtime, Trust Plane)

This is the cross-cutting composition in practice. The platform does not reimplement governance; it surfaces the governance that the engines already enforce. Every constraint set through the platform’s UI flows down through PactEngine, propagates through DataFlowEngine and NexusEngine, and is inherited by every Delegate and GovernedSupervisor operating within those envelopes.

LicenseApache 2.0
Version0.4.0 (Alpha)
Sourcegithub.com/terrene-foundation/pact
Installpip install pact-platform
Lines of code87,000+
Tests141 test files
API endpoints42+
CLI commands10+
DataFlow models11
Adapters6 (Slack, Discord, Teams, webhooks, notifications, LLM providers)