OGX让开发者用统一接口部署AI应用,自由切换模型和数据库。
OGX: An Open-Source, Vendor-Neutral Generative AI Application Server
- 统一API接口,支持多种模型和数据库灵活组合。
- 兼容OpenAI、Anthropic等主流厂商接口,无需改代码。
- 适合自建AI工具的开发者,尤其关注部署灵活性者。
OGX(Open GenAI Stack)是一个开源的AI应用服务器与Python库,实现了OpenAI、Anthropic、Google等前沿实验室的API,并支持可插拔的后端服务。开发人员构建代理类AI应用(如检索增强生成流水线、多轮对话代理、工具调用工作流)时,可基于单一API界面开发,部署时任意组合推理引擎、向量数据库和安全后端,无需修改应用代码。其核心聚焦于响应式服务端代理编排的Responses API,符合Open Responses规范;同时支持Anthropic Messages API和Google GenAI Interactions API,实现SDK选择与模型/部署决策解耦。项目提供超过20个推理提供商、13个向量存储后端,以及配套的Kubernetes Operator用于生产部署,已作为Claude Code、Codex CLI、OpenCode、OpenHands等自托管AI开发工具的后端支撑。项目公开近两年,拥有超8,400个GitHub星标、242名贡献者和4,000次提交。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。