Skip to main content

Blog

Insights on AI governance, agentic security, and building production-grade AI infrastructure.

Streaming, Structured Outputs, Observability, and Local Models

Streaming, Structured Outputs, Observability, and Local Models

· 5 min read
Correction, 2026-08-28

This post was published against 1.0.0 and referred to the gateway image as ghcr.io/dvarahq/dvara/dvara-llm-gateway. The package was renamed to ghcr.io/dvarahq/dvara-gateway in 1.7.0, so the original command no longer pulls anything. The commands below have been updated to the current image and tag; the rest of the post is unchanged.

In the previous post, you got DVARA running and sent requests to multiple providers through a single OpenAI SDK client. This post covers the next layer of AI gateway capabilities — LLM streaming, structured JSON outputs, Prometheus observability, and local development with Ollama.

Run Your First Governed LLM Call with the OpenAI SDK

Run Your First Governed LLM Call with the OpenAI SDK

· 7 min read
Correction, 2026-08-28

This post was published against 1.0.0 and referred to the gateway image as ghcr.io/dvarahq/dvara/dvara-llm-gateway. The package was renamed to ghcr.io/dvarahq/dvara-gateway in 1.7.0, so the original command no longer pulls anything. The commands below have been updated to the current image and tag; the rest of the post is unchanged.

DVARA is an AI gateway that governs model, tool and agent-to-agent calls. Its LLM Gateway accepts the OpenAI API shape, so an existing SDK can use DVARA by changing the base URL. Your application keeps the same client while model requests gain policy, PII checks, budgets, audit, routing, and operational evidence.

Why AI Traffic Needs More Than an API Gateway

Why AI Traffic Needs More Than an API Gateway

· 10 min read
Correction, 2026-08-28

This post was published against 1.0.0 and referred to the gateway image as ghcr.io/dvarahq/dvara/dvara-llm-gateway. The package was renamed to ghcr.io/dvarahq/dvara-gateway in 1.7.0, so the original command no longer pulls anything. The commands below have been updated to the current image and tag. The post also described the MCP Proxy as a dedicated process on port 8070; in 1.7.0 the MCP and A2A planes moved into the gateway process, so that port no longer exists and the sentence has been corrected. Current documentation calls this component the DVARA MCP Gateway. The rest of the post is unchanged.

Your API gateway handles TLS termination, rate limiting, and request routing. It does these things well. But when your traffic carries prompts, tokens, tool calls, and model-specific payloads, an API gateway becomes a passthrough — it can see the HTTP envelope but not the AI semantics inside it.