1. Clone & start

git clone https://github.com/thebotclub/tribunal
cd tribunal.dev/tribunal/examples
docker compose up -d

Starts the daemon on :8088 and Postgres on :5432.

2. Point your agents

export TRIBUNAL_DAEMON_URL=http://tribunal.internal:8088
tribunal adapter claude-code
tribunal adapter cursor

Each developer machine runs the CLI against your internal daemon.

3. Authoring policy

# mount ./policies into the container
docker compose exec tribunal \
  tribunal policy enable soc2-baseline

Reload with tribunal policy reload — no restart needed.

4. Back it up

# nightly cron
pg_dump tribunal > /backup/tribunal-$(date +%F).sql
tribunal audit export --since 24h > /backup/events.jsonl

JSONL export is signed with your org key for tamper-evidence.

What you give up

Requirements

Compliance plan, on your hardware

If you want the Compliance feature set (signed exports, CMK, SLA support) but cannot use the cloud, we sell a $25k/year support contract for self-hosted deployments. Email us.