NVIDIA AI 推出 NOOA:將 AI 代理轉化為單一 Python 類別的物件導向框架
重點摘要
NVIDIA 實驗室開源了 NOOA(NVIDIA 物件導向代理),這是一個與模型無關的 Python 框架,用於建構 AI 代理。傳統的代理開發分散在提示模板、工具架構、回呼程式碼和工作流程圖中,而 NOOA 將所有這些整合到一個 Python 類別中:方法代表模型可採取的動作,欄位代表代理狀態,文件字串作為提示,型別註解則是執行時期強制執行的合約。主體為「...」的方法由 LLM 驅動的迴圈在執行時期完成,而具有正常主體的方法則保持確定性的 Python 程式碼。開發者與模型因此共享同一介面,使代理行為能像一般軟體一樣進行測試、追蹤、重構和版本控制。NVIDIA 報告在 SWE-bench Verified 上達到 82.2%,在 CyberGym L1 上達到 86.8%,平均 RHAE 為 85.1%。
NVIDIA Labs has open-sourced NOOA (NVIDIA Object-Oriented Agents), a model-agnostic Python framework for building AI agents.Agent development today is split across prompt templates, tool schemas, callback code, and workflow graphs.NOOA collapses all of it into one Python class.
Methods are the actions the model can take.Fields are agent state.Docstrings are prompts.Type annotations are contracts the runtime enforces.A method whose body is ...is completed at runtime by an LLM-driven loop, while a method with a normal body stays deterministic Python.
Developers and models therefore share one interface, so agent behavior can be tested, traced, refactored, and version-controlled like ordinary software.NVIDIA reports 82.2% on SWE-bench Verified, 86.8% on CyberGym L1, and 85.
1% mean RHAE on ARC-AGI-3 — at roughly half the tokens of the open harnesses it was compared against.Is it deployable?Yes, but only inside OS-level isolation.NOOA is Apache 2.0, installs with pip install nooa (v0.0.8, released July 30, 2026), and requires Python 3.12–3.13.
PyPI classifies it as alpha, and NVIDIA describes it as a research preview.Agents can execute LLM-generated code, and NVIDIA states directly that its AST checks and module deny-lists are defense-in-depth guardrails, not a containment boundary.
The containment boundary is a container, a VM, or NVIDIA OpenShell.Models are pluggable through LiteLLM, so hosted APIs, Ollama, and vLLM endpoints all work.Company level: AI-native startups and mid-market platform teams building internal agents.
Enterprise AI platform and applied-research groups running evaluations or pilots.Regulated production workloads should wait for a stable release.Industries: developer tooling, cybersecurity, cloud and DevOps, data analytics, financial services operations, customer support.
Applications: repository issue triage and patching, terminal and infrastructure automation, vulnerability validation pipelines, large-batch classification and extraction over in-memory data, typed multi-agent orchestration.
An agent is a Python object NVIDIA Labs released NOOA (NVIDIA Object-Oriented Agents), a model-agnostic Python framework for building agents.Traditional agent development splits source across prompt templates, tool schemas, callbacks, and workflow graphs.NOOA collapses that into one class.
Methods are the actions the model can take.Fields are state.Docstrings are prompts.Type annotations are contracts enforced by the runtime.A method whose body is ...
becomes an agentic method, completed at runtime by an LLM-driven loop; a method with a normal body stays deterministic Python the model can call as a tool.Two strategies ship.PredictStrategy is a single typed LLM call with a local retry loop on validation failure.
CodeActStrategy runs an iterative Python REPL where the model calls execute_python(...) until it submits return_result(...), which is validated against the return annotation.
Six capabilities on one surface The research team identifies six model-facing ideas it claims to be the first to combine: typed input/output, pass by reference over live objects, code as action, programmable loop engineering, explicit object state, and model-callable harness APIs.
NVIDIA scored fourteen frameworks and harnesses—LangGraph, Google ADK, PydanticAI, smolagents, Claude Agent SDK, OpenAI Codex, OpenHands, and others—against the same axes, and reports partial coverage everywhere else.Pass by reference is the load-bearing one.
Arguments arrive as live Python objects; the model sees only a bounded preview with the concrete type, true length, and a head/tail sample.A hundred-element list renders in about thirty tokens while the full variable stays in the REPL.
Context is split into a cacheable static prefix, an append-only typed event history, and dynamic blocks at the tail, which preserves KV-cache reuse across turns.An optional memory subsystem attaches to an unmodified agent.
Seven model-callable tools write and recall records ranked by ACT-R activation, all in one human-inspectable SQLite file.Performance Capability tests ran 88 tests five times across ten models: 4,309 of 4,400 records passed (97.9%).
A six-family stress subset covering batching, error recovery, and decomposition passed 84.7%, where the gap between small and frontier models widens from 3.2 to 23 points.End-to-end, a benchmark-agnostic 253-line agent reaches 82.2% on SWE-bench Verified with GPT-5.5 at xhigh effort, against 78.
6% for OpenCode and 78.2% for PI, and 79.8% with Opus 4.6.On Terminal-Bench 2.0 it reaches 73.0% at high effort versus 60.7% and 68.5%, though PI leads at xhigh with 75.3%.On CyberGym L1 it solves 86.8% with network access blocked, the top open-source result reported.
On ARC-AGI-3, one agent with a one-page world-model skill reaches 50.2% mean RHAE with GPT-5.5 and 85.1% with GPT-5.6-sol, under $20 per game.Efficiency is the more interesting result: 82.2% at roughly 1.1M tokens and ~28 model calls per task, against 2.2M tokens and 66 calls for PI at 78.2%.
Trace analysis also credits validated termination—OpenCode stops when the model replies without a tool call, while NOOA requires a typed TaskResult carrying evidence and a verification command.(function(){ window.addEventListener('message', function(e){ if(e.data && e.data.
nooaHeight){ var f=document.getElementById('mtp-nooa-frame'); if(f){ f.style.height=(e.data.nooaHeight)+'px'; } } }); })(); Key Takeaways An agent is one Python class—methods are actions, fields are state, docstrings are prompts, annotations are enforced contracts.A ...
method body becomes an LLM loop; a real body stays deterministic Python the model can call.Pass by reference keeps large data live in the REPL, so no context compaction was needed on SWE-bench.82.2% SWE-bench Verified and 86.8% CyberGym L1 at roughly half the tokens of the compared open harnesses.
Apache 2.0 and pip-installable, but alpha—execute generated code only inside OS-level isolation.Check out the Paper, GitHub Repo and Technical Blog.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?
now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?
Connect with us The post NVIDIA AI Releases NOOA: An Object-Oriented Python Framework That Turns an AI Agent Into a Single Python Class appeared first on MarkTechPost.
Related
相關文章

曝字節訓10億參數大模型,或超Mythos 5,張一鳴、梁汝波先後發聲
字節跳動正在訓練一個參數量高達10萬億的AI模型,規模可能超越Anthropic的Mythos 5。創辦人張一鳴在內部會議中強調編程的關鍵地位,並反對模型蒸餾,認為這只能複製而非超越對手。字節跳動在AI領域持續加大投入,同時在產品端與訓練端採取雙線進攻策略。

AI 需求擠爆雲計算,消息稱 AWS 要求工程師關閉閒置服務器減少資源浪費
因AI需求導致算力緊缺,亞馬遜AWS要求工程師關閉閒置的EC2實例,以減少資源浪費。數據顯示約65%的EC2實例在30天內平均CPU利用率低於20%,AWS因此升級計算優化器自動標記低使用率虛擬機。此外,AWS過去一年新增3.8吉瓦電力容量,仍難以應對GPU雲端實例的龐大需求。
騰訊雲開源 TencentDB Agent Memory v2.0:專為 AI 編碼代理打造的團隊級記憶中樞
Tencent Cloud has open-sourced TencentDB Agent Memory v2.0, a team-level memory hub for AI agents. The idea is super simple: if project context was already explained once, a new session should not need it repeated.
使用 NVIDIA NeMo Retriever、託管 NIM、LanceDB、重新排序與基於事實生成建立多模態 RAG 管線
在本教學中,我們將使用 NVIDIA NeMo Retriever 建立一個先進的多模態檢索增強生成管線。首先設定 Python 3.12 環境、安裝必要套件,並在無需 GPU 或外部 API 金鑰的情況下進行離線 PDF 文字提取。接著,我們透過託管的 NVIDIA NIM 端點來偵測頁面元素、提取表格、圖表與資訊圖形、產生稠密向量嵌入,並將處理後的內容儲存至 LanceDB。最後,我們實作了稠密檢索、視覺語言重新排序、後設資料過濾搜尋、附行內引用的基於事實回應生成,以及輕量級的 recall-at-k 評估,以驗證跨多模態文件內容的檢索品質。

六巨頭定AI插件新標準,撞臉Claude,Anthropic沒上桌
六大科技巨頭(AWS、Anysphere、GitHub、微軟、OpenAI、Vercel)聯合發布AI智能體插件統一開放規範Agent Plugins 1.0.0,旨在統一插件打包格式,減少開發者重複勞動。該規範的結構與Anthropic的Claude Code插件系統高度相似,但Anthropic並未參與制定,而是繼續經營自己的封閉生態。

DeepSeek重啟融資,三年市值對齊騰訊?
DeepSeek重啟第二輪融資,以5000億元人民幣估值尋求籌集80億美元,但網傳一份由小型醫藥私募發起的專項基金募資材料引發網友質疑,後經DeepSeek員工證實部分數據屬實。該公司近期宣布API大幅漲價,可能打破其以低價換規模的估值邏輯,面臨客戶流失風險。市場關注其能否從「價格屠夫」轉型為價值提供商,以及三年內市值能否對齊騰訊等巨頭。