Skip to main content

maigp-bedrock-agentcore

AIGP governance for the AWS Bedrock AgentCore Runtime.

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 agents running on BedrockAgentCoreApp — model, tools, and helper resolution.

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-bedrock-agentcore

Pulls in maigp-agent-core (shared lifecycle) and, transitively, maigp-client.

Quick start

from aigp_agentcore import AgentCoreGovernance, governance_middleware

gov = AgentCoreGovernance(gov_url="https://gov.example.com",
                          app_id="my-bedrock-agent", hmac_secret="secret")

# Register as AgentCore middleware: pre-invoke policy check, helper
# resolution (endpoints + tokens), post-invoke evidence, enforcement.
app.add_middleware(governance_middleware(gov))

Package naming

The distribution is maigp-bedrock-agentcore (the import module remains aigp_agentcore). It was renamed from maigp-agentcore because PyPI rejected that name as too similar to the core library maigp-agent-core.

Helper resolution

HelperResolver fetches downstream endpoints + tokens from the vault (VLT_PRJ) and records traces/evidence to the governance app (GOV_APP).


License: Proprietary. © Kanjani AI Research & Causum.

Metadata

Release files for maigp-bedrock-agentcore 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maigp-bedrock-agentcore 1.1.1
File Size Uploaded
maigp_bedrock_agentcore-1.1.1.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maigp-bedrock-agentcore 1.1.1
File Interpreter ABI Platform
maigp_bedrock_agentcore-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.5 kB

Release files / maigp_bedrock_agentcore-1.1.1.tar.gz

Download URL maigp_bedrock_agentcore-1.1.1.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3677057c9e0ed981fe95ce964be6de91d5107d2f44c89e2a47f645e45e984d24
BLAKE2b-256 checksum
How to use checksums
980bf562bd6ffa611632119aba43b449f275ea7665d57a267a81b5c5355b1521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / maigp_bedrock_agentcore-1.1.1-py3-none-any.whl

Download URL maigp_bedrock_agentcore-1.1.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cf1e28499f41bae107065d32ce0d7bb6218ef224e68da7a946e7b2e5f342ffa
BLAKE2b-256 checksum
How to use checksums
c00436e1f004ef93ed91381d54a7e8b4d5372054d3547ab1764603f0b465f4a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page