Metadata-Version: 2.4
Name: aegis-runtime
Version: 0.5.0
Summary: Zero-trust deterministic flight controller for AI agents: circuit breakers, state locks, human-in-the-loop approvals, policy-as-code, atomic rollbacks, and SHA-256 audit logs.
License: MIT
Keywords: ai,agents,security,llm,guardrails,deterministic,runtime
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: groq
Requires-Dist: groq>=0.9.0; extra == "groq"
Dynamic: license-file

# 🛡 Aegis Runtime (`aegis-runtime`) v0.5.0

**Zero-trust deterministic flight controller for AI agents** featuring circuit breakers, state locks, human-in-the-loop approval gates, Policy-as-Code, atomic state rollbacks, and SHA-256 tamper-proof audit logs with zero external dependencies.

```bash
pip install aegis-runtime
```

## Core Features & Quickstart

Aegis enforces hard deterministic rules in Python prior to sensitive tool execution to prevent indirect prompt injections and runaway loops. 

* **Policy-as-Code (`aegis_policy.json`)**: Define rules, required state flags, argument limits, and approval requirements externally.
* **Human-in-the-Loop & Universal Adapters**: Attach approval callbacks or export tool schemas for OpenAI, Anthropic, Groq, LangGraph, and n8n.
* **Atomic Time-Travel Rollbacks (`@aegis.transaction`)**: Automatically rewind state stores if a multi-step workflow fails.
* **Cryptographic Verification**: Export and verify SHA-256 hash-chained compliance audit logs via the CLI (`aegis verify audit.json`).

For full implementation details, policy schemas, and code examples, please refer to the complete documentation in the repository's `README.md`.

## License

MIT License
