1pip install aurex-sdk
1from aurex_sdk import AurexAuditor, patch_all2import openai34# 1. Initialize and patch (no manual logging required)5auditor = AurexAuditor()6patch_all()78# 2. Use your LLM library exactly as before9client = openai.OpenAI()10response = client.chat.completions.create(11 model="gpt-4o",12 messages=[{"role": "user", "content": "Explain quantum entanglement."}]13)1415# 3. View the runtime report16score = auditor.get_score()17print(f"Efficiency Score: {score.value}/100")18# => Efficiency Score: 84/10019# => Flags: ['cache_opportunity: $12.40/month saving on system prompt']
No data leaves your machine by default. Cloud sync is opt-in. The ledger file at ~/.aurex/ledger.jsonl is human-readable JSON and can be inspected at any time. It contains only numeric metadata - never raw prompt text.
Aurex is a runtime layer for AI agents. It sits in-process between your application code and LLM provider APIs, routing each call to the right model, compressing context, and recovering from provider failures - automatically, in under 2ms.
Start at /llms.txt for task → URL routing. Fetch one page per concern (e.g. /docs/reference/config, /docs/reliability/policy) - avoid loading hub pages for implementation detail.
Install the Python or Node SDK and start routing your first request in under two minutes.
Deploy in serverless, containers, or multi-worker environments.
Match integration depth to your existing stack - auto-patch, wrap, or manual.
Focused pages for config, guards, providers, health, and CI - one topic per URL.
Automatic failover, fallback routing, and provider health monitoring.
Search for a command to run...