Agents & Routing
Agents represent the applications or services consuming AI models through Alephant. By creating an Agent, you generate an isolated Virtual Key (VK) for that specific use case.
Creating an Agent
When you create an Agent, you define:
- Basic Info: Name and description of the application.
- Configuration: The desired LLM provider, target model, and environment (e.g., production, staging).
- Routing: The underlying Master Key (Provider Key) to process the requests.
Upon creation, Alephant automatically generates a Virtual Key bound to this Agent.
Agent Observability
Agent metrics (request volume, latency, cost, tokens) are deeply tracked in the dashboard. While the Agent count itself does not affect your subscription billing, tracking per-Agent performance is crucial for optimization and identifying anomalies (like latency spikes or abnormal costs).
Smart Routing
With Alephant, you can implement smart routing policies (on supported plans) to configure fallback models. If a primary provider experiences downtime, the gateway can seamlessly route traffic to a secondary provider without any code changes on your end.