智能体与自主科学 颠覆级 有讲解视频
发表时间
2026-07-24
arXiv
2607.20709

收录解读

传统智能体开发把提示、工具模式、状态、回调和工作流拆散在不同层,难以像普通软件一样测试、组合和重构。NOOA提出把智能体直接建模为Python对象:方法是动作、字段是状态、文档字符串是提示、类型注解是可执行契约。

框架把typed I/O、活对象引用、code-as-action、可编程循环、显式对象状态以及上下文/事件接口统一到同一Python表面,并保留普通确定性方法,使开发者和模型共享一个可测试、可追踪的接口。

全文在10个模型、4,400条能力测试以及SWE-bench Verified、Terminal-Bench 2.0、CyberGym L1和ARC-AGI-3上验证:分别达到82.2%、73.0%、86.8%和85.1%的代表性结果,并改善开放agent harness的准确率—成本前沿。

该工作把智能体运行时的核心抽象收敛到原生软件工程对象模型,兼具广泛复用性与跨任务量化收益,足以构成disruptive级编程原语;但尚无独立复现和广泛生态采用,同进程执行模型代码也仍有安全边界。

原始摘要

Traditional agent development is split across prompt templates, tool schemas, callback code, and workflow graphs. We present NVIDIA Object-Oriented Agents (NOOA), a model-agnostic Python framework for building reliable AI agents. NOOA takes a simpler approach: an agent is a Python object. Its methods are the actions the model can take, fields are its state, docstrings are its prompts, and its type annotations are contracts. A method whose code body consists of "..." is completed at runtime by an LLM-driven agent loop, while methods with normal bodies remain standard deterministic Python. This gives developers and agents the same interface, so agent behavior can be tested, traced, refactored, and improved just like other software. This paper makes three contributions. (1) We present the agent-as-a-Python-object programming model and the design principles behind it. Where Python has existing abstractions, we adopt them directly. Agent-specific capabilities--context, events, state rendering, long-term memory, and validated LLM loops--are exposed through simple Pythonic APIs, so both developers and agents share one familiar programming model. (2) We identify six model-facing ideas that NOOA is, to our knowledge, the first to combine on a single surface: typed input/output, pass-by-reference over live objects, code as action, programmable loop engineering, explicit object state, and model-callable harness APIs for context and events. We find the community already converging on several of these ideas--often as experimental or partial features--and present the comparison to encourage further adoption. (3) We demonstrate that current models use this interface effectively, both in targeted capability tests and on agentic and reasoning benchmarks such as SWE-bench Verified and Terminal-Bench 2.0 and ARC-AGI-3.

解读视频

相关论文

链接