Add nemo-cli-agent reference example#8
Draft
drazvan wants to merge 3 commits into
Draft
Conversation
Add a `generic` target to `nemo skills install` that writes the registered NeMo skill corpus into `.agents/skills/`, making it usable by folder-based agent harnesses outside the built-in Claude/Cursor targets. Add `--project-root` so callers can pin the install location explicitly while preserving the existing project-root discovery fallback for default CLI usage.
Add a folder-based reference agent that operates the NeMo Platform CLI through natural language. The example keeps `AGENTS.md` portable for Cursor and other harnesses, while `DEEP_AGENTS.md` carries the LangChain DeepAgents-specific instructions for skill injection, `read_file`, and `nemo_cli` behavior. Wire the graph through a NAT-compatible LangGraph wrapper and DeepAgents `SkillsMiddleware` backed by `.agents/skills/`, so installed NeMo skills become available to the model before it runs CLI workflows. Move the DeepAgents stack behind a `cli-agent` extra and enable that extra in the workspace plugin list so local development remains reproducible without forcing the dependency set onto the base agents plugin.
Add a top-level `nemo ask "<question>"` command via the `nemo.cli` plugin hook. The command dispatches to the bundled `nemo-cli-agent.yml` workflow through the agents plugin local-invoke path. Keep heavy agent imports lazy inside the command callback so normal `nemo` entry-point discovery does not load the LangChain/DeepAgents stack unless the shortcut is actually invoked.
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.agents/skillsinstaller target with explicit--project-rootsupport for folder-based agent harnesses.nemo-cli-agentDeepAgents/NAT reference example with portableAGENTS.md, DeepAgents-specific runtime instructions, and skill catalog wiring.nemo askas a shortcut for invoking the bundled example agent.Test plan
ruff checkon editednemo_cli_agentPython files during development.nemo askwith multiple model backends against local NeMo services.