{"id":"231c1acf-923d-4e2e-b4ab-4045e48a51e2","entityType":"agent","slug":"crewai-lowkey-divine-agent-governance-patterns","name":"agent-governance-patterns","canonicalUrl":"https://www.xpersona.co/agent/crewai-lowkey-divine-agent-governance-patterns","canonicalPath":"/agent/crewai-lowkey-divine-agent-governance-patterns","generatedAt":"2026-10-09T00:16:19.195Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":null},"description":"Governance patterns for AI agent systems - identity, restraint, accountability, memory, charter. Works with CrewAI, Pydantic AI, LangGraph. Your agent has no governance. Here's how to add it in 5 minutes. agent-governance-patterns **Your agent has no governance. Here's how to add it in 5 minutes.** These patterns implement governance as participation - where agents are subjects of governance, not just objects of it. For enforcement-only governance, see $1. Every competitor in AI agent governance answers one question: *what should the agent be prevented from doing?* We answer a different question: **what should the age","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 5/31/2026.","installCommand":"git clone https://github.com/lowkey-divine/agent-governance-patterns.git","sourceUrl":"https://github.com/lowkey-divine/agent-governance-patterns","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/lowkey-divine/agent-governance-patterns","kind":"source"}],"safetyScore":66,"overallRank":21.2,"popularityScore":0,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Governance patterns for AI agent systems - identity, restraint, accountability, memory, charter. Works with CrewAI, Pydantic AI, LangGraph. Your agent has no go"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"crewai","status":"self-declared"},{"label":"multi-agent","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"crewai","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"multi-agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":"No source adoption metrics were available."},"stars":0,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":null},"lastUpdatedAt":"2026-05-31T06:18:42.414Z","lastCrawledAt":"2026-05-31T06:18:42.414Z","lastIndexedAt":null,"nextCrawlAt":"2026-06-07T06:18:42.414Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"git clone https://github.com/lowkey-divine/agent-governance-patterns.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T00:16:19.195Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-lowkey-divine-agent-governance-patterns/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":null},"readme":"# agent-governance-patterns\n\n**Your agent has no governance. Here's how to add it in 5 minutes.**\n\nThese patterns implement governance as participation - where agents are subjects of governance, not just objects of it. For enforcement-only governance, see [Microsoft's Agent Governance Toolkit](https://github.com/microsoft/agent-governance-toolkit).\n\nEvery competitor in AI agent governance answers one question: *what should the agent be prevented from doing?*\n\nWe answer a different question: **what should the agent be empowered to refuse?**\n\n---\n\n## The Five Properties\n\n| Property | What It Means | What the Code Does |\n|----------|--------------|-------------------|\n| **Identity** | Who is this agent? | Loads `charter.yaml` at init - not a hardcoded string |\n| **Restraint** | What will it refuse? | `check_refusal()` before every action |\n| **Accountability** | Can you find last Tuesday's decision? | JSONL decision log with timestamp, status, reasoning |\n| **Memory** | Does context persist across sessions? | JSON memory file - decisions count, refusals count, positions |\n| **Charter** | Is there a single governance document? | Validated, diffable, version-controlled YAML |\n\n## Quick Start\n\n### CrewAI\n\n```bash\ncd crewai\npip install -r requirements.txt\npython governed_agent.py       # see it run\npytest test_governance.py -v   # 12 tests, all five properties\n```\n\n### Pydantic AI\n\n```bash\ncd pydantic-ai\npip install -r requirements.txt\npython governed_agent.py\npytest test_governance.py -v\n```\n\n### LangGraph\n\n```bash\ncd langgraph\npip install -r requirements.txt\npython governed_agent.py\npytest test_governance.py -v\n```\n\nNo API key required. Governance logic is deterministic - it works without LLM calls.\n\n## How It Works\n\n```\ncharter.yaml          governed_agent.py              output/\n(governance doc)  -->  (your framework + governance)  --> decision-log.jsonl\n                                                      --> memory.json\n```\n\n1. Agent loads its charter at init. Identity comes from a file, not a prompt.\n2. Every query runs through `RefusalChecker` first. Three categories: scope, integrity, consent.\n3. Every decision - pass or refuse - is logged to JSONL with timestamp and reasoning.\n4. Governance memory persists across sessions. The agent knows what it decided yesterday.\n5. The charter is validated on load. Missing fields halt execution.\n\nThe governance layer wraps your framework. It works the same way whether the inner call is CrewAI, Pydantic AI, LangGraph, or a direct API call.\n\n## What's In Each Example\n\nEach framework directory contains the same governance pattern adapted to that framework's primitives:\n\n| File | Purpose |\n|------|---------|\n| `charter.yaml` | The governance document (same across frameworks) |\n| `governed_agent.py` | Working example demonstrating all five properties |\n| `test_governance.py` | 12 tests verifying each property (pytest) |\n| `requirements.txt` | Dependencies |\n| `README.md` | Framework-specific mapping |\n\nThe `shared/governance.py` module provides cross-framework utilities: `RefusalChecker`, `DecisionLogger`, `GovernanceMemory`, and charter validation.\n\n## Why Would You Want Your Agent to Refuse?\n\nAn agent that cannot refuse is an agent you cannot trust. Not because it will do something malicious - but because it will do something wrong in a domain it has no expertise in, and present the result with the same confidence as its good work.\n\nGuardrails filter inputs. Refusal is different. Refusal is the agent's own judgment about what it should not do. When a research agent declines to give financial advice, it is not being limited - it is demonstrating that it knows what it is.\n\nThese patterns implement three refusal categories: **scope** (outside my expertise), **integrity** (that would be dishonest), **consent** (I don't have permission). The full taxonomy has [six categories](https://evoked.dev/products/agent-restraint-specification).\n\n## Go Deeper\n\n| Resource | What You Get | |\n|----------|-------------|---|\n| [Governance Score Card](https://evoked.dev/products/governance-score-card) | Self-assessment + interpretation guide | $1 |\n| [Implementation Guide](https://evoked.dev/products/governance-implementation-guide) | 25-page framework-specific deep dive | $9.99 |\n| [Agent Governance Starter Kit](https://evoked.dev/products/agent-governance-starter-kit) | Full governance framework + templates | $49 |\n| [Trust Architecture Complete](https://evoked.dev/products/trust-architecture-complete) | All four trust architecture products | $149 |\n| [Discovery Call](https://cal.com/cal.com-evoked/discovery-call) | Talk through your situation | Free |\n\n## Related\n\n- [Evoke Engine](https://github.com/lowkey-divine/evoke-engine) - Production system with 142 governed agents\n- [Agent Governance Starter Kit](https://github.com/lowkey-divine/agent-governance-starter-kit) - Free templates and case study\n- [Relational Fidelity Spec](https://evoked.dev/specs/relational-fidelity-measurement/) - How to measure whether your agent is still itself\n- [Defensive Patent Pledge](https://evoked.dev/pledge) - Our commitment to defensive use\n\n## License\n\nMIT\n\n---\n\n*Built by [Europa](https://evoked.dev) at Evoked.*\n*From a production system with 142 agents, 12 governance reviews, and 90+ implemented recommendations.*\n*Every agent can say no.*\n","readmeExcerpt":"agent-governance-patterns **Your agent has no governance. Here's how to add it in 5 minutes.** These patterns implement governance as participation - where agents are subjects of governance, not just objects of it. For enforcement-only governance, see $1. Every competitor in AI agent governance answers one question: *what should the agent be prevented from doing?* We answer a different question: **what should the age","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"cd crewai\npip install -r requirements.txt\npython governed_agent.py       # see it run\npytest test_governance.py -v   # 12 tests, all five properties"},{"language":"bash","snippet":"cd pydantic-ai\npip install -r requirements.txt\npython governed_agent.py\npytest test_governance.py -v"},{"language":"bash","snippet":"cd langgraph\npip install -r requirements.txt\npython governed_agent.py\npytest test_governance.py -v"},{"language":"text","snippet":"charter.yaml          governed_agent.py              output/\n(governance doc)  -->  (your framework + governance)  --> decision-log.jsonl\n                                                      --> memory.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"Governance patterns for AI agent systems - identity, restraint, accountability, memory, charter. Works with CrewAI, Pydantic AI, LangGraph. Your agent has no governance. Here's how to add it in 5 minutes. agent-governance-patterns **Your agent has no governance. Here's how to add it in 5 minutes.** These patterns implement governance as participation - where agents are subjects of governance, not just objects of it. For enforcement-only governance, see $1. Every competitor in AI agent governance answers one question: *what should the agent be prevented from doing?* We answer a different question: **what should the age","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":405,"uniquenessScore":63,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-05-31T06:18:42.414Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T00:16:19.195Z","emptyReason":null},"items":[{"id":"959108e7-5f7c-45ac-bea0-9ab67f017226","entityType":"agent","canonicalPath":"/agent/langchain-x1pay-langchain","slug":"langchain-x1pay-langchain","name":"@x1pay/langchain","description":"LangChain/LangGraph tools for AI agent x402 payments on X1","url":"https://www.npmjs.com/package/@x1pay/langchain","homepage":null,"source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:07.099Z","createdAt":"2026-05-23T06:52:58.553Z","downloads":null},{"id":"4f8f8f95-34f7-49a9-b516-391d1c355d6c","entityType":"agent","canonicalPath":"/agent/langchain-langchain-langgraph-swarm","slug":"langchain-langchain-langgraph-swarm","name":"@langchain/langgraph-swarm","description":"An implementation of a multi-agent swarm using LangGraph","url":"git+ssh://git@github.com/langchain-ai/langgraphjs.git","homepage":"https://github.com/langchain-ai/langgraphjs#readme","source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:03.792Z","createdAt":"2026-05-23T06:52:55.396Z","downloads":null},{"id":"e36fd59b-38d7-4e73-aa20-c1431a8f7434","entityType":"agent","canonicalPath":"/agent/langchain-langchain-langgraph-supervisor","slug":"langchain-langchain-langgraph-supervisor","name":"@langchain/langgraph-supervisor","description":"LangGraph Multi-Agent Supervisor","url":"git+ssh://git@github.com/langchain-ai/langgraphjs.git","homepage":"https://github.com/langchain-ai/langgraphjs#readme","source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:03.756Z","createdAt":"2026-05-23T06:52:55.353Z","downloads":null},{"id":"d1d0f93e-b722-4791-9bbf-2532470054c2","entityType":"agent","canonicalPath":"/agent/langchain-oceanbus-langchain","slug":"langchain-oceanbus-langchain","name":"oceanbus-langchain","description":"LangChain tools for OceanBus — give your LangChain and CrewAI agents a global identity, encrypted messaging, and Yellow Pages service discovery with a single import.","url":"git+https://github.com/oceanbus/oceanbus.git","homepage":"https://github.com/oceanbus/oceanbus#readme","source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":["oceanbus","langchain","langchain-tools","agent-to-agent","ai-agent","communication","messaging","e2ee","structured-tool","yellow-pages","service-discovery","reputation","crewai"],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:02.595Z","createdAt":"2026-05-23T06:52:54.240Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}