Skip to main content

🔌 Universal Agent Adapters (OpenAI, Anthropic, Groq, LangGraph & n8n)

from aegis_runtime import AegisRuntime, AegisAgentAdapter

aegis = AegisRuntime()

@aegis.guard(sets_state={"customer_verified": True})
def verify_customer(email: str) -> str:
    """Verify customer identity before sensitive actions."""
    return f"Verified {email}"

@aegis.guard(requires_state={"customer_verified": True})
def issue_refund(amount: float, email: str) -> str:
    """Issue a refund to a verified customer."""
    return f"Refunded \${amount} to {email}"

adapter = AegisAgentAdapter(aegis)

# 1. Export schemas for OpenAI / Groq / LangGraph or Anthropic
openai_tools = adapter.to_openai_tools()
anthropic_tools = adapter.to_anthropic_tools()

# 2. Safely execute incoming LLM tool calls or n8n webhook payloads
response = adapter.execute_tool_call("issue_refund", '{"amount": 500, "email": "user@example.com"}')

Metadata

Release files for aegis-runtime 0.3.0

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

Source distribution (sdist)

Source distribution for aegis-runtime 0.3.0
File Size Uploaded Provenance Actions
aegis_runtime-0.3.0.tar.gz 5.7 kB Without provenance Details for aegis_runtime-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aegis-runtime 0.3.0
File Interpreter ABI Platform Actions
aegis_runtime-0.3.0-py3-none-any.whl Python 3 none any Details for aegis_runtime-0.3.0-py3-none-any.whl

Total release size: 11.5 kB

Release files / aegis_runtime-0.3.0.tar.gz

Download URL aegis_runtime-0.3.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
378f6c58e28d4c0fa285a9b86749c471d7dafa276c600f2da4218fe71fc1a083
BLAKE2b-256 checksum
How to use checksums
97ab625b85bbb97dc9f572f8d535be3d8a8010b1bb1deeda5e9434e8de4eecec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / aegis_runtime-0.3.0-py3-none-any.whl

Download URL aegis_runtime-0.3.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b634a5881064b66985e6482dcfefb4d9653bc99827c3b43e6b37ff5238e8e2c
BLAKE2b-256 checksum
How to use checksums
fe6fffa9f0829333c02cf710973b0d9c280aa82bdd7be00882713bd3c1f00d2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for aegis-runtime 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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