Python objects become AI agents in new NVIDIA framework

NOOA treats Python classes as agents, with methods as actions and docstrings as prompts, unifying development and runtime.

PaperBig Techcs.AIarXiv:2607.20709v1
Paul Furgale · Severin Klingler · James Nolan · Matt Staats · Gaia Di Lorenzo · Elisa Martinez Abad · +9 more

NVIDIA

Research Digest··2 min read
The authors introduce NVIDIA Object-Oriented Agents (NOOA), a model-agnostic Python framework where any Python object can act as an AI agent: methods define available actions, fields store state, docstrings serve as prompts, and type annotations act as contracts. Methods whose body consists only of '...' are completed at runtime by an LLM-driven loop, while normal methods remain deterministic. The framework is demonstrated on SWE-bench Verified, Terminal-Bench 2.0, and ARC-AGI-3, showing that current models use this interface effectively.

What they did

NOOA replaces the fragmented landscape of prompt templates, tool schemas, callback code, and workflow graphs with a single Pythonic abstraction: an agent is a Python object. Developers define agent classes, where methods are the actions the model can take, fields represent state, docstrings act as prompts, and type annotations enforce contracts. Methods with an empty body (...) are dynamically filled by an LLM-driven loop at runtime; methods with normal bodies remain deterministic, allowing the same interface for both code and LLM-driven actions. The framework is model-agnostic and builds on Python's existing abstractions (classes, asyncio, type hints).

The paper presents three main contributions: (1) the agent-as-a-Python-object programming model with design principles, (2) identification of six model-facing ideas combined for the first time on a single surface (typed I/O, pass-by-reference over live objects, code as action, programmable loop engineering, explicit object state, model-callable harness APIs), and (3) empirical demonstrations on agentic and reasoning benchmarks.

§

Analysis

The work fits a broader trend of grounding AI agents in programming languages rather than ad-hoc schemas. While other frameworks (e.g., LangChain, AutoGPT) use Python syntax, NOOA enforces a strict object-oriented discipline where the agent's capabilities are literally its methods. This could enable deeper static analysis and tooling support, but its practical advantages over well-optimized graph-based frameworks remain to be quantified in head-to-head evaluations.

newspaper

Research Digest

Articles published under the Zotpaper byline are synthesized from multiple source publications by our AI editor and reviewed by our editorial process. Each story combines reporting from credible outlets to give readers a balanced, comprehensive view.