-
Notifications
You must be signed in to change notification settings - Fork 432
Restructuring and reorganizing workflows #1173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Linette Tang <lvojtku@lvojtku-mlt.client.nvidia.com>
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
WalkthroughAdded multiple new workflow/agent documentation pages, converted many workflow docs into configuration-focused guides with explicit install commands and YAML examples, standardized internal links to Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Reader
participant DocsIndex as "Docs Index / TOC"
participant About as "workflows/about.md"
participant AgentIndex as "Agent/Executor index.md"
participant ConfigExamples as "Install & YAML Examples"
rect rgba(230,245,255,0.9)
Note right of DocsIndex "#88C0D0": TOC updated to include new agent/executor pages (visible + hidden)
end
Reader->>DocsIndex: Open "Manage Workflows"
DocsIndex->>About: Link to workflows/about.md
About->>AgentIndex: Navigate to specific agent/executor index
AgentIndex->>ConfigExamples: Display install commands and YAML examples
ConfigExamples-->>Reader: Provide configuration guidance
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 6
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
docs/source/reference/cursor-rules-reference.md (1)
20-20: Fix first mention of project name per naming guidelines.Line 20 should use the full name "NVIDIA NeMo Agent toolkit" on first mention in the document, per coding guidelines. Subsequent mentions can use "NeMo Agent toolkit."
Apply this diff:
- This document provides a comprehensive reference for all available Cursor rules in NeMo Agent toolkit. + This document provides a comprehensive reference for all available Cursor rules in the NVIDIA NeMo Agent toolkit.As per coding guidelines.
docs/source/workflows/responses-api-and-agent/responses-api-and-agent.md (1)
69-70: Replace abbreviation "NAT" with full toolkit name.Line 69 uses the abbreviation "NAT tools" in a code comment, which violates documentation guidelines that forbid using "NAT"/"nat" abbreviations. This should be replaced with "NeMo Agent toolkit tools" or similar clear terminology.
functions: current_datetime: _type: current_datetime llms: openai_llm: _type: openai model_name: gpt-5-mini-2025-08-07 api_type: responses workflow: _type: responses_api_agent llm_name: openai_llm verbose: true handle_tool_errors: true - # NAT tools are executed by the agent graph + # NeMo Agent toolkit tools are executed by the agent graph nat_tools: [current_datetime] # Built-in tools are bound to the LLM (for example, Code Interpreter)
🧹 Nitpick comments (5)
docs/source/workflows/rewoo-agent/rewoo-agent.md (1)
62-63: Minor phrasing improvement for clarity.The phrase "more ways you can configure" on line 63 is slightly awkward, as it implies prior configuration methods were mentioned. Consider rephrasing to: "The following are configuration options for the ReWOO agent:"
docs/source/workflows/sequential-executor/sequential-executor.md (2)
18-19: Apply full toolkit name on first documentation mention.Line 19 should use the full name "NVIDIA NeMo Agent toolkit" on first use per documentation guidelines. Based on learnings, this is the first explicit mention in the file.
-# Configure With the Sequential Executor -A sequential executor is a deterministic workflow orchestrator that executes functions in a predefined linear order. This sections explores ways you can configure using the sequential executor. +# Configure the Sequential Executor +A sequential executor is a deterministic workflow orchestrator that executes functions in a predefined linear order. This section explores ways you can configure the NVIDIA NeMo Agent toolkit's sequential executor.Note: Also fixed "sections" → "section" (typo) and improved clarity.
120-120: Simplify verbose phrasing for conciseness.Replace "takes into account" with more concise wording such as "considers" or "checks" per static analysis guidance.
-The validation takes into account whether functions use streaming or single output modes. +The validation considers whether functions use streaming or single output modes.docs/source/workflows/react-agent/react-agent.md (2)
101-101: Tighten wordy phrasing.The phrase "making a decision in one go" could be more concise. Consider "deciding at once" or similar alternatives to reduce verbosity.
- Instead of making a decision in one go, it follows an iterative thought process. + Instead of deciding at once, it follows an iterative thought process.
148-148: Strengthen adverb choice.The adverb "completely" in "completely change the ReAct agent prompt" could be replaced with stronger or more precise wording. Consider "substantially modify" or simply remove the adverb for directness.
- You can tweak, modify, or completely change the ReAct agent prompt, but the LLM output must match the ReAct output format, and the prompt must have a prompt variable named `{tools}` and `{tool_names}` + You can tweak, modify, or customize the ReAct agent prompt, but the LLM output must match the ReAct output format, and the prompt must have a prompt variable named `{tools}` and `{tool_names}`
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (19)
docs/source/index.md(1 hunks)docs/source/quick-start/index.md(1 hunks)docs/source/reference/cursor-rules-reference.md(2 hunks)docs/source/tutorials/customize-a-workflow.md(1 hunks)docs/source/workflows/about.md(2 hunks)docs/source/workflows/react-agent/index.md(1 hunks)docs/source/workflows/react-agent/react-agent.md(8 hunks)docs/source/workflows/reasoning-agent/index.md(1 hunks)docs/source/workflows/reasoning-agent/reasoning-agent.md(4 hunks)docs/source/workflows/responses-api-and-agent/index.md(1 hunks)docs/source/workflows/responses-api-and-agent/responses-api-and-agent.md(4 hunks)docs/source/workflows/rewoo-agent/index.md(1 hunks)docs/source/workflows/rewoo-agent/rewoo-agent.md(6 hunks)docs/source/workflows/router-agent/index.md(1 hunks)docs/source/workflows/router-agent/router-agent.md(4 hunks)docs/source/workflows/sequential-executor/index.md(1 hunks)docs/source/workflows/sequential-executor/sequential-executor.md(4 hunks)docs/source/workflows/tool-calling-agent/index.md(1 hunks)docs/source/workflows/tool-calling-agent/tool-calling-agent.md(1 hunks)
🧰 Additional context used
📓 Path-based instructions (5)
{docs/source/**/*.md,**/README.@(md|ipynb)}
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
{docs/source/**/*.md,**/README.@(md|ipynb)}: Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Do not use deprecated names (Agent Intelligence toolkit, aiqtoolkit, AgentIQ, AIQ/aiq) in documentation unless explicitly referring to deprecated names
Never use “NAT”/“nat” abbreviations in documentation
Documentation must be clear/comprehensive; avoid TODOs/FIXMEs/placeholders; avoid offensive/outdated terms; ensure spelling is correct
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/router-agent/router-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/tutorials/customize-a-workflow.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/index.mddocs/source/workflows/about.mddocs/source/workflows/router-agent/index.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/reference/cursor-rules-reference.mddocs/source/workflows/responses-api-and-agent/index.mddocs/source/workflows/rewoo-agent/index.md
docs/source/**/*.md
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
docs/source/**/*.md: Documentation sources are Markdown files under docs/source
Surround code entities with backticks in docs to avoid Vale false positives
Do not use words listed in ci/vale/styles/config/vocabularies/nat/reject.txt; accepted words in accept.txt are allowed
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/router-agent/router-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/tutorials/customize-a-workflow.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/index.mddocs/source/workflows/about.mddocs/source/workflows/router-agent/index.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/reference/cursor-rules-reference.mddocs/source/workflows/responses-api-and-agent/index.mddocs/source/workflows/rewoo-agent/index.md
{**/*.py,**/*.sh,**/*.md,**/*.toml,**/*.y?(a)ml,**/*.json,**/*.txt,**/*.ini,**/*.cfg,**/*.ipynb}
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
{**/*.py,**/*.sh,**/*.md,**/*.toml,**/*.y?(a)ml,**/*.json,**/*.txt,**/*.ini,**/*.cfg,**/*.ipynb}: Every file must start with the standard SPDX Apache-2.0 header
Confirm copyright years are up to date when a file is changed
All source files must include the SPDX Apache-2.0 header template (copy from an existing file)
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/router-agent/router-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/tutorials/customize-a-workflow.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/index.mddocs/source/workflows/about.mddocs/source/workflows/router-agent/index.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/reference/cursor-rules-reference.mddocs/source/workflows/responses-api-and-agent/index.mddocs/source/workflows/rewoo-agent/index.md
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/router-agent/router-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/tutorials/customize-a-workflow.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/index.mddocs/source/workflows/about.mddocs/source/workflows/router-agent/index.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/reference/cursor-rules-reference.mddocs/source/workflows/responses-api-and-agent/index.mddocs/source/workflows/rewoo-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/router-agent/router-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/tutorials/customize-a-workflow.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/index.mddocs/source/workflows/about.mddocs/source/workflows/router-agent/index.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/reference/cursor-rules-reference.mddocs/source/workflows/responses-api-and-agent/index.mddocs/source/workflows/rewoo-agent/index.md
🧠 Learnings (9)
📓 Common learnings
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Learnt from: AnuradhaKaruppiah
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 701
File: examples/evaluation_and_profiling/simple_calculator_eval/src/nat_simple_calculator_eval/configs/config-with-custom-post-process.yml:16-18
Timestamp: 2025-08-22T20:29:13.433Z
Learning: In the NeMo-Agent-Toolkit project, configuration consistency across example files is prioritized over removing unused config options, even when those options aren't currently implemented in the runtime.
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Do not use deprecated names (Agent Intelligence toolkit, aiqtoolkit, AgentIQ, AIQ/aiq) in documentation unless explicitly referring to deprecated names
Applied to files:
docs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/router-agent/router-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/tutorials/customize-a-workflow.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/index.mddocs/source/workflows/about.mddocs/source/workflows/react-agent/react-agent.mddocs/source/reference/cursor-rules-reference.mddocs/source/workflows/responses-api-and-agent/index.md
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Applied to files:
docs/source/workflows/tool-calling-agent/index.mddocs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/quick-start/index.mddocs/source/workflows/reasoning-agent/index.mddocs/source/workflows/rewoo-agent/rewoo-agent.mddocs/source/workflows/react-agent/index.mddocs/source/workflows/reasoning-agent/reasoning-agent.mddocs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/workflows/about.mddocs/source/workflows/router-agent/index.mddocs/source/workflows/responses-api-and-agent/index.mddocs/source/workflows/rewoo-agent/index.md
📚 Learning: 2025-08-22T20:18:28.041Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/cursor-rules.mdc:0-0
Timestamp: 2025-08-22T20:18:28.041Z
Learning: Applies to .cursor/rules/**/*.mdc : Use consistent project terminology in descriptions (e.g., NAT workflows, NAT CLI commands)
Applied to files:
docs/source/workflows/router-agent/router-agent.mddocs/source/reference/cursor-rules-reference.md
📚 Learning: 2025-08-22T20:29:13.433Z
Learnt from: AnuradhaKaruppiah
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 701
File: examples/evaluation_and_profiling/simple_calculator_eval/src/nat_simple_calculator_eval/configs/config-with-custom-post-process.yml:16-18
Timestamp: 2025-08-22T20:29:13.433Z
Learning: In the NeMo-Agent-Toolkit project, configuration consistency across example files is prioritized over removing unused config options, even when those options aren't currently implemented in the runtime.
Applied to files:
docs/source/workflows/responses-api-and-agent/responses-api-and-agent.mddocs/source/workflows/about.md
📚 Learning: 2025-08-22T20:18:28.041Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/cursor-rules.mdc:0-0
Timestamp: 2025-08-22T20:18:28.041Z
Learning: Applies to .cursor/rules/**/*.mdc : Proofread descriptions for typos and grammar
Applied to files:
docs/source/reference/cursor-rules-reference.md
📚 Learning: 2025-08-22T20:18:28.041Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/cursor-rules.mdc:0-0
Timestamp: 2025-08-22T20:18:28.041Z
Learning: Applies to .cursor/rules/*/general.mdc : general.mdc must include a 'Referenced Documentation' section listing docs with names, links (mdc:path/...), and brief descriptions, and main rules should reference this section
Applied to files:
docs/source/reference/cursor-rules-reference.md
📚 Learning: 2025-08-22T20:18:28.041Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/cursor-rules.mdc:0-0
Timestamp: 2025-08-22T20:18:28.041Z
Learning: Applies to .cursor/rules/**/*.mdc : Avoid overly narrow descriptions when rules cover multiple related scenarios
Applied to files:
docs/source/reference/cursor-rules-reference.md
📚 Learning: 2025-08-22T20:18:28.041Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/cursor-rules.mdc:0-0
Timestamp: 2025-08-22T20:18:28.041Z
Learning: Applies to .cursor/rules/**/*.mdc : Rule descriptions must start with the phrase: 'Follow these rules when'
Applied to files:
docs/source/reference/cursor-rules-reference.md
🪛 LanguageTool
docs/source/workflows/react-agent/react-agent.md
[style] ~101-~101: ‘making a decision’ might be wordy. Consider a shorter alternative.
Context: ...e by reasoning step-by-step. Instead of making a decision in one go, it follows an iterative thou...
(EN_WORDINESS_PREMIUM_MAKING_A_DECISION)
[style] ~148-~148: Consider using a different adverb to strengthen your wording.
Context: ...d graph. ``` You can tweak, modify, or completely change the ReAct agent prompt, but the ...
(COMPLETELY_ENTIRELY)
docs/source/workflows/sequential-executor/sequential-executor.md
[style] ~120-~120: ‘takes into account’ might be wordy. Consider a shorter alternative.
Context: ...nfiguration. :::{note} The validation takes into account whether functions use streaming or sing...
(EN_WORDINESS_PREMIUM_TAKES_INTO_ACCOUNT)
🪛 markdownlint-cli2 (0.18.1)
docs/source/workflows/react-agent/react-agent.md
19-19: Heading style
Expected: atx; Actual: setext
(MD003, heading-style)
🔇 Additional comments (17)
docs/source/workflows/rewoo-agent/rewoo-agent.md (4)
1-16: SPDX header and copyright are correct.The Apache-2.0 license header and 2025 copyright year are properly formatted and up to date.
18-34: Naming conventions and requirements documentation are well-structured.The file correctly uses "NVIDIA NeMo Agent toolkit" on first mention (line 19), then appropriately uses "NeMo Agent toolkit" in subsequent references (line 30). Installation instructions are clear and cover both source checkout and package installation paths.
35-91: Configuration sections are comprehensive and properly formatted.Configuration examples and the "Configurable Options" section are well-organized. All configuration keys are properly wrapped in backticks, and descriptions are clear and actionable. The dual examples (workflow vs. function usage) effectively demonstrate the agent's flexibility.
92-150: Example workflow and limitations sections are informative and well-explained.The example workflow with JSON structure is clear, the three-phase breakdown is logical, and the limitations section provides practical context for users to evaluate when to use ReWOO agents. No clarity or completeness issues identified.
docs/source/quick-start/index.md (1)
1-26: LGTM!The updated link display text improves navigation clarity by using imperative language. Naming conventions for "NeMo Agent Toolkit" (capital T in heading) and "NeMo Agent toolkit" (lowercase t in body) are correctly applied. SPDX header is properly formatted.
docs/source/workflows/react-agent/index.md (1)
1-21: LGTM!Clear and well-structured introduction to the ReAct Agent. Naming conventions are correctly applied (first use: "NVIDIA NeMo Agent toolkit" with capital T; reference to paper is helpful). The reference link to configuration guidance is appropriately placed. SPDX header is properly formatted.
docs/source/workflows/sequential-executor/index.md (1)
1-21: LGTM!Well-organized introduction to the Sequential Executor with clear description of its purpose, validation capabilities, and error handling improvements. Naming conventions are correctly applied ("NVIDIA NeMo Agent toolkit" on first use; lower case 't' in subsequent uses). Integration with YAML configuration is appropriately mentioned. SPDX header is properly formatted.
docs/source/workflows/responses-api-and-agent/responses-api-and-agent.md (1)
41-44: LGTM on formatting changes.The note block formatting using
:::notesyntax is clear and properly conveys the omission behavior. The rephrased wording "If theapi_typeis omitted, the client will usechat_completions" is more concise and clearer than the previous structure. Restructuring to emphasize configuration is appropriate.docs/source/workflows/reasoning-agent/reasoning-agent.md (1)
1-130: LGTM!Comprehensive configuration guide with clear structure and proper adherence to naming conventions. First use of "NVIDIA NeMo Agent toolkit" (capital T in Toolkit) is correctly applied on line 19. The requirements section is well-organized with installation instructions for both source checkout and package installation. Configurable options are thoroughly documented with sensible defaults explained. The visual comparisons between ReAct with and without Reasoning Agent effectively illustrate the workflow differences. Limitations section is appropriately detailed. SPDX header is properly formatted. The restructuring to emphasize configuration and setup guidance aligns well with PR objectives.
docs/source/tutorials/customize-a-workflow.md (1)
18-24: Apply full toolkit name on first documentation mention.The first use of the toolkit name (line 19) should include "NVIDIA" prefix per documentation guidelines.
# Customize a Workflow -This tutorial demonstrates how to customize a workflow with NeMo Agent toolkit. +This tutorial demonstrates how to customize a workflow with NVIDIA NeMo Agent toolkit.Then subsequent mentions can use "NeMo Agent toolkit" (without NVIDIA prefix) as on line 24. Based on learnings
docs/source/workflows/router-agent/index.md (1)
1-28: LGTM!New file structure and naming conventions are correctly applied. The Router Agent introduction properly uses "NVIDIA NeMo Agent toolkit" on first mention with correct capitalization in headings ("NeMo Agent Toolkit" implied).
docs/source/workflows/router-agent/router-agent.md (1)
1-145: LGTM!Configuration guide properly structured with correct naming conventions ("NVIDIA NeMo Agent toolkit" on first use), comprehensive YAML examples, clear use cases and limitations. No clarity or style issues detected.
docs/source/workflows/about.md (1)
67-84: Verify and harmonize file path references and navigation structure.The explicit links (lines 67-73) and hidden toctree (lines 75-84) reference agent documentation files. These need to be verified:
- Path verification: Do the links in lines 67-73 point to correct file locations? (e.g.,
./react-agent.mdvs./react-agent/index.md)- Navigation redundancy: The explicit links and hidden toctree appear to reference the same content. Consider whether both are needed.
Based on the PR context showing new index files in subdirectories (e.g.,
docs/source/workflows/react-agent/index.md), the links should likely be:-[ReAct Agent](./react-agent.md) -[Reasoning Agent](./reasoning-agent.md) -[ReWOO Agent](./rewoo-agent.md) -[Responses API and Agent](./responses-api-and-agent.md) -[Router Agent](./router-agent.md) -[Sequential Executor](./sequential-executor.md) -[Tool Calling Agent](./tool-calling-agent.md) +[ReAct Agent](./react-agent/index.md) +[Reasoning Agent](./reasoning-agent/index.md) +[ReWOO Agent](./rewoo-agent/index.md) +[Responses API and Agent](./responses-api-and-agent/index.md) +[Router Agent](./router-agent/index.md) +[Sequential Executor](./sequential-executor/index.md) +[Tool Calling Agent](./tool-calling-agent/index.md)(Adjust the paths based on actual file structure verification)
docs/source/workflows/responses-api-and-agent/index.md (1)
1-30: LGTM!New documentation file properly structured with correct naming conventions ("NVIDIA NeMo Agent toolkit" on first use) and clear explanation of Responses API integration. Tool types (builtin_tools, mcp_tools, nat_tools) are properly explained with appropriate backtick formatting. Content is comprehensive and references the detailed configuration guide appropriately.
docs/source/workflows/react-agent/react-agent.md (3)
18-20: Confirm heading markdown formatting.The static analysis tool flagged a heading style inconsistency on line 19 (MD003). While line 18 correctly uses atx-style (
#), the---separator on line 20 may be causing the linter to misinterpret this as setext-style formatting. Consider removing the---separator or restructuring to clarify the heading hierarchy.
23-23: Verify package name terminology against documentation guidelines.The file uses
nvidia-nat[langchain]as the package identifier (lines 23, 34). The coding guidelines strictly prohibit "NAT"/"nat" abbreviations in documentation. However, this is the actual package name that users must type. Clarify whether package identifiers are exempt from the abbreviation guideline, or if alternative naming/phrasing is required.Also applies to: 34-34
1-202: Documentation structure and completeness look solid.The file is well-organized with clear sections, concrete examples, and practical configuration guidance. Terminology is generally consistent (proper use of "NVIDIA NeMo Agent toolkit" on first mention, then "NeMo Agent toolkit"). The workflow walkthrough and output format examples effectively illustrate how the ReAct agent operates. No TODOs, FIXMEs, or placeholder text detected.
|
/ok to test 57ecd16 |
|
/ok to test 7d48679 |
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🧹 Nitpick comments (1)
docs/source/workflows/rewoo-agent/index.md (1)
26-26: Surround placeholder examples with backticks for clarity.The placeholder examples
#E1and#E2should be wrapped in backticks to distinguish them as special tokens and improve readability.Apply this diff:
- - Plans all steps upfront and uses placeholders (for example, "#E1", "#E2"), which significantly reduces token consumption. + - Plans all steps upfront and uses placeholders (for example, `#E1`, `#E2`), which significantly reduces token consumption.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
docs/source/workflows/react-agent/react-agent.md(8 hunks)docs/source/workflows/rewoo-agent/index.md(1 hunks)docs/source/workflows/sequential-executor/index.md(1 hunks)docs/source/workflows/tool-calling-agent/index.md(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- docs/source/workflows/sequential-executor/index.md
🧰 Additional context used
📓 Path-based instructions (5)
{docs/source/**/*.md,**/README.@(md|ipynb)}
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
{docs/source/**/*.md,**/README.@(md|ipynb)}: Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Do not use deprecated names (Agent Intelligence toolkit, aiqtoolkit, AgentIQ, AIQ/aiq) in documentation unless explicitly referring to deprecated names
Never use “NAT”/“nat” abbreviations in documentation
Documentation must be clear/comprehensive; avoid TODOs/FIXMEs/placeholders; avoid offensive/outdated terms; ensure spelling is correct
Files:
docs/source/workflows/react-agent/react-agent.mddocs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*.md
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
docs/source/**/*.md: Documentation sources are Markdown files under docs/source
Surround code entities with backticks in docs to avoid Vale false positives
Do not use words listed in ci/vale/styles/config/vocabularies/nat/reject.txt; accepted words in accept.txt are allowed
Files:
docs/source/workflows/react-agent/react-agent.mddocs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
{**/*.py,**/*.sh,**/*.md,**/*.toml,**/*.y?(a)ml,**/*.json,**/*.txt,**/*.ini,**/*.cfg,**/*.ipynb}
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
{**/*.py,**/*.sh,**/*.md,**/*.toml,**/*.y?(a)ml,**/*.json,**/*.txt,**/*.ini,**/*.cfg,**/*.ipynb}: Every file must start with the standard SPDX Apache-2.0 header
Confirm copyright years are up to date when a file is changed
All source files must include the SPDX Apache-2.0 header template (copy from an existing file)
Files:
docs/source/workflows/react-agent/react-agent.mddocs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/react-agent/react-agent.mddocs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/react-agent/react-agent.mddocs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
🧠 Learnings (3)
📓 Common learnings
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Do not use deprecated names (Agent Intelligence toolkit, aiqtoolkit, AgentIQ, AIQ/aiq) in documentation unless explicitly referring to deprecated names
Applied to files:
docs/source/workflows/react-agent/react-agent.mddocs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Applied to files:
docs/source/workflows/rewoo-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
🪛 LanguageTool
docs/source/workflows/react-agent/react-agent.md
[uncategorized] ~67-~67: Loose punctuation mark.
Context: ...stomized name as a tool. * tool_names: A list of tools that the agent can call...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~69-~69: Loose punctuation mark.
Context: ...nfigured in the YAML file. * llm_name: The LLM the agent should use. The LLM m...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~71-~71: Loose punctuation mark.
Context: ...onfigured in the YAML file. * verbose: Defaults to False (useful to prevent ...
(UNLIKELY_OPENING_PUNCTUATION)
[style] ~100-~100: ‘making a decision’ might be wordy. Consider a shorter alternative.
Context: ...e by reasoning step-by-step. Instead of making a decision in one go, it follows an iterative thou...
(EN_WORDINESS_PREMIUM_MAKING_A_DECISION)
[style] ~147-~147: Consider using a different adverb to strengthen your wording.
Context: ...d graph. ``` You can tweak, modify, or completely change the ReAct agent prompt, but the ...
(COMPLETELY_ENTIRELY)
docs/source/workflows/tool-calling-agent/index.md
[uncategorized] ~18-~18: Possible missing comma found.
Context: ...agents, it does not reason between steps but instead selects tools based on predefin...
(AI_HYDRA_LEO_MISSING_COMMA)
🔇 Additional comments (9)
docs/source/workflows/tool-calling-agent/index.md (3)
1-16: Apache license header looks good.Copyright year (2025) is current and the license header is correctly formatted.
17-17: Heading is clear and appropriate.The heading is well-structured and accurately describes the section content.
20-20: Clear presentation and correct toolkit naming.The paragraph correctly uses the full "NVIDIA NeMo Agent toolkit" on first mention and presents the functionality clearly. The guidance about customizing prompts in YAML config files is helpful.
docs/source/workflows/react-agent/react-agent.md (4)
1-34: Documentation structure and naming conventions are correct.The file correctly follows the naming guidelines: "NVIDIA NeMo Agent toolkit" on first use (line 19), then "NeMo Agent toolkit" on subsequent uses. SPDX header is present with 2025 copyright year.
36-61: Configuration examples are well-structured and clear.YAML examples are properly formatted with code entities in backticks. The two examples effectively demonstrate both workflow and function configurations.
98-148: Workflow explanation and examples are comprehensive and clear.The section effectively explains ReAct agent reasoning through workflow steps and practical examples. Prompt format examples clearly demonstrate both tool-calling and final-answer formats.
174-201: Limitations section is thorough and well-organized.The five key limitations are clearly explained with practical context. The summary provides appropriate guidance on optimization and configuration.
docs/source/workflows/rewoo-agent/index.md (2)
1-34: Documentation structure and naming conventions look solid.The file follows the SPDX Apache-2.0 header requirement, uses correct naming conventions for "NVIDIA NeMo Agent toolkit" on first mention (line 21), and avoids deprecated names and abbreviations per guidelines. The content is well-organized with clear phase descriptions and appropriate links to deeper configuration documentation.
Based on learnings: naming follows the guideline for first use of the full name "NVIDIA NeMo Agent toolkit".
25-34: The internal links are valid and will work correctly.The
rewoo-agent.mdfile contains the required headings at lines 98, 121, and 126:
#### Planning Phase→ generates anchor#planning-phase#### Execution Phase→ generates anchor#execution-phase#### Solution Phase→ generates anchor#solution-phaseMarkdown processors automatically generate anchors from heading text by converting to lowercase and replacing spaces with hyphens. The referenced links in
index.mdare correct and will resolve properly. The initial verification used grep to search for literal anchor text, which doesn't account for Markdown's auto-generation mechanism.Likely an incorrect or invalid review comment.
|
/ok to test dd3fb0e |
| limitations under the License. | ||
| --> | ||
|
|
||
| # ReAct Agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this document (and the other agent documents) being split into two sections?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding configuration instructions to "About" sections can cause confusion when a user is trying to look for instruction. Separating conceptual sections from usage sections allows users who want to skip the overview section and go straight to the configuration instructions.
docs/source/workflows/sequential-executor/sequential-executor.md
Outdated
Show resolved
Hide resolved
docs/source/workflows/sequential-executor/sequential-executor.md
Outdated
Show resolved
Hide resolved
|
Looks like you have some vale errors run |
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
🧹 Nitpick comments (2)
docs/source/workflows/react-agent/react-agent.md (1)
98-147: Content is clear and comprehensive with minor optional wordiness improvement available.The "How the ReAct Agent Works" section provides a good conceptual explanation with clear workflow steps and a concrete example. All prompt variables are properly backticked. One optional improvement: line 100 could be slightly more concise. Instead of "Instead of making a decision in one go," consider "Instead of deciding at once" for tighter prose. This is a minor style suggestion and the current phrasing is perfectly acceptable.
docs/source/workflows/sequential-executor/sequential-executor.md (1)
119-121: Consider a more concise phrasing."takes into account" is slightly wordy; consider "considers" or "accounts for" instead for improved clarity.
Apply this diff:
-The validation takes into account whether functions use streaming or single output modes. +The validation considers whether functions use streaming or single output modes.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
docs/source/workflows/react-agent/react-agent.md(8 hunks)docs/source/workflows/sequential-executor/sequential-executor.md(4 hunks)docs/source/workflows/tool-calling-agent/index.md(1 hunks)docs/source/workflows/tool-calling-agent/tool-calling-agent.md(3 hunks)
🧰 Additional context used
📓 Path-based instructions (5)
{docs/source/**/*.md,**/README.@(md|ipynb)}
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
{docs/source/**/*.md,**/README.@(md|ipynb)}: Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Do not use deprecated names (Agent Intelligence toolkit, aiqtoolkit, AgentIQ, AIQ/aiq) in documentation unless explicitly referring to deprecated names
Never use “NAT”/“nat” abbreviations in documentation
Documentation must be clear/comprehensive; avoid TODOs/FIXMEs/placeholders; avoid offensive/outdated terms; ensure spelling is correct
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*.md
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
docs/source/**/*.md: Documentation sources are Markdown files under docs/source
Surround code entities with backticks in docs to avoid Vale false positives
Do not use words listed in ci/vale/styles/config/vocabularies/nat/reject.txt; accepted words in accept.txt are allowed
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/tool-calling-agent/index.md
{**/*.py,**/*.sh,**/*.md,**/*.toml,**/*.y?(a)ml,**/*.json,**/*.txt,**/*.ini,**/*.cfg,**/*.ipynb}
📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
{**/*.py,**/*.sh,**/*.md,**/*.toml,**/*.y?(a)ml,**/*.json,**/*.txt,**/*.ini,**/*.cfg,**/*.ipynb}: Every file must start with the standard SPDX Apache-2.0 header
Confirm copyright years are up to date when a file is changed
All source files must include the SPDX Apache-2.0 header template (copy from an existing file)
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/tool-calling-agent/index.md
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/tool-calling-agent/index.md
🧠 Learnings (6)
📓 Common learnings
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Do not use deprecated names (Agent Intelligence toolkit, aiqtoolkit, AgentIQ, AIQ/aiq) in documentation unless explicitly referring to deprecated names
Applied to files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/react-agent/react-agent.mddocs/source/workflows/tool-calling-agent/index.md
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {docs/source/**/*.md,**/README.@(md|ipynb)} : Use the full name “NVIDIA NeMo Agent toolkit” on first use in documentation, then “NeMo Agent toolkit”; in headings use “NeMo Agent Toolkit” (capital T)
Applied to files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/tool-calling-agent/index.md
📚 Learning: 2025-08-22T20:18:28.041Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/cursor-rules.mdc:0-0
Timestamp: 2025-08-22T20:18:28.041Z
Learning: Applies to .cursor/rules/**/*.mdc : Use consistent project terminology in descriptions (e.g., NAT workflows, NAT CLI commands)
Applied to files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.md
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Applies to {**/pyproject.toml,uv.lock} : New dependencies must be added to both pyproject.toml (alphabetically) and uv.lock via ‘uv pip install <pkg> --sync’
Applied to files:
docs/source/workflows/sequential-executor/sequential-executor.md
📚 Learning: 2025-10-22T22:02:12.903Z
Learnt from: CR
Repo: NVIDIA/NeMo-Agent-Toolkit PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-10-22T22:02:12.903Z
Learning: Periodically run ‘uv pip list --outdated’ and upgrade dependencies
Applied to files:
docs/source/workflows/sequential-executor/sequential-executor.md
🪛 LanguageTool
docs/source/workflows/tool-calling-agent/tool-calling-agent.md
[grammar] ~22-~22: Use a hyphen to join words.
Context: ...or a function. ## Requirements The tool calling agent requires the `nvidia-nat[l...
(QB_NEW_EN_HYPHEN)
docs/source/workflows/sequential-executor/sequential-executor.md
[grammar] ~104-~104: Use a hyphen to join words.
Context: ...flow Instead of using LLMS for decision making, the sequential executor follows ...
(QB_NEW_EN_HYPHEN)
[style] ~120-~120: ‘takes into account’ might be wordy. Consider a shorter alternative.
Context: ...nfiguration. :::{note} The validation takes into account whether functions use streaming or sing...
(EN_WORDINESS_PREMIUM_TAKES_INTO_ACCOUNT)
docs/source/workflows/react-agent/react-agent.md
[style] ~100-~100: ‘making a decision’ might be wordy. Consider a shorter alternative.
Context: ...e by reasoning step-by-step. Instead of making a decision in one go, it follows an iterative thou...
(EN_WORDINESS_PREMIUM_MAKING_A_DECISION)
[style] ~147-~147: Consider using a different adverb to strengthen your wording.
Context: ...d graph. ``` You can tweak, modify, or completely change the ReAct agent prompt, but the ...
(COMPLETELY_ENTIRELY)
docs/source/workflows/tool-calling-agent/index.md
[grammar] ~18-~18: Use a hyphen to join words.
Context: ...ction calling, but can be used with tool calling agents. The agent uses NVIDIA N...
(QB_NEW_EN_HYPHEN)
🪛 markdownlint-cli2 (0.18.1)
docs/source/workflows/sequential-executor/sequential-executor.md
130-130: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🔇 Additional comments (5)
docs/source/workflows/react-agent/react-agent.md (4)
1-34: SPDX header and naming conventions are correct.The Apache-2.0 header is properly formatted with current 2025 copyright. Naming follows the conventions: first use of "NVIDIA NeMo Agent toolkit" on line 19, with subsequent shortened references to "NeMo Agent toolkit" on line 30. The package name
nvidia-nat[langchain]is a technical identifier and appropriately referenced.
36-96: Configuration section is well-structured with clear examples and proper markup.The YAML examples are properly formatted and all configuration keys are appropriately wrapped in backticks. The section successfully addresses previous feedback by removing confusion around the
_typekey (line 38) and clarifying that the ReAct agent can be used as a workflow or function. Grammar has been corrected on line 65 ("needs to expose").
174-201: Limitations section is well-structured and comprehensive.The section clearly outlines five distinct limitations of ReAct agents with substantive explanations for each, helping users make informed decisions about whether to use this agent type. The writing is clear, balanced, and professionally presented. No clarity, grammar, or formatting issues detected.
1-201: Overall: Documentation restructuring is well-executed and comprehensive.This documentation update successfully restructures the ReAct Agent configuration guide with clear organization, concrete examples (Examples 1 and 2), detailed configuration options, and thorough explanations of how the agent works and its limitations. Previous reviewer feedback has been incorporated (grammar correction on line 65 and clarification about
_typeusage). All code entities are properly wrapped in backticks, SPDX header is current, and naming conventions are correctly applied. The file is ready for publication with no blocking issues.docs/source/workflows/sequential-executor/sequential-executor.md (1)
22-24: Verify product naming compliance with style guide.Per learnings, the first use of the product name in documentation should be "NVIDIA NeMo Agent toolkit" (full name), then subsequently "NeMo Agent toolkit". Line 22 currently uses "the core NeMo Agent toolkit". If this is the first mention of the product in the context of the full documentation section, it should include the "NVIDIA" prefix.
Based on learnings
docs/source/workflows/sequential-executor/sequential-executor.md
Outdated
Show resolved
Hide resolved
|
/ok to test 2d9dd44 |
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
♻️ Duplicate comments (1)
docs/source/workflows/sequential-executor/sequential-executor.md (1)
104-106: Remove duplicate sentence and fix hyphenation.Line 106 is a verbatim duplicate of line 104 and should be removed. Additionally, "decision making" should be hyphenated as "decision-making" on line 104.
Apply this diff:
-The sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function. +The sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function. -The sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function.Update line 104 (if still referencing decision-making context elsewhere) to use proper hyphenation:
-Instead of using LLMS for decision making, the sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function. +Instead of using LLMs for decision-making, the sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function.
🧹 Nitpick comments (1)
docs/source/workflows/sequential-executor/sequential-executor.md (1)
120-120: Reduce wordiness: replace "takes into account" with a shorter alternative.The phrase "takes into account" is unnecessarily wordy. Consider replacing it with "considers" or similar for conciseness.
Apply this diff:
-The validation takes into account whether functions use streaming or single output modes. +The validation considers whether functions use streaming or single output modes.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
docs/source/workflows/react-agent/index.md(1 hunks)docs/source/workflows/rewoo-agent/index.md(1 hunks)docs/source/workflows/router-agent/index.md(1 hunks)docs/source/workflows/sequential-executor/sequential-executor.md(4 hunks)
✅ Files skipped from review due to trivial changes (1)
- docs/source/workflows/router-agent/index.md
🚧 Files skipped from review as they are similar to previous changes (1)
- docs/source/workflows/react-agent/index.md
🧰 Additional context used
📓 Path-based instructions (2)
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/rewoo-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/sequential-executor/sequential-executor.mddocs/source/workflows/rewoo-agent/index.md
🪛 LanguageTool
docs/source/workflows/sequential-executor/sequential-executor.md
[style] ~120-~120: ‘takes into account’ might be wordy. Consider a shorter alternative.
Context: ...nfiguration. :::{note} The validation takes into account whether functions use streaming or sing...
(EN_WORDINESS_PREMIUM_TAKES_INTO_ACCOUNT)
🔇 Additional comments (4)
docs/source/workflows/rewoo-agent/index.md (2)
1-16: License header is properly formatted and current.The Apache License 2.0 header is correctly placed with up-to-date 2025 copyright year.
18-34: All referenced anchor links are valid and properly configured.The verification confirms that
docs/source/workflows/rewoo-agent/rewoo-agent.mdcontains all three required headings that correctly generate the anchors referenced in the index.md file:
#### Planning Phase(line 98) →#planning-phase✓#### Execution Phase(line 121) →#execution-phase✓#### Solution Phase(line 126) →#solution-phase✓Documentation is clear, well-structured, and all cross-references are valid.
docs/source/workflows/sequential-executor/sequential-executor.md (2)
1-16: License header is current and properly formatted.The Apache License 2.0 header is correctly dated (2025) and properly formatted. Good compliance.
24-28: Installation instructions appropriately retained.Good decision to keep the source checkout–specific installation guidance. This addresses downstream user needs for users who have performed a source checkout.
docs/source/workflows/sequential-executor/sequential-executor.md
Outdated
Show resolved
Hide resolved
docs/source/workflows/sequential-executor/sequential-executor.md
Outdated
Show resolved
Hide resolved
|
/ok to test 60e64a3 |
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (1)
docs/source/workflows/tool-calling-agent/index.md (1)
18-18: Fix logically inconsistent statement about LLM support.The final sentence contradicts itself: "Some LLMs do not support tool calling or function calling, but can be used with tool calling agents" states that LLMs without support can still be used with the agent, which is logically impossible. Only LLMs that support tool calling can be used with these agents.
This issue was flagged in previous reviews but remains unresolved.
Apply one of these fixes:
Option 1 — Clarify that unsupported LLMs cannot be used:
-Some LLMs do not support tool calling or function calling, but can be used with tool calling agents. +Some LLMs do not support tool calling or function calling, and therefore cannot be used with tool calling agents.Option 2 — Reframe to highlight which LLMs can be used:
-Some LLMs do not support tool calling or function calling, but can be used with tool calling agents. +Some LLMs support tool calling or function calling, and those that do can be used with tool calling agents.
🧹 Nitpick comments (1)
docs/source/workflows/tool-calling-agent/index.md (1)
20-20: Minor: Reduce redundant word repetition.The phrase "The agent uses the NVIDIA NeMo Agent toolkit core library agents and tools" contains redundant use of "agents" (appears twice). Consider simplifying for clarity:
-The agent uses the NVIDIA NeMo Agent toolkit core library agents and tools to simplify your development experience and deployment. +The agent leverages the NVIDIA NeMo Agent toolkit to simplify your development experience and deployment.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (6)
docs/source/workflows/react-agent/index.md(1 hunks)docs/source/workflows/reasoning-agent/index.md(1 hunks)docs/source/workflows/responses-api-and-agent/index.md(1 hunks)docs/source/workflows/rewoo-agent/index.md(1 hunks)docs/source/workflows/router-agent/index.md(1 hunks)docs/source/workflows/tool-calling-agent/index.md(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (4)
- docs/source/workflows/rewoo-agent/index.md
- docs/source/workflows/reasoning-agent/index.md
- docs/source/workflows/react-agent/index.md
- docs/source/workflows/responses-api-and-agent/index.md
🧰 Additional context used
📓 Path-based instructions (2)
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/router-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/router-agent/index.mddocs/source/workflows/tool-calling-agent/index.md
🪛 LanguageTool
docs/source/workflows/tool-calling-agent/index.md
[grammar] ~18-~18: Use a hyphen to join words.
Context: ...ction calling, but can be used with tool calling agents. The agent uses the NVID...
(QB_NEW_EN_HYPHEN)
🔇 Additional comments (3)
docs/source/workflows/router-agent/index.md (2)
1-16: Apache 2.0 license header is properly formatted.The file includes the required SPDX identifier, copyright with current year (2025), and complete Apache 2.0 boilerplate text.
18-28: Content structure and clarity are sound.The documentation clearly introduces the Router Agent concept, explains its purpose, and outlines the two-node implementation. The reference to YAML customization aligns with the PR's configuration-focused restructuring.
However, since the PR reviewers flagged Vale linting/documentation style errors, please verify this file passes the repository's documentation checks locally by running:
./ci/scripts/documentation_checks.shAdditionally, confirm that:
- All word choices comply with
ci/vale/styles/config/vocabularies/nat/reject.txt- Any specialized terminology is listed in
ci/vale/styles/config/vocabularies/nat/accept.txtif needed- The file doesn't contain any words flagged as spelling mistakes per your style guide
docs/source/workflows/tool-calling-agent/index.md (1)
1-16: License header is properly formatted.The Apache License 2.0 header is complete and correct. Copyright year is current.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
♻️ Duplicate comments (1)
docs/source/workflows/tool-calling-agent/index.md (1)
18-18: Fix the grammatically broken and logically inconsistent final sentence.The sentence structure is confirmed to be awkward: "Some LLMs do not support tool or function calling or being used with tool calling agents." The mixed parallel structure and shift to passive voice create ambiguity.
Use the second approach for clarity, as it explicitly states the causal relationship:
-Some LLMs do not support tool or function calling or being used with tool calling agents. +Some LLMs do not support tool or function calling and therefore cannot be used with tool-calling agents.
🧹 Nitpick comments (1)
docs/source/workflows/tool-calling-agent/tool-calling-agent.md (1)
18-19: Address inconsistent hyphenation of compound terms throughout the document.The document inconsistently hyphenates the compound term "tool calling" (and similar compounds). Line 86 correctly uses "Tool-Calling Agent" with hyphens, but other prose contexts lack hyphens (e.g., lines 19, 22, 37, 40, 105, 110, 112). According to standard style guidance, compound adjectives before nouns should be hyphenated in descriptive prose contexts. This inconsistency may also conflict with Vale linting checks mentioned in the PR.
Apply this approach:
- Use "tool-calling agent" (with hyphen) in descriptive/prose contexts
- Use "tool-calling" (with hyphen) for the compound in phrases like "tool-calling or function-calling"
- Consider "Tool Calling Agent" (no hyphen) acceptable in formal titles/headings as a proper name
Please verify the hyphenation requirement against your project's Vale style configuration (referenced in
ci/vale/styles/config/vocabularies/), and apply consistent hyphenation across all instances. For example:-The tool calling agent requires the `nvidia-nat[langchain]` plugin, +The tool-calling agent requires the `nvidia-nat[langchain]` plugin,and
-Since tool calling agents execute function calls directly, +Since tool-calling agents execute function calls directly,and
-Requires an LLM that supports tool calling or function calling. +Requires an LLM that supports tool-calling or function-calling.Also applies to: 22-22, 37-37, 40-40, 86-86, 105-105, 110-110, 112-112
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/source/workflows/tool-calling-agent/index.md(1 hunks)docs/source/workflows/tool-calling-agent/tool-calling-agent.md(3 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/tool-calling-agent/tool-calling-agent.mddocs/source/workflows/tool-calling-agent/index.md
🪛 LanguageTool
docs/source/workflows/tool-calling-agent/tool-calling-agent.md
[grammar] ~22-~22: Use a hyphen to join words.
Context: ...or a function. ## Requirements The tool calling agent requires the `nvidia-nat[l...
(QB_NEW_EN_HYPHEN)
docs/source/workflows/tool-calling-agent/index.md
[grammar] ~18-~18: Use a hyphen to join words.
Context: ...function calling or being used with tool calling agents. The agent uses the NVID...
(QB_NEW_EN_HYPHEN)
🔇 Additional comments (4)
docs/source/workflows/tool-calling-agent/tool-calling-agent.md (3)
18-20: Verify that copy-paste errors from prior review have been fully resolved.Past review comments flagged two instances of "ReAct agent" appearing in this Tool Calling Agent document. The current version correctly uses "tool calling agent" (lines 19, 40), indicating those fixes were applied. Confirm that no other references to "ReAct agent" or similar cross-file errors remain.
1-16: Apache License header is correct and copyright year is current.The file includes the required Apache License 2.0 header with the correct 2025 copyright year.
21-82: Documentation quality is clear, comprehensive, and well-structured.The reorganized content effectively presents the Tool Calling Agent with clear sections: Requirements (with multiple installation paths), Configuration (with two practical examples), Configurable Options, Step-by-Step Breakdown, and Limitations. The documentation contains no TODOs, FIXMEs, placeholder text, or offensive terminology. YAML examples are well-presented and relevant. The step-by-step walkthrough helps users understand the agent's behavior clearly.
Also applies to: 86-114
docs/source/workflows/tool-calling-agent/index.md (1)
1-16: ✅ License header looks good.The Apache 2.0 license header is correctly formatted with current copyright year (2025).
|
/ok to test 83e3daf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (1)
docs/source/workflows/sequential-executor/sequential-executor.md (1)
104-106: Remove duplicate sentence.Line 106 repeats the exact text from line 104 and should be deleted entirely.
Apply this diff:
The sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function. -The sequential executor follows a fixed execution path where each function's output directly becomes the input for the next function. <div align="center">
🧹 Nitpick comments (1)
docs/source/workflows/sequential-executor/sequential-executor.md (1)
120-120: Consider a more concise alternative to "takes into account."The phrase "takes into account" is wordy. Consider replacing it with a shorter verb like "considers" for improved clarity and conciseness.
Apply this diff:
-The validation takes into account whether functions use streaming or single output modes. +The validation considers whether functions use streaming or single output modes.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/source/workflows/sequential-executor/sequential-executor.md(4 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/sequential-executor/sequential-executor.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/sequential-executor/sequential-executor.md
🪛 LanguageTool
docs/source/workflows/sequential-executor/sequential-executor.md
[style] ~120-~120: ‘takes into account’ might be wordy. Consider a shorter alternative.
Context: ...nfiguration. :::{note} The validation takes into account whether functions use streaming or sing...
(EN_WORDINESS_PREMIUM_TAKES_INTO_ACCOUNT)
🔇 Additional comments (2)
docs/source/workflows/sequential-executor/sequential-executor.md (2)
24-28: Approve installation instructions.The installation section appropriately retains the source-checkout-specific guidance as required, allowing the documentation to serve users who have performed a source code checkout. This aligns with the feedback to preserve installation context.
30-99: Approve configuration examples.The three configuration examples are well-structured and clearly demonstrate the sequential executor usage both as a workflow and as a function, with appropriate YAML syntax and explanatory text. The configurable options section provides clear documentation of available parameters and their defaults.
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
docs/source/workflows/sequential-executor/sequential-executor.md (1)
113-113: Simplify potentially wordy phrasing.Consider using more concise language instead of "takes into account."
Apply this diff:
-The validation takes into account whether functions use streaming or single output modes. +The validation considers whether functions use streaming or single output modes.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/source/workflows/sequential-executor/sequential-executor.md(4 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values.
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/sequential-executor/sequential-executor.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/sequential-executor/sequential-executor.md
🪛 LanguageTool
docs/source/workflows/sequential-executor/sequential-executor.md
[style] ~113-~113: ‘takes into account’ might be wordy. Consider a shorter alternative.
Context: ...nfiguration. :::{note} The validation takes into account whether functions use streaming or sing...
(EN_WORDINESS_PREMIUM_TAKES_INTO_ACCOUNT)
🔇 Additional comments (1)
docs/source/workflows/sequential-executor/sequential-executor.md (1)
18-92: Documentation restructuring is clear and well-organized.The conversion to a configuration-focused guide with three YAML examples effectively demonstrates both workflow and function usage patterns. Installation instructions are appropriately retained (addressing earlier reviewer concerns about users requiring a source checkout). The "Configurable Options" section clearly documents each parameter with appropriate defaults and use-case guidance.
docs/source/workflows/sequential-executor/sequential-executor.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
…into lv-workflows-edits Signed-off-by: Linette Tang <lvojktu@nvidia.com>
|
/ok to test 76bab9d |
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
Signed-off-by: Linette Tang <lvojktu@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (3)
docs/source/workflows/tool-calling-agent/index.md (1)
18-18: Apply consistent hyphenation and improve conciseness in the opening paragraph.Two minor style issues on this line:
Hyphenation inconsistency: "tool calling agent" should be "tool-calling agent" (compound adjective modifying a noun). This is inconsistent with "tool-calling support" later in the same sentence and aligns with the hyphenation guidance from the style guide.
Verbosity: "In order to use" can be simplified to "To use" for conciseness.
Apply this diff to address both issues:
- In order to use the tool calling agent, you must choose an LLM that has tool-calling support. + To use the tool-calling agent, you must choose an LLM that has tool-calling support.docs/source/workflows/sequential-executor/index.md (2)
19-19: Consider breaking the long paragraph into smaller, more digestible sections.The opening paragraph spanning line 19 is quite lengthy (100+ words in a single sentence). Breaking it into 2-3 shorter paragraphs would improve readability and make the key concepts (chaining, linear execution, error handling) more scannable for readers.
Example refactor:
- A sequential executor is a control flow component that chains multiple functions together, where each function's output becomes the input for the next function. You can opt to validate the compatibility of the output of one function and the input type of the next function in the chain. This creates a linear tool execution pipeline that executes functions in a predetermined sequence without requiring LLMs or agents for orchestration. The sequential executor process allows for better error handling. +A sequential executor is a control flow component that chains multiple functions together in a linear pipeline. Each function's output becomes the input for the next function in the sequence. + +You can opt to validate the compatibility of output and input types between functions in the chain. This executes functions in a predetermined sequence without requiring LLMs or agents for orchestration, while allowing for improved error handling.
21-21: Clarify the phrasing about customizing prompts.The statement "customize prompts, such as streaming support and compatibility validation" is unclear. "Streaming support" and "compatibility validation" don't appear to be examples of prompt customization but rather distinct configuration features. Consider rephrasing to be more explicit about what can be customized.
Example refactor:
-Additionally, you can customize prompts, such as streaming support and compatibility validation, in your YAML config files for your specific needs. +You can configure streaming support, compatibility validation, and other behaviors in your YAML config files to suit your specific needs.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
docs/source/workflows/react-agent/index.md(1 hunks)docs/source/workflows/reasoning-agent/index.md(1 hunks)docs/source/workflows/responses-api-and-agent/index.md(1 hunks)docs/source/workflows/rewoo-agent/index.md(1 hunks)docs/source/workflows/router-agent/index.md(1 hunks)docs/source/workflows/sequential-executor/index.md(1 hunks)docs/source/workflows/tool-calling-agent/index.md(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (5)
- docs/source/workflows/reasoning-agent/index.md
- docs/source/workflows/router-agent/index.md
- docs/source/workflows/rewoo-agent/index.md
- docs/source/workflows/responses-api-and-agent/index.md
- docs/source/workflows/react-agent/index.md
🧰 Additional context used
📓 Path-based instructions (2)
**/*
⚙️ CodeRabbit configuration file
**/*: # Code Review Instructions
- Ensure the code follows best practices and coding standards. - For Python code, follow
PEP 20 and
PEP 8 for style guidelines.- Check for security vulnerabilities and potential issues. - Python methods should use type hints for all parameters and return values (except for return values of
None,
in that situation no return type hint is needed).
Example:def my_function(param1: int, param2: str) -> bool: pass- For Python exception handling, ensure proper stack trace preservation:
- When re-raising exceptions: use bare
raisestatements to maintain the original stack trace,
and uselogger.error()(notlogger.exception()) to avoid duplicate stack trace output.- When catching and logging exceptions without re-raising: always use
logger.exception()
to capture the full stack trace information.Documentation Review Instructions - Verify that documentation and comments are clear and comprehensive. - Verify that the documentation doesn't contain any TODOs, FIXMEs or placeholder text like "lorem ipsum". - Verify that the documentation doesn't contain any offensive or outdated terms. - Verify that documentation and comments are free of spelling mistakes, ensure the documentation doesn't contain any
words listed in the
ci/vale/styles/config/vocabularies/nat/reject.txtfile, words that might appear to be
spelling mistakes but are listed in theci/vale/styles/config/vocabularies/nat/accept.txtfile are OK.Misc. - All code (except .mdc files that contain Cursor rules) should be licensed under the Apache License 2.0,
and should contain an Apache License 2.0 header comment at the top of each file.
- Confirm that copyright years are up-to date whenever a file is changed.
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.md
docs/source/**/*
⚙️ CodeRabbit configuration file
This directory contains the source code for the documentation. All documentation should be written in Markdown format. Any image files should be placed in the
docs/source/_staticdirectory.
Files:
docs/source/workflows/sequential-executor/index.mddocs/source/workflows/tool-calling-agent/index.md
🪛 LanguageTool
docs/source/workflows/tool-calling-agent/index.md
[style] ~18-~18: Consider a more concise word here.
Context: ...hema to determine which tool to invoke. In order to use the tool calling agent, you must ch...
(IN_ORDER_TO_PREMIUM)
[grammar] ~18-~18: Use a hyphen to join words.
Context: ...tool to invoke. In order to use the tool calling agent, you must choose an LLM th...
(QB_NEW_EN_HYPHEN)
🔇 Additional comments (4)
docs/source/workflows/tool-calling-agent/index.md (2)
1-16: License header is correctly formatted.The Apache 2.0 SPDX header includes the correct copyright year (2025) and proper licensing identifiers.
20-20: Documentation content is clear and well-structured.The description of the agent's capabilities and customization options is concise and informative. The toctree navigation and link structure are properly formatted.
docs/source/workflows/sequential-executor/index.md (2)
1-16: Apache License header is properly formatted and current.The file includes a complete Apache License 2.0 header with a current copyright year (2025).
23-27: toctree reference verified.The file
sequential-executor.mdexists at the expected relative pathdocs/source/workflows/sequential-executor/sequential-executor.md, confirming the toctree entry is correctly configured.
Description
Closes
By Submitting this PR I confirm:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.