Independent verification layer for autonomous AI agent purchases
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aegis_verify-0.1.0.tar.gz.
File metadata
- Download URL: aegis_verify-0.1.0.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
231fecd82fe70288e0faa8ce2169f8158224c7687066844001a2668cf472c69d
|
|
| MD5 |
05f1840787933f363b5c2b228f00afee
|
|
| BLAKE2b-256 |
cd744648f383a1475333324406bcfca315826f0bd64797754f970cd0fd4b7c66
|
File details
Details for the file aegis_verify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aegis_verify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
961e70e61ee3a10b15e9339f8e864a14b111256fdf47cc9f269ccdd5f3af2194
|
|
| MD5 |
911a0b83246b13c459406471c75deb27
|
|
| BLAKE2b-256 |
ee33364a7c1e5a328eb653e174a9522c46c80846160a90a75a4c4f4442f67cd3
|