cd /news/ai-safety/show-hn-conduct-open-source-guardrai… Β· home β€Ί topics β€Ί ai-safety β€Ί article
[ARTICLE Β· art-114583] src=github.com β†— pub= topic=ai-safety verified=true sentiment=↑ positive

Show HN: Conduct, open-source guardrails for LLM and MCP tool calls

Conduct, an open-source runtime governance tool for AI agents, enforces a single policy across LLM and MCP tool calls before execution, with signed configuration and a SHA-256 hash-chained audit log. The project, available on GitHub, includes Conduct Guard (policy engine) and Conduct Router (LLM proxy), supporting providers like Anthropic, OpenAI, and Perplexity, and ships with 20+ compliance packs (OWASP, SOC 2, HIPAA, PCI DSS, EU AI Act) and 22 pre-built playbooks.

read4 min views2 publishedAug 28, 2026
Show HN: Conduct, open-source guardrails for LLM and MCP tool calls
Image: Michielbdejong (auto-discovered)

Runtime governance for AI agents β€” one policy enforces across every LLM call, every shell tool, every teammate's AI session.

Two product surfaces, one repo, one policy:

Conduct Guardβ€” the policy engine. Decidesblock / warn / audit / inject

for every AI actionbefore 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.

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:

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.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.Policy-first, not detection-firstβ€” rules decide before the action executes, with structured reasons. Not anomaly detection after the fact.

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.

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 '{"model":"claude-sonnet-4-6","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'

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
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 inissue #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β€” independentprev_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

andNOTICE

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.

Product:conductai.ai** Guard landing:conductai.ai/guard Router landing:conductai.ai/router Docs:conductai.ai/docs Discussions:github.com/sseshachala/conductai/discussions Changelog:**CHANGELOG.md+ReleasesBook a demo:cal.com/sudhi-seshachala-pks7pd

⭐ If Conduct saves your team time,[star it]β€” it helps other teams find it.

── more in #ai-safety 4 stories Β· sorted by recency
── more on @conduct 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/show-hn-conduct-open…] indexed:0 read:4min 2026-08-28 Β· β€”