maigp-strands
AIGP governance for the Strands Agents SDK.
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 Strands agents via a governed callback handler.
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-strands
Pulls in maigp-agent-core (shared lifecycle) and, transitively, maigp-client.
Quick start
from aigp_strands import AigpGovernance, AigpCallbackHandler
gov = AigpGovernance(gov_url="https://gov.example.com",
app_id="my-strands-agent", hmac_secret="secret")
handler = AigpCallbackHandler(gov) # register with your Strands agent
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-strands 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_strands-1.0.1.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maigp_strands-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / maigp_strands-1.0.1.tar.gz
| Download URL | maigp_strands-1.0.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6d4abaa88c50c427db8d15c903cf187fc7a302dfb59161a93f6b69c65917e29
|
|
BLAKE2b-256 checksum How to use checksums |
c382660040e2834c21374ffa4adc85dfd155028ce9ceb56422f93f07293d5cb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / maigp_strands-1.0.1-py3-none-any.whl
| Download URL | maigp_strands-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f88576876459f4dff3ca16c7e6e5f37a5162b83c0aa9a953b9a17a8af9a9c44
|
|
BLAKE2b-256 checksum How to use checksums |
4f411456a782d35d382102b51807ef8d51128bcf832c553b72eca83f81a24375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|