Catalog PyPI
PACKAGE EXPLORERView in registry

aegis-bedrock

PyPI

AWS Bedrock Agents governance middleware for Aegis ACP (maintenance-only — Anthropic SDK is the active hero)

aegisaiawsbedrockgovernanceguardrailssecuritytool-use
Versions collected1
Direct dependencies2From release 1.1.7
Last observed20 Oct, 20:12 UTC

README

Version 1.1.7 documentation

aegis-bedrock

⚠️ Sprint 25 freeze (2026-06-26): aegis-bedrock is now maintenance-only. The Aegis team has narrowed focus to a single hero SDK, aegis-anthropic, while we drive design-partner revenue. aegis-bedrock continues to receive security patches but no new features until further notice. The drop-in Bedrock contract below remains fully supported against the canonical /execute API; you can keep using it in production.

AWS Bedrock Agents governance middleware for Aegis ACP. Intercepts invoke_agent action-group calls and consults Aegis /execute before any tool runs — same SDK contract as aegis-anthropic and aegis-openai.

Install

pip install "aegis-bedrock[bedrock]"

Use

Drop-in replacement for boto3.client("bedrock-agent-runtime"):

from aegis_bedrock import AegisBedrockAgentRuntime

client = AegisBedrockAgentRuntime(
    aegis_key="acp_…",
    aegis_url="https://aegisagent.in",
    tenant_id="00000000-0000-0000-0000-000000000001",
    agent_id="<your-aegis-agent-id>",
    region_name="us-east-1",          # standard boto3 kwarg
)

response = client.invoke_agent(
    agentId="…",
    agentAliasId="…",
    sessionId="…",
    inputText="Find the customer that owes the most.",
)

Every Bedrock action-group invocation is checked by Aegis before the underlying lambda fires. Blocked actions are replaced with a text-only response explaining the denial; the buyer's Bedrock agent sees a clean governance message instead of a side-effecting tool call.

What Aegis governs

Bedrock primitiveAegis maps toNotes
Action group invocationtool.<action_name>arguments = the JSON parameter block
Knowledge-base querytool.kb_searcharguments = {query, retrievalConfiguration}
Code-interpreter calltool.python_execarguments.code is the Python body

The same per-tool ALLOW grants you've already configured for your Aegis agent are honoured by Bedrock calls — no separate Bedrock permission model.

Standard wrapper guarantees

  • Verdicts are pre-checked. A blocked tool never invokes the lambda / knowledge base / interpreter.
  • HTML 403 (WAFv2) surfaces as findings=["waf_blocked"], same as the other SDKs.
  • JSON parse / network errors fail closed (action="deny").

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.726 Jul 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
abhi-mishra998/aegis

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:179cbbd54052140a9dc4725e7397a641ec0d411876def6478952496663c3fdc1