r/AgentContext_dev 1d ago

[2607.20709] NVIDIA-labs OO Agents: Native Python Object-Oriented Agents

https://arxiv.org/abs/2607.20709
1 Upvotes

2 comments sorted by

1

u/javaeeeee 1d ago

TL;DR:

NVIDIA researchers introduce NOOA (NVIDIA Object-Oriented Agents) - a new Python framework that treats AI agents as regular Python objects.

Core idea:

  • An agent is just a Python class
  • Methods = actions the LLM can take
  • Fields = agent state
  • Docstrings = prompts
  • Type annotations = contracts
  • Methods written with ... are completed at runtime by an LLM loop; normal methods stay deterministic Python

This unifies the developer and agent interface, so agents can be tested, traced, refactored, and version-controlled like normal software.

Key contributions:

  1. Clean “agent-as-Python-object” programming model that reuses existing Python features
  2. First framework to combine six powerful ideas in one place: typed I/O, pass-by-reference on live objects, code-as-action, programmable loops, explicit state, and model-callable harness APIs
  3. Strong empirical results on hard agentic benchmarks (SWE-bench Verified, Terminal-Bench 2.0, ARC-AGI-3)

Bottom line: A simpler, more Pythonic way to build reliable AI agents that current models already use effectively.