maigp-crewai
AIGP governance for CrewAI multi-agent orchestration.
Part of MAIGP — the Mediated AI Governance Protocol: a runtime consent / scope / evidence layer for AI systems. Every governed call is CHECKed before it runs (policy, scope, jurisdiction, circuit-breaker) and RECORDed + TRACEd as tamper-evident evidence after.
What it governs
Governs CrewAI crews, tasks, and agents.
Governance model
This adapter maps the framework's lifecycle onto the AIGP agent-governance loop provided by maigp-agent-core:
| Framework event | AIGP action |
|---|---|
| run / invocation start | CHECK (pre_invoke) — allowed? under what authority? |
| each model reply | token accounting (on_model_call) |
| each tool / function call | tool governance (on_tool_call) |
| run complete | RECORD + TRACE (post_invoke) |
| failure | on_error (recorded, then re-raised) |
Install
pip install maigp-crewai
Pulls in maigp-agent-core (shared lifecycle) and, transitively, maigp-client.
Quick start
from crewai import Crew
from aigp_crewai import AigpCrewCallbacks
callbacks = AigpCrewCallbacks(gov_url="https://gov.example.com",
app_id="my-crew", hmac_secret="secret")
# Attach to your Crew so each task runs as a governed child session
crew = Crew(agents=[...], tasks=[...], step_callback=callbacks.on_step)
Multi-agent model
Crew start opens a parent session (CHECK); each task runs as a child session with a delegation token; each agent model call accumulates tokens; crew end emits an aggregate RECORD with linked TRACEs.
Links
- Protocol, specs & full adapter catalog: https://github.com/owner-spec/aigp-protocol
- Issues: https://github.com/owner-spec/aigp-protocol/issues
License: Proprietary. © Kanjani AI Research & Causum.
Metadata
Release files for maigp-crewai 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maigp_crewai-1.0.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maigp_crewai-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / maigp_crewai-1.0.1.tar.gz
| Download URL | maigp_crewai-1.0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
671ce42c444e3f3d03929bd5042cdec945c1ba92aa066178102e5e007057a728
|
|
BLAKE2b-256 checksum How to use checksums |
146b53b9f22afddf68188c0f181b7e8c60bbcf7cea15ab515767aa4f655ddd9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / maigp_crewai-1.0.1-py3-none-any.whl
| Download URL | maigp_crewai-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59a60d0f4a77eefedcb68c1e3801a0ad0ae751af29477138d77f97b9516661a3
|
|
BLAKE2b-256 checksum How to use checksums |
b6a180109ec800b2790d442f47ffa19d547c15fce5b59cfd6440aadbba2eeed0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|