NOOA (NVIDIA Object Oriented Agents) क्या है?
NOOA (NVIDIA Object Oriented Agents) NVIDIA का Python एजेंट फ्रेमवर्क, जहाँ एजेंट एक class है और `...` वाली method body एक LLM loop बन जाती है. यह Agents & Automation टूल्स की Agent Frameworks & Builders श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है।
सारांश
NVIDIA-labs Object Oriented Agents (NOOA) एक model-agnostic Python फ्रेमवर्क है, जो एजेंट बनाने के लिए है। इसे NVIDIA ने arXiv पेपर के साथ Apache-2.0 लाइसेंस के तहत प्रकाशित किया है। इसका तर्क है कि ज़्यादातर एजेंट फ्रेमवर्क prompts, tools, callbacks और workflows को अलग-अलग abstractions में बिखेर देते हैं, जबकि एक सादी Python class इन सबको एक साथ रख सकती है।
तो NOOA में एजेंट एक class होता है। उसके fields state होते हैं और उन पर types लगे होते हैं। उसका docstring system prompt होता है। असली body वाली सामान्य methods deterministic Python ही रहती हैं। जिस method की body `...` हो, वह एक agentic loop बन जाता है: runtime उसे एक LLM को सौंपता है, और type annotations वापस आने वाले आउटपुट का contract तय करती हैं, typed I/O पर अपने-आप retry के साथ। मॉडल Jupyter-style REPL में Python लिखकर काम करता है, जिसकी पहुँच `self`, imports और helpers तक होती है। इसलिए आपकी लिखी methods और type annotations ही callable interfaces का काम करते हैं, और अलग से tool-schema definitions की ज़्यादातर ज़रूरत नहीं पड़ती।
इसका व्यावहारिक मतलब यह है कि एजेंट एक आम software object है: आप उसे उन्हीं tools से test, trace, refactor और diff कर सकते हैं जिन्हें आप पहले से इस्तेमाल करते हैं। core `nooa` package अकेले इंस्टॉल हो जाता है; trace viewer और eval runner वाला CLI, Zed जैसे hosts के लिए Agent Client Protocol coding agent, long-term memory subsystem और benchmark runner अलग distributions या extras के रूप में आते हैं। Repository में एक दस-मिनट का documented tour, notebook tutorials और examples भी हैं, और repo से सीधे इंस्टॉल होने वाली एक evaluation pipeline भी।
यह क्या करता है
- एजेंट Python classes हैं: typed fields state हैं, methods क्षमताएँ हैं, docstrings prompts हैं, annotations contracts हैं
- `...` वाली method body एक LLM-driven agentic loop बन जाती है; असली body उसी class में deterministic Python बनी रहती है
- Code-as-action: मॉडल Jupyter-style REPL में `self`, imports और helpers की पहुँच के साथ Python लिखता है, इसलिए tool schemas ज़्यादातर अनावश्यक हो जाते हैं
- Automatic retry के साथ typed I/O, live objects का reference से पास होना, और model-callable context व event APIs
- वैकल्पिक sub-packages: `nooa-cli` (कमांड, trace viewer, eval runner), `nooa-acp` (Agent Client Protocol coding agent), `nooa-memory`, `nooa-bench`
- Model-agnostic, Apache-2.0, और डिज़ाइन व evaluation पर प्रकाशित पेपर के साथ
शुरू करें
NOOA एक सामान्य Python package है। नीचे दिए कमांड repository के installation section से लिए गए हैं; class वाला नमूना README का अपना उदाहरण है।
मुख्य फ्रेमवर्क जोड़ें
uv से, या चाहें तो pip से।
uv init my-agent-project
cd my-agent-project
uv add nooa
# or: pip install nooaएजेंट को class के रूप में लिखें
State fields होती है, prompts docstrings होते हैं, और `...` body वही है जो runtime मॉडल को सौंपता है।
from nooa import Agent
class SupportAgent(Agent):
"""You are a support agent."""
order_db: OrderDB
def is_refund_eligible(self, order: Order) -> bool:
return order.delivered and order.days_since_delivery <= 30
async def triage(self, message: str, order: Order) -> Ticket:
"""Create a typed support ticket."""
...ज़रूरत के हिस्से जोड़ें
CLI, ACP host integration, memory और benchmark packages अलग distributions हैं, या मुख्य package के extras।
uv add nooa-cli # or: uv add "nooa[cli]"
uv add nooa-acp # or: uv add "nooa[acp]"
uv add nooa-memory # or: uv add "nooa[memory]"
uv add "nooa[cli,memory]" # several at onceटूर देखें
Repository की docs/tour.md फ़ाइल एक thinking method से शुरू करके tools, typed contracts, deterministic orchestration और object composition तक ले जाती है; notebook tutorials और examples उसके साथ मौजूद हैं, और पेपर design principles और evaluation को कवर करता है।
कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।
कब इस्तेमाल करें
- ऐसे एजेंट बनाना जिन्हें आप अपने बाकी Python code की तरह unit-test, refactor और code-review कर सकें
- एक ही object के भीतर deterministic logic और model-driven steps को मिलाना, उन्हें graph में बाँटने के बजाय
- हाथ से tool schemas लिखे बिना एजेंट से typed, retry वाले आउटपुट पाना
- `nooa-acp` के ज़रिए Zed जैसे Agent Client Protocol host के अंदर coding agent चलाना
How NOOA (NVIDIA Object Oriented Agents) compares
NOOA (NVIDIA Object Oriented Agents) alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.
| टूल | स्टार | यह क्या करता है |
|---|---|---|
| DeepSeek Harness | ★ 290k | DeepSeek का ओपन एजेंट हार्नेस, जहाँ हर क्षमता एक प्लगइन है |
| AutoGPT | ★ 188k | दोबारा इस्तेमाल होने वाले ब्लॉक्स से निरंतर AI एजेंट बनाएं, डिप्लॉय करें और चलाएं |
| DeerFlow | ★ 86.1k | सब कुछ पहले से शामिल सुपर एजेंट हार्नेस, जिसमें स्किल्स, सब-एजेंट्स, सैंडबॉक्स और मेमोरी हैं |
| nanobot | ★ 50.5k | WebUI, मेमोरी, MCP और चैट ऐप्स वाला सेल्फ-होस्टेड पर्सनल एजेंट रनटाइम |
| LangGraph | ★ 45.7k | लंबे समय तक चलने वाले, stateful AI agents बनाने के लिए low-level orchestration framework |
| Agno | ★ 43.4k | AI agent प्लेटफ़ॉर्म बनाने, चलाने और मैनेज करने के लिए Python SDK |
| AgentGPT | ★ 36.3k | ब्राउज़र में ही ऑटोनॉमस AI एजेंट बनाएं, कॉन्फ़िगर करें और डिप्लॉय करें |
| NOOA (NVIDIA Object Oriented Agents) | ★ 2.4k | NVIDIA का Python एजेंट फ्रेमवर्क, जहाँ एजेंट एक class है और `...` वाली method body एक LLM loop बन जाती है |
