Runtime governance for AI agents. Conduct Guard on every tool call in Claude Agent SDK, OpenAI Agents SDK, LangChain, Google ADK and CrewAI agents.
pip install conduct-agent-guard==0.1.0 Copy PIP instructions
Conduct Guard on every tool call, in the agent framework you already use. One line per framework; the same Conduct policy decides for all of them.
Each adapter sends the tool name + arguments to Conduct's guard_check action gate before the tool runs. Adapters translate; Conduct decides.
The audit row records which framework made the call.
pip install "conduct-agent-guard[claude]" # or [openai] [langchain] [adk] [crewai] export CONDUCT_AGENT_TOKEN=cond_agt_... # from the Conduct console or `conduct login` Env var Default CONDUCT_AGENT_TOKEN required CONDUCT_API_URL https://gateway.conductai.ai CONDUCT_WORKSPACE_ID from the token Unreachable Conduct fails closed (the tool is blocked); pass ToolGuard(..., unreachable_fallback="fail_open") to change that.
Every example runs the same scenario. The agent searches the web (allowed), then tries to save the untrusted result to long-term memory. That save is blocked by the memory-poisoning rule (asi06_untrusted_promotion_to_durable) in a default Conduct workspace.
cd packages/conduct-agent-guard/examples ./run_all.sh # live_smoke + all five agents ./run_all.sh smoke # no LLM needed: every adapter against your live policy ./run_all.sh claude crewai run_all.sh needs uv and gives each framework its own environment. Current CrewAI and OpenAI Agents can't share one: they pin different openai majors.
The agent examples default to Anthropic (claude-haiku-4-5).
Direct: export ANTHROPIC_API_KEY=.... The Claude Agent SDK example can also use your Claude Code login.
Through the Conduct Gateway (model traffic governed too):
# Anthropic profile export ANTHROPIC_BASE_URL=https://gateway.conductai.ai/gateway/v1/anthropic export ANTHROPIC_API_KEY= export DEMO_PROVIDER=anthropic DEMO_MODEL=cond- - # or an OpenAI profile export OPENAI_BASE_URL=https://gateway.conductai.ai/gateway/v1/openai/v1 export OPENAI_API_KEY= export DEMO_PROVIDER=openai DEMO_MODEL=cond- - The profile identifier is on the Gateway profile page. source ~/.conduct/env sets the base URLs and keys if you used conduct login.
uv run --no-project --with-editable '.[claude,openai,langchain,adk,dev]' pytest uv run --no-project --with-editable '.[crewai,dev]' pytest # CrewAI needs its own env The core tests run without any framework installed; adapter tests skip when their SDK is missing.
agents ai-governance policy claude-agent-sdk openai-agents langchain google-adk crewai
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.




