NVIDIA AI 推出 NOOA:將 AI 代理轉化為單一 Python 類別的物件導向框架

2026年8月7日 20:42
站內 AI 整理稿

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 executepython(...) until it submits returnresult(...), 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

相關文章

智東西生成式AI

一文看懂昇騰超節點:AI Infra已進入系統工程階段

(公眾號:zhidxcom) 作者 | 陳駿達 編輯 | 漠影 AI大模型競賽,正在進入新的量級。海外,十萬億參數的大模型已經逐步變成現實;國內,數萬億參數的大模型也在加速追趕。為了訓出真正的SOTA模型,算力集群從萬卡走向10萬卡已成為標配。 然而,一個尷尬的現實是:卡越堆越多,真正被利用起來的算力,卻沒有同步增長。華為的仿真數據顯示,在10萬卡集群中,卡間通信可能消耗了40%以上的訓練時間,算力利用率(MFU)往往不到30%。也就是說,大量昂貴的算力,並沒有真正用於計算。

2 小時前
鈦媒體生成式AI

Anew labs,“蒸餾”的行家

醫曜2026.09.21 18:00 · 來自北京全文2781字00:00 / 08:07首款自研藥AN5162,me-too了Dice/禮來。文 | 醫曜AI圈如今言必稱"蒸餾"。蒸餾現有知識,蒸餾競爭對手,蒸餾員工技能,無物不可蒸餾。醫藥圈很少說蒸餾。但這個行業有一個耳熟能詳、讓人稍微有點不屑、卻又必須面對的詞——me-too:copy對手的骨架,在對手專利之外尋求突破。copy得好,是me-better,甚至是me-best(Best-in-Class);copy失敗呢?那就me-worse嘍。

5 小時前

Anthropic與字節扎堆AI製藥,下一個Coding風口卡在了數據這道坎上

Anthropic一邊自建溼實驗室,用來測試自家模型指揮生物實驗的能力,一邊牽手諾和諾德、百時美施貴寶,並把Coefficient Bio收入囊中;字節跳動分拆出來的新生實驗室也完成了首輪融資。被寄予厚望的AI,當下主要作用在把新藥早期研發的輪子轉得更快——壓縮候選分子的搜索空間和實驗迭代時間,但真正燒錢又耗時的臨床試驗環節卻難同步縮短,早期命中率提上來,並不等於臨床成功率就跟著漲。

6 小時前