Skip to content

ELIDA

Edge Layer for Intelligent Defense of Agents

Session-aware reverse proxy for AI agent governance. Think Session Border Controller (SBC) from telecom — but instead of managing VoIP calls, ELIDA sits between your AI agents and model APIs, giving you visibility and control over every session.


  • Kill runaway agents mid-session — one API call terminates a session instantly
  • 40+ OWASP LLM Top 10 rules — prompt injection, PII leaks, tool abuse, all caught in-line
  • Session-aware failover — route across providers (OpenAI, Anthropic, Ollama, Mistral) with sticky sessions
  • Complete audit trail — every session logged with request/response capture and PII redaction
  • Real-time dashboard — watch every request, token burn, and policy violation as it happens

30-Second Quickstart

docker run -p 8080:8080 -p 9090:9090 \
  -e ELIDA_BACKEND=https://api.groq.com/openai/v1 \
  ghcr.io/zamorofthat/elida:latest

Point your client at it:

# Claude Code
ANTHROPIC_BASE_URL=http://localhost:8080 claude

# Any OpenAI-compatible tool
OPENAI_BASE_URL=http://localhost:8080 your-tool

Open the dashboard at http://localhost:9090.

ELIDA Dashboard

How It Works

              ┌─────────────────────────────────────────┐
              │                 ELIDA                    │
              │                                         │
              │  ┌───────────┐   ┌──────────────────┐   │
 Agents ──────┼─▶│   Proxy   │──▶│  Multi-Backend   │───┼──▶ OpenAI
              │  │  Handler  │   │     Router       │   │──▶ Anthropic
              │  └─────┬─────┘   └──────────────────┘   │──▶ Ollama
              │        │                                │──▶ Mistral
              │  ┌─────▼─────┐   ┌──────────────────┐   │
              │  │  Session  │   │   Control API    │───┼──▶ :9090
              │  │  Manager  │   │   + Dashboard    │   │
              │  └─────┬─────┘   └──────────────────┘   │
              │        │                                │
              │  ┌─────▼─────┐   ┌──────────────────┐   │
              │  │  Policy   │   │    Telemetry     │   │
              │  │  Engine   │   │  (OTEL/SQLite)   │   │
              │  └───────────┘   └──────────────────┘   │
              └─────────────────────────────────────────┘

Every request flows through session tracking and policy evaluation before reaching backends. Sessions are first-class — you can inspect, pause, or kill any agent session via the control API or dashboard.

Documentation

🚀 Getting Started Install and configure ELIDA in minutes
⚙ Configuration Full YAML reference and environment variables
🛡 Security Policies 40+ rules, presets, and custom rule authoring
🔌 Control API REST API for session management and monitoring
📈 Telco Controls Risk ladder, token tracking, and session forensics
🗄 Session Records CDR-style audit trail with full capture
🔗 Integrations LiteLLM, Portkey, Aperture, Oso, and SIEM setup