NeMo-Agent-Toolkit / nat-workflows
Cursor rule2.7k starsChanged 16 months agoApache-2.0View on GitHub
Follow these rules when the user's request involves adding, integrating, implementing, or configuring tools for NeMo Agent Toolkit workflows
- Reads credentials
- Installs packages
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 Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 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
- skills/nat-agent-configuration/references/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/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 add-tools.mdc into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
When adding multiple instances of the same tool type, rename existing tools to be more specific:
- Very specific: line 55
Always update the workflow.tool_names section to include new tools:
- Distinctive: line 130
Use descriptive names that indicate the tool's purpose
- Distinctive: line 131
Avoid generic names when you have multiple similar tools
- Distinctive: line 137
Use imperative language: "For any questions about X, you must use this tool!"
- Very specific: line 140
Use consistent embedder_name across similar tools
- Very specific: line 152
Tool Not Found: Ensure the tool name in workflow.tool_names matches the key in functions
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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
---
description: Follow these rules when the user's request involves adding, integrating, implementing, or configuring tools for NeMo Agent Toolkit workflows
globs:
alwaysApply: false
---
# Adding Tools to NeMo Agent Toolkit Workflows
## Overview
Adding tools to workflows requires copying and modifying the workflow configuration file to include new tool definitions and update the tool names list.
## Step-by-Step Process
### 1. Identify Available Tools
```bash
# Query all available function types
nat info components -t function
# Query specific function details
nat info components -t function -q webpage_query
```
### 2. Update Configuration File
#### Adding Multiple Instances of Same Tool Type
When adding multiple instances of the same tool type, rename existing tools to be more specific:
```yaml
# Before - single tool
functions:
webpage_query:
_type: webpage_query
webpage_url: https://docs.smith.langchain.com
description: "Search for information about LangSmith..."
embedder_name: nemotron-3-embed-1b
chunk_size: 512
# After - multiple tools
functions:
langsmith_query: # Renamed for clarity
_type: webpage_query
webpage_url: https://docs.smith.langchain.com
description: "Search for information about LangSmith. For any questions about LangSmith, you must use this tool!"
embedder_name: nemotron-3-embed-1b
chunk_size: 512
langgraph_query: # New tool
_type: webpage_query
webpage_url: https://langchain-ai.github.io/langgraph/tutorials/introduction
description: "Search for information about LangGraph. For any questions about LangGraph, you must use this tool!"
embedder_name: nemotron-3-embed-1b
chunk_size: 512
```
#### Update Workflow Tool Names
Always update the `workflow.tool_names` section to include new tools:
```yaml
# Before
workflow:
_type: react_agent
tool_names: [webpage_query, current_datetime]
# After
workflow:
_type: react_agent
tool_names: [langsmith_query, langgraph_query, current_datetime]
```
## Alternative: Using Web Search Tools
### Installing Web Search Dependencies
```bash
# Install the provider-managed Tavily plugin for web search
uv pip install nemo-agent-toolkit-tavily
```
### Using Tavily Internet Search
```yaml
function_groups:
internet_search:
_type: tavily
include: [search]
functions:
current_datetime:
_type: current_datetime
workflow:
_type: react_agent
tool_names: [internet_search__search, current_datetime]
```
### Required Environment Variables
```bash
# Set up Tavily API key
export TAVILY_API_KEY=<YOUR_TAVILY_API_KEY>
```
## Common Tool Types and Patterns
### 1. Webpage Query Tools
```yaml
tool_name:
_type: webpage_query
webpage_url: https://example.com
description: "Descriptive text for when to use this tool"
embedder_name: nemotron-3-embed-1b
chunk_size: 512
```
### 2. Internet Search Tools
```yaml
function_groups:
search_tool:
_type: tavily
include: [search]
# Reference the exposed tool as search_tool__search in tool_names
```
### 3. Utility Tools
```yaml
datetime_tool:
_type: current_datetime
# No additional parameters needed
```
## Best Practices
1. **Tool Naming**:
- Use descriptive names that indicate the tool's purpose
- Avoid generic names when you have multiple similar tools
- Example: `langsmith_query` vs `webpage_query`
2. **Descriptions**:
- Be specific about when the tool should be used
- Include the domain or type of information the tool provides
- Use imperative language: "For any questions about X, you must use this tool!"
3. **Configuration Consistency**:
- Use consistent `embedder_name` across similar tools
- Set appropriate `chunk_size` based on content type
- Maintain consistent parameter formatting
4. **Testing**:
```bash
# Test the updated workflow
nat run --config_file path/to/updated_config.yml --input "Test question"
```
## Common Issues and Solutions
1. **Tool Not Found**: Ensure the tool name in `workflow.tool_names` matches the key in `functions`
2. **Missing Dependencies**: Install required packages for specific tool types
3. **API Key Issues**: Set required environment variables before running
4. **Configuration Syntax**: Validate YAML syntax and indentation
## Example Complete Configuration
```yaml
functions:
langsmith_docs:
_type: webpage_query
webpage_url: https://docs.smith.langchain.com
description: "Search for information about LangSmith. For any questions about LangSmith, you must use this tool!"
embedder_name: nemotron-3-embed-1b
chunk_size: 512
langgraph_docs:
_type: webpage_query
webpage_url: https://langchain-ai.github.io/langgraph/tutorials/introduction
description: "Search for information about LangGraph. For any questions about LangGraph, you must use this tool!"
embedder_name: nemotron-3-embed-1b
chunk_size: 512
current_datetime:
_type: current_datetime
llms:
nim_llm:
_type: nim
model_name: nvidia/nemotron-3-super-120b-a12b
temperature: 0.0
embedders:
nemotron-3-embed-1b:
_type: nim
model_name: nvidia/nemotron-3-embed-1b
workflow:
_type: react_agent
tool_names: [langsmith_docs, langgraph_docs, current_datetime]
llm_name: nim_llm
verbose: true
parse_agent_response_max_retries: 3
```
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.

