Truss Documentation
Truss is an accountability layer for AI agents — a platform for recording every agent action as a cryptographically signed, tamper-evident audit trail. It provides signed mandates, verifiable evidence chains, delegation chains, and regulatory compliance tooling across 139 jurisdictions.
Quick Start
npm install -g @tensflare/cli
truss auth login
truss org create "My Org"
truss mandate create --agent my-agent --action "access:document" --resource "doc-123"
Getting Started
Concepts
API Reference
- Auth — Register, login, logout, manage members
- Organizations — Org profile, API keys, legal entity
- Agents — Register, status, key rotation, baselines
- Mandates — Lifecycle CRUD, status, scope, delegation
- Actions — Record, MCP ingest, anomaly scoring
- Evidence — Generate, sign, export, verify
- Templates — Built-in + custom mandate templates
- Delegations — Hops, nonce, cross-org chains
- Jurisdictions — Evaluate, profiles, regulation snapshots
- Alerts — Alert engine with Slack/PagerDuty/email
- Escalations — Approval workflows
- Billing — Plans, invoices
- SSO — SAML/OIDC with auto-provisioning
- Admin — Audit log, IP allowlist, roles
- Marketplace — Template marketplace & certifications
- Webhooks — Event subscriptions
- Integrations — 9 third-party providers
- Exports — S3/GCS/Azure export
SDKs
- TypeScript SDK —
@tensflare/truss-sdk - Python SDK —
truss-sdk
Middleware
- MCP Server — Cross-org evidence coordination
- LangGraph — LangGraph node recording
- AutoGen — AutoGen conversation recording
- CrewAI — CrewAI task recording
- LlamaIndex — LlamaIndex query/retrieve recording
- Semantic Kernel — SK function invocation recording
- OpenAI Agents SDK — Handoff/run recording
CLI Reference
- Overview
- Auth — Login, logout, status
- Org — Organization management
- Agent — Agent registration & management
- Mandate — Mandate lifecycle
- Action — Action recording & listing
- Evidence — Evidence package management
- Delegation — Delegation chain management
- Alert — Alert management
- Integration — Provider configuration
- Jurisdiction — Regulatory queries
- Template — Template management
- Verify — Mandate & evidence verification
- API — Raw HTTP access
- Config — Configuration management
- Completion — Shell completions
Guides
- CI/CD Integration
- Evidence Signing
- Agent Key Rotation
- Alert Configuration
- Jurisdiction & Regulatory Queries
- Delegation Chains
- RBAC & Permissions
- Mandate Templates