Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

ogx

> 编程语言
Open source

Open GenAI Stack

8.4K stars0 likes2 views
WebsiteGitHub

About

Open GenAI Stack

OGX

Quick Start | Documentation | OpenAI API Compatibility | Discord

[!IMPORTANT] Llama Stack is now OGX. The name changed, and so did the mission — model-agnostic, multi-SDK, production-grade. Read the full announcement →

Open-source agentic API server for building AI applications. OpenAI-compatible. Any model, any infrastructure.

OGX is a drop-in replacement for the OpenAI API that you can run anywhere — your laptop, your datacenter, or the cloud. Use any OpenAI-compatible client or agentic framework. Swap between Llama, GPT, Gemini, Mistral, or any model without changing your application code.

python
from openai import OpenAI

client = OpenAI(base_url="http://localhost:8321/v1", api_key="fake")
response = client.chat.completions.create(
    model="llama-3.3-70b",
    messages=[{"role": "user", "content": "Hello"}],
)

What you get

  • Chat Completions & Embeddings — standard /v1/chat/completions, /v1/completions, and /v1/embeddings endpoints, compatible with any OpenAI client
  • Responses API — server-side agentic orchestration with tool calling, MCP server integration, and built-in file search (RAG) in a single API call (learn more)
  • Vector Stores & Files — /v1/vector_stores and /v1/files for managed document storage and search
  • Batches — /v1/batches for offline batch processing
  • Skills — /v1alpha/skills for managing versioned skill bundles (zip archives with SKILL.md manifests) that agents can invoke
  • Open Responses conformant — the Responses API implementation passes the Open Responses conformance test suite
  • Multi-SDK support — use the Anthropic SDK (/v1/messages) or Google GenAI SDK (/v1alpha/interactions) natively alongside the OpenAI API

Use any model, use any infrastructure

OGX has a pluggable provider architecture. Develop locally with Ollama, deploy to production with vLLM, or connect to a managed service — the API stays the same.

See the provider documentation for the full list.

Get started

Install and run a OGX server:

bash
# One-line install
curl -LsSf https://github.com/ogx-ai/ogx/raw/main/scripts/install.sh | bash

# Or install via uv
uv pip install ogx

# Start the server (auto-detects providers from the environment)
uv run ogx go

Then connect with any OpenAI, Anthropic, or Google GenAI client — Python, TypeScript, curl, or any framework that speaks these APIs.

See the Quick Start guide for detailed setup.

Resources

  • Documentation — full reference
  • OpenAI API Compatibility — endpoint coverage and provider matrix
  • Getting Started Notebook — text and vision inference walkthrough
  • Contributing — how to contribute

Client SDKs:

OGX provides official client SDKs for Python and TypeScript:

Language SDK Package
Python ogx-client-python
TypeScript ogx-client-typescript

Community

We hold regular community calls every Thursday at 09:00 AM PST — see the Community Event on Discord for details. Thanks to all our amazing contributors!

Issues· 132 open

View all issuesOpen on GitHub
  • #5607

    Fall back inference does not drop reasoning_effort attribute

    bugstaleUpdated Oct 1, 2026
  • #5954

    Milvus, Chroma, and Weaviate providers do not persist vector store metadata to kvstore

    bugstaleUpdated Oct 1, 2026
  • #6681

    Enable /v1/messages integration tests for the remaining native passthrough providers

    Updated Sep 30, 2026
  • #6685

    feat(bedrock): add list_inference_profiles() to BedrockInferenceAdapter for cross-region model autodiscovery

    Updated Sep 29, 2026
  • #5952

    feat(mcp): prepare for MCP 2026-07-28 Release Candidate breaking changes

    staleUpdated Sep 29, 2026
  • #6572

    httpx no longer maintained, consider httpx2 fork

    tech-debtUpdated Sep 28, 2026
  • #6670

    ci: remove dead vllm-qwen3next setup

    Updated Sep 27, 2026
  • #6658

    Support thinking (enabled / adaptive) for Anthropic-compatible requests on reasoning-capable backends

    Updated Sep 25, 2026
  • #6653

    Add CI coverage for `ogx go` by using it as an alternative to the `ci-tests` distro

    enhancementUpdated Sep 25, 2026
  • #6355

    Ingestion Gatekeeper Middleware (open-research-lite) for 85% Token Reduction

    enhancementstaleUpdated Sep 25, 2026

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言