Run ValGuard with the tools you already use
OpenAI-compatible base URL swap for frameworks, voice stacks, gateways, and canvases. Each page states what ValGuard actually covers (validation on LLM completions), honest limits, and links to Trust and pricing.
Frameworks & SDKs
- OpenAI Agents SDK
Keep Agents SDK workflows. Add ValGuard as the OpenAI-compatible base URL so input and output policies stay auditable across models.
- LangGraph
Insert ValGuard between LangGraph nodes so a failed schema or policy check cannot become the next node's input.
- LangChain
Point ChatOpenAI (or any OpenAI-compatible LangChain chat model) at ValGuard. Same agent slug and rule packs across Python services.
- LlamaIndex
Configure the OpenAI-compatible LLM client in LlamaIndex with ValGuard as base URL so retrieval-augmented answers pass policy before tools run.
- CrewAI
Point each CrewAI agent LLM at ValGuard. Task guardrails in CrewAI stay in-process; the proxy shares packs across crews and other languages.
- Vercel AI SDK
Use createOpenAI with ValGuard base URL and X-VG-Agent. Block and re-ask rules buffer the stream before the UI sees tokens.
Gateways & routers
- LiteLLM
Set ValGuard as api_base for a LiteLLM model alias so routing and fallbacks sit upstream while rules run on every completion.
- Portkey
Register ValGuard as a custom OpenAI-compatible host in Portkey. Disable cache on paths that must hit validators every time.
- OpenRouter
Use openrouter/ model prefixes through ValGuard Provider Vault, or point a client at ValGuard when OpenRouter is your upstream.
Observability
- Langfuse
Enforce packs on the ValGuard path. Attach X-Request-Id and validation status to Langfuse generation metadata so blocks show up in the same timeline.
Voice agents
Canvases
- n8n
Point n8n LLM credentials at ValGuard or call the chat-completions endpoint from an HTTP Request node. Branch on validation results.
Protocols
- MCP
Route MCP host model calls through ValGuard. Tool side effects still need explicit gates — see the MCP security guide.