█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

OGX

पहले Llama Stack के नाम से जाना जाने वाला प्रोजेक्ट — एक OpenAI-compatible agentic API सर्वर, जिसे कहीं भी चलाया जा सकता है और जिसमें pluggable model providers जोड़े जा सकते हैं

App Frameworksओपन सोर्स
ताज़ा
v0.8.0
अपडेट किया गया
1 मई 2026
भाषा
Python
लाइसेंस
MIT

नया क्या है

v0.8.01 मई 2026

Llama Stack v0.8.0 added a native Anthropic Messages API, Gemini interactions and 91% OpenAI compatibility. The project has since been renamed OGX.

संक्षेप में

OGX क्या है?

OGX पहले Llama Stack के नाम से जाना जाने वाला प्रोजेक्ट — एक OpenAI-compatible agentic API सर्वर, जिसे कहीं भी चलाया जा सकता है और जिसमें pluggable model providers जोड़े जा सकते हैं. यह App Orchestration टूल्स की App Frameworks श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और MIT लाइसेंस के तहत है।

अपडेट किया गया Markdown वर्शन ↗

सारांश

OGX एक ओपन सोर्स agentic API सर्वर है, जिसका इस्तेमाल AI एप्लिकेशन बनाने के लिए होता है। यह OpenAI API का ड्रॉप-इन रिप्लेसमेंट है, जो लैपटॉप पर, डेटासेंटर में या क्लाउड में चल सकता है, इसलिए कोई भी OpenAI-compatible client या agent framework बिना बदलाव के इससे बात कर सकता है। यह प्रोजेक्ट Meta के Llama Stack का आगे का रूप है: रिपॉज़िटरी साफ़ बताती है कि Llama Stack अब OGX है, और नाम के साथ मिशन भी बदल गया है — model-agnostic, multi-SDK और production-grade।

सर्वर में मानक एंडपॉइंट शामिल हैं — `/v1/chat/completions`, `/v1/completions` और `/v1/embeddings` — साथ ही सर्वर-साइड agentic orchestration के लिए Responses API, जिसमें tool calling, MCP server integration और बिल्ट-इन file search (RAG) एक ही API कॉल के अंदर हो जाते हैं। इनके आसपास `/v1/vector_stores` और `/v1/files` हैं, जो managed document storage और search के लिए हैं, `/v1/batches` offline batch काम के लिए, और `/v1alpha/skills` वर्ज़न वाले skill bundles के लिए — zip आर्काइव, जिनमें एक SKILL.md मेनिफ़ेस्ट होता है और जिन्हें एजेंट invoke कर सकते हैं। Responses implementation Open Responses conformance suite को पास करता है।

Diagram of an agentic system: a user prompt enters an executor that queries a memory bank, augments the prompt for the LLM, calls tools such as a code executor, search, image generation and mathematical reasoning, then returns a synthesised response, with shields on each boundary
The RAG-plus-tool-calls inference loop the Responses API runs server-side, with shields on each boundary.OGX docs ↗

OpenAI API के साथ-साथ OGX नेटिव रूप से Anthropic Messages API को `/v1/messages` पर और Google GenAI interactions API को `/v1alpha/interactions` पर भी सर्व करता है। pluggable provider architecture API को स्थिर रखती है, जबकि backend बदलता रहता है — लोकल में Ollama पर develop करें, production में vLLM पर deploy करें, या किसी managed service से जोड़ें। Python और TypeScript के लिए आधिकारिक client SDKs उपलब्ध हैं, और उन टीमों के लिए OpenAPI-generated विकल्प भी है, जिनके tooling को इसकी ज़रूरत है।

यह क्या करता है

  • OpenAI-compatible chat completions, completions और embeddings endpoints, जिन्हें किसी भी OpenAI client से इस्तेमाल किया जा सकता है
  • Responses API, जिसमें server-side tool calling, MCP server integration और बिल्ट-इन file search है, Open Responses conformance suite पर verified
  • Vector stores और files endpoints, managed document storage और retrieval के लिए
  • Batches endpoint, offline और बड़ी मात्रा की processing के लिए
  • Skills — वर्ज़न वाले zip bundles, जिनमें SKILL.md manifest होता है और जिन्हें एजेंट /v1alpha/skills पर call कर सकते हैं
  • OpenAI surface के साथ-साथ नेटिव Anthropic Messages और Google GenAI interactions endpoints
  • Pluggable providers, ताकि वही API लोकल में Ollama पर और production में vLLM या किसी managed service पर चल सके
  • आधिकारिक Python और TypeScript client SDKs (ogx_client), साथ ही OpenAPI-generated विकल्प

शुरू करें

OGX एक Python package के रूप में इंस्टॉल होता है और एक सर्वर शुरू करता है, जो आपके environment से providers अपने-आप पहचान लेता है।

सर्वर इंस्टॉल करें

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

# Or via uv
uv pip install ogx

इसे शुरू करें

`ogx go` environment को पढ़कर पता लगाता है कि कौन से providers उपलब्ध हैं।

bashbash
uv run ogx go

OpenAI client को इससे जोड़ें

सर्वर डिफ़ॉल्ट रूप से port 8321 पर listen करता है; लोकल इस्तेमाल के लिए API key को अनदेखा किया जाता है।

pythonpython
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"}],
)

या आधिकारिक client SDK इस्तेमाल करें

यह PyPI पर ogx_client और npm पर ogx-client नाम से प्रकाशित है।

bashbash
pip install ogx_client
# or
npm install ogx-client

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • कई model providers के आगे एक OpenAI-compatible endpoint रखें, ताकि model बदलने पर application का code न बदले
  • Responses API को self-hosted चलाएँ, जिसमें tool calls, MCP servers और file search सर्वर-साइड पर हल हों
  • लैपटॉप पर Ollama के साथ develop करें और client को छुए बिना वही stack vLLM पर deploy करें
  • एक ही सर्वर से OpenAI, Anthropic और Google GenAI SDK surfaces दें, मिले-जुले SDK वाले codebase के लिए

How OGX compares

OGX alongside other open-source app frameworks tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
LangChain★ 150kआपस में जुड़ने वाले और बदले जा सकने वाले components से agents और LLM ऐप बनाएं
LlamaIndex★ 53.1kरिट्रीवल और एजेंट्स के ज़रिए भाषा मॉडल को अपने डेटा से जोड़ें
Haystack★ 27.2kप्रोडक्शन RAG पाइपलाइन और LLM एजेंट बनाने के लिए ओपन सोर्स Python फ़्रेमवर्क
Jina★ 21.9kgRPC, HTTP और WebSockets पर संवाद करने वाली AI सर्विस बनाएं और चलाएं
RocketRide★ 19.9kएक ओपन सोर्स, MIT लाइसेंस वाला AI मेटा-हार्नेस, जो C++ रनटाइम पर चलता है: VS Code, CLI, Python और TypeScript SDK, या इसके बिल्ट-इन MCP सर्वर से AI एजेंट और RAG पाइपलाइन बनाएं, टेस्ट करें और चलाएं
LLM★ 12.9kकमांड लाइन से दर्जनों लैंग्वेज मॉडल इस्तेमाल करें, और हर एक को SQLite में लॉग करें
Prompt Flow★ 11.3kलिंक्ड flows के साथ production-quality LLM ऐप्स बनाएँ, टेस्ट करें और शिप करें
OGX★ 8.5kपहले Llama Stack के नाम से जाना जाने वाला प्रोजेक्ट — एक OpenAI-compatible agentic API सर्वर, जिसे कहीं भी चलाया जा सकता है और जिसमें pluggable model providers जोड़े जा सकते हैं