sseshachala/conductai: AI agent governance for teams. Runtime firewalls tell you what happened; Conduct Guard controls what can happen โ€” signed policy, verified chain, fail-closed by default. Ships with Router (LLM proxy), 20+ compliance packs, canvas UI, and a playbook engine. ยท GitHub

๐Ÿ’ฅ Discover this must-read post from Hacker News ๐Ÿ“–

๐Ÿ“‚ **Category**:

โœ… **What Youโ€™ll Learn**:

Two product surfaces, one repo, one policy:

  • Conduct Guard โ€” the policy engine. Decides block / warn / audit / inject for every AI action before it executes, backed by signed configuration and a hash-chained audit log.
  • Conduct Router โ€” the LLM proxy. Point any provider SDK (Anthropic, OpenAI, Perplexity) at Router and every request runs through Guard on the way to the upstream provider.

Governance, not observability

Runtime firewalls like Straiker and Lakera tell you what an agent did. Guard controls what an agent can do โ€” with cryptographic proof.

Runtime firewalls Conduct Guard
Timing After the action Before the action
Config integrity Trust the pack Workspace-signed
Audit Log stream SHA-256 hash chain
Coverage LLM calls only LLM and shell / MCP
Failure mode Fail-open (soft) Fail-closed by default

The three-pillar moat:

  1. Signed configuration โ€” every workspace signs its active policy set. Every Guard check verifies the signature before enforcing. A tampered pack โ€” pushed by anyone, at any layer โ€” is rejected before it can decide anything.
  2. Hash-chained audit โ€” every decision appends to a SHA-256 chain rooted at workspace genesis. Any missing or altered entry breaks the chain and is caught on one-click verification. Evidence you can hand to an auditor.
  3. Policy-first, not detection-first โ€” rules decide before the action executes, with structured reasons. Not anomaly detection after the fact.

Discovery โ€” the free wedge

New here? Start with Discovery mode: read-only visibility into every AI action your team takes for 14 days. No policy to author, nothing to install upstream, no cost. When you’re ready to enforce, promote a rule from what Discovery already saw.

โ†’ conductai.ai/sign-up


git clone https://github.com/sseshachala/conductai
cd conductai
docker compose up
  • API on http://localhost:8000 (Guard + Router live at /guard/* and /proxy/*)
  • Canvas UI on http://localhost:3000
  • Redis worker + Postgres come up in the same stack

Point any provider SDK at Router:

curl https://api.conductai.ai/proxy/anthropic/v1/messages \
  -H "Authorization: Bearer cond_agt_..." \
  -H "Content-Type: application/json" \
  -d '๐Ÿ”ฅ'

Or wrap your CLI hooks with Guard:

pip install conduct-cli
conduct login
conduct sync        # installs hook + MCP, pulls policies

Now every Claude Code, Cursor, Copilot, ChatGPT, or Codex session on that machine is governed by the same active packs.


Component Path
Guard runtime apps/api/app/modules/guard/
Router (proxy) apps/api/app/modules/guard/routers/proxy.py
Compliance packs apps/api/app/modules/guard/skill_packs/
Canvas UI apps/web/
Playbook DSL loader apps/api/app/dsl/
Playbook library apps/api/playbooks/ (22 pre-built)
CLI packages/conduct-cli/

20+ compliance packs ship out of the box: OWASP, SOC 2 CC7.3, HIPAA ยง164.312, PCI DSS 4.0, EU AI Act Art. 15/16, NIST AI RMF, ISO 42001, and framework-specific packs for Python, Node, and Terraform.

22 pre-built playbooks: Issue โ†’ PR, code review, incident response, prod deploy gate, CI/CD triage, security scanner triage, Slack digest, and more. Each is one YAML file; edit-and-run.


   Developer / agent                     Guard control plane
   โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                     โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   Claude Code   โ”€โ”€โ”                     โ”Œโ”€โ”€ Canvas UI (Next.js)
   Cursor        โ”€โ”€โ”ค   CLI hook  โ”€โ”€โ”€โ”€โ–บ   โ”œโ”€โ”€ FastAPI + policy engine
   Copilot       โ”€โ”€โ”ค   (cond_cli)        โ”œโ”€โ”€ Postgres (state, audit)
   Codex         โ”€โ”€โ”˜                     โ”œโ”€โ”€ Redis (workers, queues)
                     โ”Œโ”€โ”€โ”€โ”€ MCP  โ”€โ”€โ”€โ”€โ–บ    โ””โ”€โ”€ Hash chain (SHA-256)
   Any SDK       โ”€โ”€โ”€โ”€โ”ค
   (Anthropic,       โ””โ”€โ”€ Router โ”€โ”€โ”€โ”€โ–บ    Upstream provider (Anthropic,
    OpenAI,             /proxy/*         OpenAI, Perplexity, ...)
    Perplexity)

Guard checks fire at three chokepoints:

  • CLI hook โ€” every Claude Code / Cursor / Copilot / Codex tool call.
  • MCP layer โ€” every MCP tool invocation.
  • Router โ€” every LLM call by any SDK.

One policy, three enforcement surfaces.


  • Self-host with docker compose โ€” the command above. Runs everything locally.
  • Self-host on Kubernetes โ€” deployment templates ship in issue #1149.
  • Hosted โ€” conductai.ai. Free tier includes Discovery; paid tiers unlock enforcement + Router + hash-chain verification API.

  • SECURITY.md โ€” vulnerability reporting policy, scope, coordinated disclosure, and safe harbor.
  • Threat model โ€” system context, trust boundaries, attacker goals, mitigations, and residual risks.
  • Policy decision contract โ€” guard_check decision semantics and fail-mode behavior.
  • Audit log verification โ€” independent prev_hash/entry_hash chain verification procedure and example script.
  • API versioning โ€” proxy/MCP compatibility, deprecation windows, and OpenAPI publication guidance.

Apache License 2.0 โ€” the entire repository, including the CLI, Guard, Router, Agent Booster, playbooks, and packs.

  • Free for commercial and non-commercial use, modification, and redistribution.
  • Includes an explicit patent grant from all contributors (Apache 2.0 ยง3).
  • Trademark rights are not granted; see NOTICE โ€” “Conduct”, “Conduct AI”, and “Conduct Guard” remain trademarks of Conduct AI.
  • Redistribution must preserve the LICENSE and NOTICE files.

The hosted control plane at conductai.ai (canvas UI, team RBAC, marketplace, managed Guard) is a commercial offering built on top of this repository.

For enterprise support, indemnification, or licensing questions, email hello@conductai.ai.


We accept bug reports, docs fixes, new playbooks, new packs, tests, and code. Read CONTRIBUTING.md first.

โญ If Conduct saves your team time, star it โ€” it helps other teams find it.

{๐Ÿ’ฌ|โšก|๐Ÿ”ฅ} **Whatโ€™s your take?**
Share your thoughts in the comments below!

#๏ธโƒฃ **#sseshachalaconductai #agent #governance #teams #Runtime #firewalls #happened #Conduct #Guard #controls #happen #signed #policy #verified #chain #failclosed #default #Ships #Router #LLM #proxy #compliance #packs #canvas #playbook #engine #GitHub**

๐Ÿ•’ **Posted on**: 1787949072

๐ŸŒŸ **Want more?** Click here for more info! ๐ŸŒŸ

By

Leave a Reply

Your email address will not be published. Required fields are marked *