Skip to main content
Free Community Edition · Self-Hosted · No Credit Card

Govern, audit, and route every LLM, MCP, and agent-to-agent call.

Agents are reaching production faster than governance can keep up. DVARA is the AI governance platform that closes the gap — policy, immutable audit, and cost control on every LLM, MCP, and agent-to-agent call.

dvara-gatewayzsh
$docker run -p 8080:8080 -e OPENAI_API_KEY=sk-... \
> ghcr.io/dvarahq/dvara-llm-gateway:latest
DVARA Gateway started on :8080
LLM Proxy ready :8080 · MCP Proxy :8070 → dvara-mcp-gateway
A2A Proxy ready :8075 → dvara-a2a-gateway
$ curl -X POST localhost:8080/v1/chat/completions \
> -H "Authorization: Bearer $TOKEN" \
> -d '{"model":"gpt-4o","messages":[...]}'
policy: PASS pii-scan: CLEAN audit: SIGNED cost: $0.0032
{"choices":[{"message":{"content":"..."}}],"usage":{"total_tokens":214}}
14
LLM providers
$0
Per-request fees
7/10
OWASP LLM Top 10 covered
<2min
Zero to first request
Works With

One drop-in OpenAI-compatible endpoint in front of 14 LLM providers. Built on the open standards your platform team already runs.

OpenAI
Anthropic
Google Gemini
AWS Bedrock
Azure OpenAI
Mistral
Cohere
Groq
Ollama
Qwen
DeepSeek
Moonshot
ChatGLM
Grok
Built on Open Standards
OpenAI APIModel Context ProtocolOpenTelemetryPrometheusHelm + KubernetesOWASP LLM Top 10SOC 2 / HIPAA / GDPR evidenceOIDC / SAML 2.0
Capabilities dashboard illustration

Everything You Need to Govern AI at Scale

Policy-as-Code, immutable audit, PII redaction, cost control, and agentic AI + MCP + agent-to-agent governance in one platform — from your first API call to enterprise audit and compliance.

🛡
Policy-as-Code Engine

YAML DSL for model allowlists, token limits, MCP tool restrictions, budget-based downgrades, and time-of-day rules. Dry-run mode before activation. Draft → Active → Shadow lifecycle with versioning and rollback.

Policy-as-Code for LLMs →
🚨
Guardrails & Safety

In-process PII detection (regex always-on + embedded scanner opt-in, 22 filter types including India Aadhaar / PAN) and prompt-injection / jailbreak detection on every call. Content filters, output-schema enforcement, and grounding/hallucination checks round out coverage of 7 of the 10 OWASP LLM Top 10 categories (see below). Optional ML classifiers (Lakera, Shield Gemini, AWS Bedrock Guardrails, Aporia) plus an in-process ONNX prompt-injection classifier — no egress — and HTTP plugins.

LLM guardrails & injection protection →
🔏
Immutable Audit Trail

Every request HMAC-SHA256 signed with hash-chain integrity verification. Tamper detection built in. SOC2, HIPAA, and GDPR evidence packages generated on demand.

AI audit & compliance →
🤖
Agentic AI + MCP Proxy

MCP server registry and governed tool-call proxy with PII scanning on arguments and responses, human approval gates, and credential centralisation. Agent loop detection with auto-kill, session tracking across LLM and MCP calls, full session timeline.

🔗
Agent-to-Agent Governance

A first-class A2A plane governs every agent-to-agent hop — caller identity, a registry of allowed peers, per-hop policy, PII scanning, loop detection, and durable human approval. Its own tamper-evident, HMAC-chained audit records every delegation, unioned into SIEM and compliance reports.

🔐
Multi-Tenant + BYOK

Row-level tenant isolation on every query. Each tenant brings their own provider keys (AES-256-GCM at rest or vault-reference). Strict-BYOK rejects platform fallback when enabled. 3-level config hierarchy: global → tenant → API key.

💰
FinOps & Cost Control

Real-time per-request cost calculation. Budget caps per tenant or API key. Automatic model downgrade at soft limit. Chargeback reports and cost forecasting.

LLM cost attribution →
🔄
Multi-Provider API & Routing

Drop-in OpenAI-compatible endpoint across 14 providers — OpenAI, Anthropic, Gemini, Azure, Bedrock, Ollama and more — with zero code changes. Chat, Responses, and Batch APIs. Latency-, cost-, and capability-aware routing with circuit breakers, failover with exponential backoff, and canary / A/B testing. Streaming, structured outputs, and vision built-in.

🔍
Full Observability

Prometheus metrics, OpenTelemetry distributed tracing with GenAI semantic conventions (gen_ai.*) — export to Langfuse and Arize Phoenix — and structured JSON logging. Reference Grafana dashboards in dvara-examples. Unified traces spanning LLM turns and MCP tool calls.

Route planning illustration

Three Governed Data Planes. One Control Plane.

The LLM Gateway sits at the edge for model traffic. The MCP Proxy governs tool calls, and the A2A Proxy governs agent-to-agent hops — both inside your perimeter. All three share the same policies, audit trail, and API keys.

Control Planeone, shared
LLM Data Plane
</>
Your App
Agent / API Client
{}
LLM Gateway
:8080
AI
Providers
OpenAI · Anthropic · Gemini
MCP Data Plane
</>
Your App
Agent / IDE
{}
MCP Proxy
:8070
DB
Tools
DB · FS · Slack · APIs
A2A Data Plane
</>
Your Agent
Framework / Orchestrator
{}
A2A Proxy
:8075
A→B
Peer Agents
Governed per-hop delegation
PoliciesAuthAuditBudgetsPII
Performance illustration

Built for Production Scale

Governance with near-zero performance tax. Every layer is optimised for throughput — lightweight concurrency, tamper-evident audit, multi-layer caching, and zero-copy streaming.

Single-digitms
added gateway latency
Policy checks run in single-digit milliseconds in typical configurations. Governance adds near-zero overhead to your AI calls; exact numbers vary by enabled guardrails and your provider mix.
Tamper-evident
audit chain
Every event HMAC-SHA256 signed and hash-chained on the response path. Chain continuity is verifiable end-to-end — any gap or alteration is detectable.
Active-active
multi-region
Run multiple regions active-active with automatic failover. Data residency is preserved during failover — EU tenant traffic stays in the EU.
Lightweight Concurrency
Virtual-thread concurrency handles thousands of concurrent connections per node with minimal memory per request. No thread pool tuning required.
Zero-Copy Streaming
SSE tokens flushed immediately with no buffering or rewriting. First token arrives the instant the provider emits it.
Tamper-Evident Audit
Every event HMAC-SHA256 signed and hash-chained on the response path. Append-only by application invariant; chain continuity verifiable end-to-end.
Multi-Layer Caching
In-memory distributed cache delivers sub-millisecond policy, auth, and config lookups. Automatic invalidation on every mutation — fleet-wide consistency in seconds, not minutes.
Automatic Failover
Per-provider health monitoring with instant failover on degradation. Requests reroute seamlessly — your users never notice.
Stateless Data Plane
Restart any pod without coordination — durable state lives in Postgres; the hot-path cache replicates across the cluster. Lightweight database footprint per pod; scale horizontally behind your HPA.

Governance Is the Architecture, Not a Feature

In every competitor, governance is bolted onto a proxy. In DVARA, governance is the design constraint that shaped every layer.

D1
Policy-as-Code with Dry-Run
Competitors: config flags or basic allowlists.

Full YAML DSL with version control, conflict detection at load time, and dry-run mode that evaluates the policy against a provided context before activation. Your auditors get proof that policies were tested before deployment.

D2
Immutable, HMAC-Signed Audit
Competitors: log to stdout or a mutable database.

Every record HMAC-SHA256 signed and hash-chained on the response path. Chain continuity is verifiable end-to-end — any gap or alteration is detectable. Append-only by application invariant, not by hopeful convention.

D3
Tamper-Evident Audit, Down to the MCP Tool Call
Competitors: MCP tool calls land in a mutable log, separate from LLM audit.

Every MCP tool call is HMAC-SHA256 signed and hash-chained into the same append-only audit as your LLM traffic — one tamper-evident record across model calls and tool calls, policy-checked and PII-scanned on a single control plane.

D4
Agentic AI Governance
Competitors: nothing meaningful for agent loops.

Full OpenTelemetry trace spanning LLM turns + MCP calls. Agent loop detection with auto-kill. Human-in-the-loop approval for high-risk tool calls. Session-level cost and compliance summary.

Compliance analysis illustration

Audit-Ready from Day One

Generate compliance evidence packages on demand. Every request is immutably logged, every policy decision recorded, every PII event tracked.

SOC 2 evidence
HIPAA evidence
GDPR evidence
India RBI evidence
India SEBI evidence
The immutable audit log in DVARA Flightdeck — signed, hash-chained events filterable by event type, actor, and tenantThe immutable audit log in DVARA Flightdeck — signed, hash-chained events filterable by event type, actor, and tenant
The immutable audit log in DVARA Flightdeck — filter by event type, actor, or tenant, and export SOC 2, HIPAA, or GDPR evidence.
Immutable Audit Trail
HMAC-SHA256 signed records with hash-chain integrity verification. Tamper detection built in.
Scheduled Reports
Weekly or monthly compliance report delivery in PDF and JSON.
PII Detection Log
Every redaction event logged with action taken, pattern matched, and tenant context — including India Aadhaar / PAN detectors.
Policy Decision Records
Every request logs ALLOW/DENY with rule ID and reason. Full dry-run history.
Right to Erasure
GDPR tenant data purge pipeline with confirmation and audit trail.
Data Residency
Per-tenant region pinning. EU tenant traffic never leaves EU — enforced during failover.

OWASP LLM Top 10 Coverage

DVARA addresses 7 of the 10 OWASP categories at the gateway layer, with 2 partial-coverage items and 1 outside the gateway boundary. Every detection writes a signed audit event you can hand to your auditor.

LLM01
Prompt Injection
Full coverage

Pre-filter pipeline with regex patterns + ML classifier plugins (Lakera, Shield Gemini). Per-tenant custom injection patterns. Detected requests blocked or flagged with policy decision recorded.

LLM02
Sensitive Information Disclosure
Full coverage

In-process PII detection (regex always-on + embedded scanner opt-in, 22 filter types). BLOCK / REDACT / LOG actions per tenant. Response scanning before delivery. Reversible tokenisation for downstream re-identification.

LLM03
Supply Chain
Partial

BYOK credential model with AES-256-GCM at rest, vault integration (HashiCorp / AWS / Azure), rotation with grace period, and audit of every credential resolution. Provider model selection is operator-controlled, not auto-pulled.

LLM04
Data and Model Poisoning
Out of scope

Out of scope at the gateway layer — training-time concern handled by the model provider. DVARA enforces provider allowlists so unvetted models cannot be used.

LLM05
Improper Output Handling
Full coverage

Output schema validation (JSON Schema enforcement across providers), structured-output translation, post-filter pipeline for XSS / SQLi / SSRF patterns, and response sanitisation before delivery.

LLM06
Excessive Agency
Full coverage

MCP tool-call proxy with per-tool policy rules, human approval gates enforced at execution time, agent loop detection with auto-kill, session-level tool catalogue, and per-tool cost attribution. The A2A plane extends the same controls to agent-to-agent hops — per-hop policy, approval, and loop detection on every delegation.

LLM07
System Prompt Leakage
Full coverage

Guardrail patterns detect prompt-extraction attempts. Output-side scanning catches leaked system prompts before they leave the gateway. Per-tenant denylist for sensitive prompt fragments.

LLM08
Vector and Embedding Weaknesses
Partial

Semantic cache uses tenant-isolated vector stores so a poisoned cache entry from one tenant cannot affect another. Signed audit of every cache hit + miss; cache configurations are operator-managed.

LLM09
Misinformation
Full coverage

Grounding / hallucination detection via embedding-similarity scoring of model output against operator-supplied source documents. Below-threshold claims flagged, logged, or blocked per policy.

LLM10
Unbounded Consumption
Full coverage

Hard + soft budget caps per tenant / team / API key, automatic model downgrade on soft breach, rate limiting, max-tokens enforcement, context-window governance with auto-prune, and request size limits.

Where does your AI stack stand?

You've just seen the failure modes. The AI Agent Production-Readiness Scorecard scores your stack against them in 15 questions — visibility, cost, audit, blast radius, and data residency. Governance either sits in the request path, or it doesn't count. Find out which side you're on.

0–2 gaps
In control
3–6
Exposed at the edges
7–10
Governance in a slide deck
11–15
Ungoverned
Take the free 5-minute scorecard →

15 questions · ~5 minutes · nothing you answer leaves your browser

How DVARA Compares

Most gateways now cover the basics. DVARA's depth is the gap that remains — tamper-evident signed audit, argument-level MCP policy, PII on tool-call arguments, and agentic kill-switches. We grade DVARA against 10 gateways across 50 capabilities.

Coding assistant illustration

Developers Love It. Compliance Requires It.

Every stakeholder gets exactly what they need from the same platform.

Developer
"I'm calling five LLM providers with five different SDKs and no fallback."

One endpoint. Drop-in compatibility. Route to any provider with automatic failover. Add streaming, rate limiting, and observability in minutes.

Platform Engineer
"12 teams calling LLMs directly. Agents hitting databases with no governance."

Three governed data planes, one control plane. LLM Gateway at the edge, MCP Proxy and A2A Proxy inside the perimeter. Adopt incrementally — add tool and agent-to-agent governance when agents go to production.

Compliance Officer
"Auditors want proof of what AI systems were used and that no PII was leaked."

Immutable audit trail with tamper-evident signatures. PII detected and redacted before reaching providers. Compliance evidence packages generated on demand.

CISO
"Developers are calling GPT-4 from their laptops. We have no idea what data is leaving."

Hard policy enforcement at the gateway. PII blocked before it leaves your network. Role-based access to authorised models only. Every request logged and auditable.

CFO / FinOps
"AI spend is $40K/month and we can't tell which team is spending what."

Real-time cost tracking per request. Budget caps that automatically enforce. Monthly chargeback reports. Semantic caching eliminates repeated token spend on duplicate prompts.

CTO
"We need the governance layer we'd build in 18 months — but we need it now."

Three governed data planes — AI at the edge, tools and agent-to-agent hops inside the perimeter — managed as one. Production-grade performance. Enterprise-ready from day one.

Questions teams ask before they deploy.

Is DVARA open source?

No — DVARA is a commercial AI governance platform, not open source. It ships as a free, closed-source Community Edition you can self-host forever (the governed gateway plus starter governance), and a licensed Enterprise Edition with the full engines — SSO, tamper-evident audit, FinOps, MCP and A2A governance. To evaluate the Enterprise feature set, book a demo and we issue a time-boxed Enterprise trial license.

Can we self-host DVARA?

Yes. DVARA runs in your own infrastructure as container images, with bring-your-own-key credentials so provider keys and request data never leave your perimeter. A fully managed option is available if you would rather not operate it yourself.

How is DVARA different from LiteLLM?

LiteLLM is an open-source library and proxy for multi-provider routing. DVARA is an AI governance platform — Policy-as-Code, immutable signed audit, PII and injection guardrails, and argument-level MCP tool-call governance are built into the request path, not bolted on. See the full comparison →

What is the latency overhead?

Governance runs in-process on the request path — there is no extra network hop to a separate policy service. Policy checks add single-digit milliseconds in typical configurations, the tenant lookup resolves in under a millisecond, and optional caches add no overhead when disabled. The Flightdeck dashboard reports live P95 latency for your own traffic.

Which LLM providers are supported?

14 today — OpenAI, Anthropic, Google Gemini, AWS Bedrock, Azure OpenAI, Mistral, Cohere, Groq, and more — behind one OpenAI-compatible endpoint, plus self-hosted models via Ollama.

Do we need to change our application code?

No. DVARA is drop-in OpenAI-compatible — point any OpenAI SDK or tool at the gateway URL and governance applies on the first call. Tool calls from AI agents are governed the same way through the MCP Proxy.

The evidence your auditor asks for — built into every request, not bolted on after.

Tamper-evident audit
Every LLM, MCP, and agent-to-agent call is HMAC-signed and hash-chained into an append-only trail.
Compliance evidence on demand
Generate SOC 2, HIPAA, and GDPR reports from real traffic.
OWASP LLM Top 10
7 of 10 risks covered — the remaining gaps documented in the open.
Your perimeter, your keys
Self-host with bring-your-own-key. Credentials and data never leave your control.

Preparing for a SOC 2 audit? See the evidence DVARA generates →

See It in Action.
Run the Free Community Edition.

Self-host the free Community Edition in your own infrastructure and see governance working on your first request — in about five minutes.