Agentra LabsAgentra Labs DocsPublic Documentation

AgenticContract

Quickstart

Get started with AgenticContract in 5 minutes

1. Install

curl -fsSL https://agentralabs.tech/install/contract | bash

2. Add a Policy

acon policy add "No production deploys on Friday" --scope global --action deny

3. Check a Policy

acon policy check "deploy" --scope global
# Output: Decision: Deny

4. Set a Risk Limit

acon limit set "API calls per hour" --max 1000 --type rate

5. Report a Violation

acon violation report "Rate limit exceeded" --severity warning --actor agent_1

6. View Stats

acon stats

Using with MCP

The MCP server exposes 21 tools that AI agents can use directly:

{
  "mcpServers": {
    "agentic-contract": {
      "command": "agentic-contract-mcp",
      "args": ["serve"]
    }
  }
}