Aegis
Independent verification layer for autonomous AI agent purchases.
Aegis intercepts AI agent purchase intents, runs multi-dimensional verification checks, and returns an approve/flag/block decision — before money moves.
Your AI agent is about to spend $347 on the wrong hotel. Aegis catches that.
Why Aegis?
AI agents are increasingly making autonomous purchases — booking travel, ordering supplies, executing transactions. But there's no standard infrastructure to verify these purchases before they execute.
Agents overpay. They buy the wrong thing. They fall for scam sellers. They agree to hidden subscriptions. Aegis fixes this.
Quick Start
pip install aegis-verify
from aegis import verify_purchase
result = await verify_purchase(
intent={
"item": "Sony WH-1000XM5 Headphones",
"price": 278.00,
"seller": "electronics-deals-store.com",
"original_instruction": "best noise canceling headphones under $300"
}
)
if result.decision == "approve":
await execute_purchase()
elif result.decision == "flag":
print(f"Concerns: {result.reasons}")
elif result.decision == "block":
print(f"Blocked: {result.reasons}")
What Aegis Checks
| Module | What It Does |
|---|---|
| Price Verification | Compares against market prices across multiple sources |
| Intent Matching | Verifies purchase aligns with the original user request |
| Authorization | Checks budgets, spending limits, and permissions |
| Seller Verification | Validates merchant legitimacy and reputation |
| Terms Review | Analyzes refund policies, auto-renewals, hidden fees |
Integrations
LangChain
from aegis.integrations import LangChainAuditTool
tools = [LangChainAuditTool()]
CrewAI
from aegis.integrations import CrewAIAuditTool
agent = Agent(tools=[CrewAIAuditTool()])
Claude MCP
{
"mcpServers": {
"aegis": {
"command": "aegis-mcp"
}
}
}
How It Works
User Request → Agent Proposes Purchase → Aegis Verifies → Approve/Flag/Block → Execute or Halt
See the full Developer Workflow Diagram for details.
Roadmap
- Core verification engine with 5 modules
- LangChain integration
- CrewAI integration
- Claude MCP server
- Hosted API with dashboard
- Seller-side verification tools
- Decentralized validator network
Contributing
Contributions welcome! Open an issue or submit a pull request.
License
MIT — see LICENSE for details.
Metadata
Release files for aegis-verify 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aegis_verify-0.1.0.tar.gz | 40.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aegis_verify-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.2 kB
Release files / aegis_verify-0.1.0.tar.gz
| Download URL | aegis_verify-0.1.0.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
231fecd82fe70288e0faa8ce2169f8158224c7687066844001a2668cf472c69d
|
|
BLAKE2b-256 checksum How to use checksums |
cd744648f383a1475333324406bcfca315826f0bd64797754f970cd0fd4b7c66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / aegis_verify-0.1.0-py3-none-any.whl
| Download URL | aegis_verify-0.1.0-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
961e70e61ee3a10b15e9339f8e864a14b111256fdf47cc9f269ccdd5f3af2194
|
|
BLAKE2b-256 checksum How to use checksums |
ee33364a7c1e5a328eb653e174a9522c46c80846160a90a75a4c4f4442f67cd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for aegis-verify 0.1.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.