NVIDIA open-sourced the Pythonic way to build AI agents!
NOOA (NVIDIA Object Oriented Agents) is a Python framework that collapses the separate abstractions most agent frameworks use into a single Python class. No separate prompt templates, tool schemas, or callback wiring. The agent is just a Python object.
The design maps directly to Python concepts you already know. State lives as typed class fields. Capabilities are methods. Docstrings are prompts. Type annotations are contracts. Methods with a real body stay deterministic Python. Methods with `...` as the body become LLM-driven at runtime - the model implements them on the fly.
The model acts by writing Python in a REPL with access to `self`, imports, and helpers. Python methods and type annotations supply the callable interfaces, so there's no need to write separate tool schema definitions. The method name, parameters, and docstring are the prompt.
Because agents are just Python classes, you can test them with pytest, trace them, refactor them, and version control them the same way you treat the rest of your software.
One honest note from the README: NOOA is research software. LLM-generated code can take dangerous actions. Run agents that execute generated code in a sandboxed environment, not directly on your filesystem.
Key capabilities:
• Agents as Python classes: state, methods, prompts, and type contracts in one place
• Methods with real bodies stay deterministic, methods with "..." become LLM-driven
• LLM acts via Python REPL with access to self and imports
• Built-in tracing for every LLM call, code execution, and method invocation
• Long-term memory subsystem via nooa-memory
• MCP support and Harbor benchmark runner
I've shared the link in the replies!
显示更多