NeMo-Agent-Toolkit / references
AGENTS.md2.7k starsChanged 16 months agoApache-2.0View on GitHub
The nine built-in NeMo Agent Toolkit agent types: when to pick which, key traits, and YAML examples. Companion: additional-agent-types.md lists the lesser-used types in detail. Classify the workflow shape before scaffolding: Alternates between reasoning and acting: think -> call tool -> observe result -> repeat until done (up to max_tool_calls, default 15). Use when: Tasks require interleaved reasoning over intermediate tool results; the LLM does not reliably support native tool calling (ReAct falls back to text-based Action:/Action Input: parsing); tools…
Trending
Quiet since August.about the whole repository
Who's talking about NVIDIA/NeMo-Agent-Toolkit
- awslabs/agentcore-samples“02-use-cases - TypeError: _patch_asyncio.<locals>.run() got an unexpected keyword argument 'loop_factory'”GitHub · Sep 29, 2025 · 3 reactions
- NVIDIA-AI-Blueprints/deep-researcher-agent“feat: add exa_web_search data source”GitHub · Apr 14, 2026 · 2 reactions
- astral-sh/uv“Stabilize conflicting modules warning”GitHub · Aug 18, 2025 · 1 reactions
- olga-mir/experiments“68 moaar agents and design canvas”GitHub · Aug 23, 2026
- LennyMalcolm0/langchain“ChatOpenAI/ChatAnthropic: request_timeout=None (default) disables SDK timeout, causing infinite hangs”GitHub · Jul 17, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub (15 times).
On GitHub · 15
- Sep 29, 202502-use-cases - TypeError: _patch_asyncio.<locals>.run() got an unexpected keyword argument 'loop_factory' — awslabs/agentcore-samples3 reactions · 5 comments
- Apr 14, 2026feat: add exa_web_search data source — NVIDIA-AI-Blueprints/deep-researcher-agent2 reactions · 7 comments
- Aug 18, 2025Stabilize conflicting modules warning — astral-sh/uv1 reaction · 2 comments
- Aug 23, 202668 moaar agents and design canvas — olga-mir/experiments0 reactions
- Jul 17, 2026ChatOpenAI/ChatAnthropic: request_timeout=None (default) disables SDK timeout, causing infinite hangs — LennyMalcolm0/langchain0 reactions
10 more on GitHub
- Jun 3, 2026ChatNVIDIA forwards verify_ssl into chat completion payload — langchain-ai/langchain-nvidia0 reactions
- May 22, 2026[BUZZOK-30879] streaming memory agent plugin — datarobot-oss/datarobot-genai0 reactions · 1 comment
- May 2, 2026feat(learning): add expected-output assertions + accuracy scoring to batch-runner (NeMo parity) — subinium/CrowClaw0 reactions · 1 comment
- Apr 14, 2026[Question] when an A2A server has OAuth enabled, how does the A2A client know how to generate the corresponding token? — a2aproject/A2A0 reactions · 4 comments
- Apr 2, 2026Enable eager authentication — NVIDIA/NeMo-Agent-Toolkit-UI0 reactions · 5 comments
- Apr 2, 2026Enable redirect-based OAuth flow — NVIDIA/NeMo-Agent-Toolkit-UI0 reactions · 3 comments
- Mar 6, 2026ChatOpenAI/ChatAnthropic: request_timeout=None (default) disables SDK timeout, causing infinite hangs — langchain-ai/langchain0 reactions · 8 comments
- Mar 6, 2026Add agent thought process outputs — NVIDIA/NeMo-Agent-Toolkit-UI0 reactions · 4 comments
- Jan 29, 2026Add sandbox agent example with Docker and Daytona support — NVIDIA/NeMo-Agent-Toolkit-Examples0 reactions · 16 comments
- Oct 24, 2025Add support for exporting telemetry to DBNL — dbnlAI/NeMo-Agent-Toolkit0 reactions
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/cursor-rules.mdcCursor rule
- .cursor/rules/documentation/capitalization.mdcCursor rule
- .cursor/rules/documentation/categories.mdcCursor rule
- .cursor/rules/documentation/formatting.mdcCursor rule
- .cursor/rules/documentation/general.mdcCursor rule
- .cursor/rules/documentation/latinisms.mdcCursor rule
- .cursor/rules/documentation/lists-and-tables.mdcCursor rule
- .cursor/rules/documentation/numbers-and-dates.mdcCursor rule
- .cursor/rules/documentation/punctuation.mdcCursor rule
- .cursor/rules/documentation/voice-and-tone.mdcCursor rule
- .cursor/rules/documentation/writing-process.mdcCursor rule
- .cursor/rules/general.mdcCursor rule
- .cursor/rules/nat-agents/general.mdcCursor rule
- .cursor/rules/nat-cli/general.mdcCursor rule
- .cursor/rules/nat-cli/nat-eval.mdcCursor rule
- .cursor/rules/nat-cli/nat-info.mdcCursor rule
- .cursor/rules/nat-cli/nat-run-serve.mdcCursor rule
- .cursor/rules/nat-cli/nat-workflow.mdcCursor rule
- .cursor/rules/nat-setup/general.mdcCursor rule
- .cursor/rules/nat-setup/nat-toolkit-installation.mdcCursor rule
- .cursor/rules/nat-tests/general.mdcCursor rule
- .cursor/rules/nat-tests/integration-tests.mdcCursor rule
- .cursor/rules/nat-tests/nat-test-llm.mdcCursor rule
- .cursor/rules/nat-workflows/add-functions.mdcCursor rule
- .cursor/rules/nat-workflows/add-tools.mdcCursor rule
- .cursor/rules/nat-workflows/general.mdcCursor rule
- nat-agent-configurationSkill
- nat-evaluationSkill
- nat-installationSkill
- nat-mcp-and-servingSkill
- nat-optimizationSkill
- nat-path-checksSkill
- nat-telemetrySkill
- nat-tools-and-functionsSkill
- nat-user-rulesSkill
- nat-workflow-creationSkill
- skill-evolutionSkill
The file
We split this agents.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
Use a different agent type (tool_calling_agent for simpler cases, router_agent for single-branch dispatch)
- Distinctive: line 61
Keep the workflow input focused on the task description only.
- Distinctive: line 100
When you need a Python entry point that invokes a NeMo Agent Toolkit workflow, use the programmatic API instead of shelling out:
- Very specific: line 136
Call await runner.result() to get the final answer as a string
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Built-in Agent Types
The nine built-in NeMo Agent Toolkit agent types: when to pick which, key traits, and YAML examples. Companion: additional-agent-types.md lists the lesser-used types in detail.
Classify the workflow shape before scaffolding:
- Fixed steps with no LLM decision-making →
sequential_executor/parallel_executoror a plain function. - Research, analyze, decide, summarize, RAG, MCP, iterative tool use, "build an agent that…" → an agent type below.
- If ambiguous, ask one clarifying question before writing YAML.
| Agent | _type | LLM Required | Uses Tools | Key Trait |
| ReAct | react_agent | Yes | Yes | Interleaved reason + act loop |
| Reasoning | reasoning_agent | Yes (thinking-capable) | Via inner agent | Plan-then-delegate wrapper |
| ReWOO | rewoo_agent | Yes | Yes | Separate plan / execute / solve phases |
| Responses API | responses_api_agent | Yes (Responses API) | NeMo Agent Toolkit + built-in + MCP | Direct LLM tool binding with MCP support |
| Router | router_agent | Yes | No (routes to branches) | LLM-based single-branch dispatch |
| Tool Calling | tool_calling_agent | Yes | Yes | Standard tool-calling API, direct output |
| Auto Memory Wrapper | auto_memory_agent | Yes | Via inner agent | Persistent memory across turns |
| Parallel Executor | parallel_executor | No | Yes (fixed list) | Concurrent fan-out/fan-in pipeline |
| Sequential Executor | sequential_executor | No | Yes (fixed list) | Deterministic linear pipeline |
ReAct Agent (react_agent)
Alternates between reasoning and acting: think -> call tool -> observe result -> repeat until done (up to max_tool_calls, default 15).
Use when: Tasks require interleaved reasoning over intermediate tool results; the LLM does not reliably support native tool calling (ReAct falls back to text-based Action:/Action Input: parsing); tools lack clean JSON schemas.
Avoid when: Tools have well-defined schemas (prefer tool_calling_agent); parallel tool execution is needed; response format must be guaranteed; the task is a simple single-tool lookup; the model is a reasoning model that uses thinking tokens.
workflow:
_type: react_agent
tool_names: [wikipedia_search, current_datetime]
llm_name: nim_llm
verbose: trueNative tool calling vs text-based parsing: The ReAct agent supports two modes for tool invocation:
use_native_tool_calling: false(default) — text-based ReAct parsing. The agent generates text withAction:andAction Input:markers. More reliable across different LLM providers. Use this as the default.use_native_tool_calling: true— uses the LLM's function/tool-calling API. More structured but requires the LLM endpoint to support OpenAI-compatible tool calling. Some providers (including certain NVIDIA Inference API models) may not invoke tools correctly in this mode. If the agent generates responses without calling any tools, switch tofalse.
workflow:
_type: react_agent
tool_names: [wikipedia_search, current_datetime]
llm_name: nim_llm
verbose: true
# Start with false (text-based). Switch to true only if the LLM
# reliably supports native tool calling.
use_native_tool_calling: falseDo not override the agent's tool-calling format in the workflow input. The ReAct agent has a built-in system prompt that instructs the LLM on the correct Action: / Action Input: format. Adding format instructions to the workflow input (the user query) will not help and may conflict with the system prompt. If the LLM still outputs the wrong format (e.g., <function_calls> XML tags), the fix is one of:
- Try a different LLM that follows the ReAct format reliably
- Switch
use_native_tool_calling: trueif the endpoint supports OpenAI-compatible tool calling - Use a different agent type (
tool_calling_agentfor simpler cases,router_agentfor single-branch dispatch)
Keep the workflow input focused on the task description only.
Temperature for ReAct agents: Use temperature: 0.0 for deterministic, reproducible tool-calling behavior. Higher temperatures (0.3–0.7) can improve output diversity in the final synthesis step but may cause the agent to skip tool calls or hallucinate action formats. When optimizing agent output quality, adjust the prompt instructions before raising temperature.
Hint: Can be used when a pure LLM workflow would be sufficient to solve a task. Even though in that case no tool would be necessary, the ReAct agent requires at least one tool. Just add the built-in current_datetime tool so the list is not empty.
Tool Calling Agent (tool_calling_agent)
Uses the LLM's native function/tool-calling API to select and invoke tools. Returns the tool's structured output directly, without the ReAct reasoning loop. Can iterate up to max_iterations (default 15).
Use when: Tools have well-defined JSON schemas — especially MCP tools (via mcp_client) and function groups with input_schema. You want structured output returned directly. The LLM endpoint supports OpenAI-compatible tool calling. This is the preferred choice for MCP-based agents.
Avoid when: The LLM doesn't support native tool calling reliably (use react_agent with text parsing instead); tasks require interleaved reasoning over intermediate results before deciding the next action.
workflow:
_type: tool_calling_agent
tool_names: [kb_tools]
llm_name: nvidia_llm
verbose: true
handle_tool_errors: true # catch tool exceptions and pass them back to the LLM for recoverySequential Executor (sequential_executor)
Deterministic, LLM-free pipeline. Executes a fixed list of functions in order, passing each function's output as the next function's input. No reasoning involved. Used by the Demographics Repartition agent for chained generation workflows.
Use when: Processing data through multiple sequential transformation stages with predictable, hard-coded execution order.
Avoid when: Conditional branching, parallel processing, or any form of LLM-guided decision-making is needed.
workflow:
_type: sequential_executor
tool_list: [text_processor, data_analyzer, report_generator]Running Agents Programmatically
When you need a Python entry point that invokes a NeMo Agent Toolkit workflow, use the programmatic API instead of shelling out:
import asyncio
from pathlib import Path
from nat.builder.workflow_builder import WorkflowBuilder
from nat.runtime.loader import load_config
async def run_workflow(query: str) -> str:
# 1. Load YAML config
config = load_config("workflow.yaml")
# 2. Build the workflow (registers all components)
async with WorkflowBuilder.from_config(config) as builder:
workflow = await builder.build()
# 3. Run the workflow and get the result
async with workflow.run(query) as runner:
result = await runner.result()
return str(result)
if __name__ == "__main__":
import sys
query = sys.argv[1] if len(sys.argv) > 1 else "Hello"
print(asyncio.run(run_workflow(query)))Key points:
WorkflowBuilder.from_config()is an async context manager — always useasync withbuilder.build()returns aWorkflowobjectworkflow.run(query)is also an async context manager — useasync withto get arunner- Call
await runner.result()to get the final answer as a string
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

