OGX: An Open-Source, Vendor-Neutral Generative AI Application Server
06:00 · August 18, 2026 · arXiv cs.AI RSS

OGX (Open GenAI Stack) is an open-source AI application server and Python library that implements the APIs of major frontier labs (OpenAI, Anthropic, Google) with pluggable backend providers. Developers building agentic AI applications--such as retrieval-augmented generation pipelines, multi-turn agents, and tool-calling workflows--can develop against a single API surface and deploy with any combination of inference engine, vector database, and safety backend, without changing application code. OGX's primary focus is the Responses API for server-side agentic orchestration, conforming to the Open Responses specification. The server also supports the Anthropic Messages API and Google GenAI Interactions API, decoupling SDK choice from model and deployment decisions. With over 20 inference providers, 13 vector store backends, and a companion Kubernetes Operator for production deployment, OGX serves as the self-hosted, model-agnostic backend for AI-powered developer tools including Claude Code, Codex CLI, OpenCode, and OpenHands. The project has over 8,400 GitHub stars, 242 contributors, and 4,000 commits across nearly two years of public development.
Summary
OGX is an open-source AI application server and accompanying Python library that exposes the API surfaces of OpenAI, Anthropic, and Google while routing every capability—inference, vector storage, tool execution, and safety—to interchangeable backends. Developers therefore write against a single set of endpoints and later change the underlying engines or databases through configuration rather than code changes. The design directly targets the coupling that currently forces agentic applications to remain tied to a single vendor’s infrastructure.
At its core, OGX implements the Open Responses specification for server-side agentic orchestration. The inference–tool–inference loop, conversation state, and safety checks all execute inside the server process, allowing centralized authorization and tenant isolation. The same instance also presents the Anthropic Messages and Google GenAI Interactions endpoints, so SDK choice becomes independent of both model selection and deployment target. More than twenty inference providers and thirteen vector-store backends are already supported, together with built-in tools for retrieval-augmented generation, code interpretation, and Model Context Protocol integration.
Two deployment modes share identical provider routing and semantics. Library mode permits direct Python import for notebooks and rapid prototyping; server mode exposes HTTP endpoints for multi-language clients and production workloads. A companion Kubernetes Operator packages these capabilities for scalable, self-hosted operation, while attribute-based access control enforces isolation across tenants at the retrieval, tool, and state layers. A peer-reviewed security analysis confirms that the ABAC mechanisms prevent cross-tenant leakage with negligible overhead.
By occupying the space between low-level inference engines, API gateways, and client-side orchestration frameworks, OGX supplies the missing server-side substrate for tools such as Claude Code, Codex CLI, OpenCode, and OpenHands. The project has accumulated more than 8,400 GitHub stars and 242 contributors over nearly two years, indicating sustained adoption among teams that require vendor-neutral, self-hosted generative-AI infrastructure.
Why it matters
Directly actionable for Dutch SMEs and researchers seeking vendor-neutral, self-hosted AI infrastructure that supports EU data sovereignty, ethical AI, and regulated deployments without code changes.










