Building Aura: An Agentic LLM Gateway in Rust
Summary
Aura is a newly open-sourced LLM gateway, developed in Rust by a Python developer utilizing Claude Code, designed specifically for agentic workflows. While the market already features numerous LLM gateways like LiteLLM, Portkey, Helicone, and OpenRouter—offering diverse capabilities such as observability, guardrails, extensive model access, and high performance (e.g., Bifrost's 11 µs overhead at 5k RPS)—Aura distinguishes itself by being agentic-native. Most existing gateways treat agents as secondary, often normalizing to OpenAI's older "chat/completions" schema, which can flatten or discard critical agent-specific elements like tool calls, reasoning items, and "requires_action" flags. Aura aims to address this gap by providing a gateway that inherently supports these advanced agentic features.
Key takeaway
For AI Engineers building sophisticated agentic LLM applications, you should evaluate Aura as a specialized gateway solution. Existing general-purpose gateways often compromise agent-specific features like tool calls and "requires_action" flags by normalizing to older schemas. Adopting an agentic-native gateway like Aura can streamline your development of complex, multi-step AI workflows, ensuring full fidelity of agent interactions and potentially reducing integration overhead.
Key insights
Agentic LLM workflows demand gateways that natively preserve tool calls and reasoning, not just OpenAI compatibility.
Principles
- Agentic features are often an afterthought in LLM gateways.
- Normalizing to older schemas can drop critical agent data.
- Native agent support is crucial for complex AI systems.
Method
Aura was built in Rust with Claude Code, focusing on an agentic-native design to preserve tool calls, reasoning items, and "requires_action" flags.
In practice
- Consider Aura for agent-centric LLM deployments.
- Explore Rust for high-performance gateway infrastructure.
- Utilize AI coding assistants for multi-language development.
Topics
- LLM Gateways
- Agentic AI
- Rust Programming
- OpenAI API
- Tool Calling
- Claude Code
Code references
Best for: AI Engineer, Machine Learning Engineer, AI Architect
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by AI Advances - Medium.