Govern AI agents on CrewAI
Give CrewAI agents Cordum-governed tools: each tool call is checked against policy at the Cordum gateway before it runs, and denials return to the crew.
What this integration does
- Native CrewAI tools built from Cordum's MCP tool registry with build_crewai_tools()
- Policy check at the gateway on every tool call, before the tool runs
- Per-agent tool scoping with allowed_tool_names in build_crew()
- Denied calls raise AdapterToolCallError with sensitive arguments redacted
Use cases
Keep a research agent away from destructive tools registered on the same crew
Hold a publish or write tool for human approval before it runs
Review governed tool calls and their policy decisions in Cordum's audit trail
Quick setup
- 1Install the adapter: pip install cordum-adapters[crewai] (Python 3.10+)
- 2Run the Cordum MCP bridge (cordum-mcp-bridge) with CORDUM_GATEWAY_URL and CORDUM_API_KEY set
- 3Build tools with build_crewai_tools(client), or wire agents and tasks with build_crew()
- 4Attach MCP policy to the tools in Cordum, then run crew.kickoff()
Frequently asked questions
How does Cordum govern a CrewAI crew?
Through its tools. The adapter turns the tools exposed by the Cordum MCP bridge into CrewAI tools. When an agent calls one, the call goes to the Cordum gateway, which checks it against policy before the tool runs. Your agents, roles, and tasks stay as they are.
Isn't a CrewAI role already a boundary?
No. A role is a prompt string, not access control. build_crew() takes an allowed_tool_names list per agent, so a sub-agent never sees destructive tools registered on the crew, and gateway policy still applies to every call that does go out.
What happens when a tool call needs approval?
The first call is denied and an approval record appears in the gateway's MCP approvals queue. Once a reviewer approves, the same call with the same arguments succeeds on retry. Catch AdapterToolCallError to prompt the user, or let the agent reason about the denial.
Is the CrewAI integration a Cordum pack?
No. It ships as the cordum-adapters package on PyPI with a crewai extra. It needs the cordum-mcp-bridge binary from the MCP Bridge pack and a running Cordum gateway.
Ready to govern CrewAI?
Other integrations
Export agent governance traces to any OTLP backend.
Govern Model Context Protocol tool calls at the gateway.
Approval notifications and agent alerts in Slack channels.
Govern AI agent actions on GitHub repositories.
Govern AI agent read and write actions against the AWS API.
Governance for AI agents managing Jira workflows.