Repository navigation
docs(uipath-agents): one command per project type, no scaffold-type flag - #3165
Conversation
|
Claude finished @vldcmp-uipath's task in 2m 44s —— View job PR Review:
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | No frontmatter changes; existing frontmatter valid |
| E2E Tests | OK | No test changes needed — existing command_pattern: 'uip\s+codedagent\s+new' regexes match with appended flags; PR description includes a passing coder-eval run showing 3× speedup (206s vs 599s) |
| Skill Body | OK | Rules, detection, and scaffold commands all updated consistently |
| References & Assets | OK | All relative links verified — every target file exists. No broken links |
| Repo Hygiene | OK | No secrets, no personal paths, no cross-skill imports. Changes scoped to the three affected skills. No new skill folders, so no CODEOWNERS / skills.sh.json / skill-status.json edits needed |
Issues for Manual Review
- Upstream availability: The PR notes that PyPI's
uipath 2.14.13anduipath-langchain 0.17.5(shipped 2026-09-09) do not yet include the--typeflag. The skill'sNo such option '--type'fallback (item 3 in "Verify the Scaffold") handles this, but reviewers should confirm the fallback path is actually tested in CI once the flag ships. uipath-llamaindex/uipath-openai-agentscompanion PRs: The PR description notes these packages don't have companion PRs yet. The flags are safe today (legacy middleware still claims the scaffold), but the--agent-framework llamaindexand--agent-framework openai-agentsvalues should be verified against those packages once they update.
Conclusion
Clean, well-scoped PR that correctly addresses a real scaffold regression. All 13 files are internally consistent, the old-CLI fallback is documented, links resolve, and existing test patterns still match. The one Medium observation (recovery prose duplication across framework files) is non-blocking and could be addressed in a follow-up. Approve.
|
Claude finished @vldcmp-uipath's task in 0s —— View job I'll analyze this and get back to you. |
`uip codedagent new` always asks `uipath new` for an agent scaffold and `uip function new` always asks for a function one; neither takes a `--type` of the caller's own (UiPath/cli#4126). These skills documented the old world, where `uipath new --type auto` let the installed packages decide and a missing framework package silently produced a Coded Function project. That path no longer exists, so it is removed rather than caveated. **Coded Function is no longer an agent framework.** It was the fourth option beside LangGraph, LlamaIndex and OpenAI Agents — in the framework tables, the selection prompts, the inference hints, the capability matrices and the entrypoint tables — reachable only because `new` used to fall through to a function scaffold. `setup.md` § Coded Function Agents, which told readers to run `uip codedagent new <NAME> --type function`, is deleted; that command now exits 1. **The scaffold-and-reshape scenario is gone.** "`new` gave me a `uipath.json` functions map, delete the generated files and re-run" was spread across eight places. A missing framework package now has one outcome: `new` fails and names what to install, and nothing is generated. **No version boundaries.** No "whenever the installed `uipath` accepts that option", no "an older `uip` or `uipath`", no `No such option '--type'`. `uipath-functions` states the Python scaffold flatly as a function project instead of hedging about which `uip` forwards which flag. `--type` is named nowhere in either skill: where a function is wanted the command is `uip function new`, and where a coded agent is wanted it is `uip codedagent new`. Added `--agent-framework <FRAMEWORK_PACKAGE>`, which `uipath` 2.14.23 ships and `uip codedagent new` accepts. It gives "Multiple agent frameworks are installed" a remedy that does not require uninstalling the others. Named by package, as the core's own help specifies. skills:validate, skills:check-links, skills:build, validate-skill-descriptions.sh, check-skill-status.py and check-skills-sh.py all pass. Every edit is outside the `skill-flavor` blocks, so the studioweb overrides are unchanged and still compose. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VqfFdgnQFGJ8EPGXn6HC82
57a9cc4 to
1aa5e4e
Compare
Why
UiPath/cli#4126 (merged,
e2942c59) pins the scaffold type on both wrappers:uip codedagent newalways asksuipath newfor an agent,uip function newalways asks for a function, and neither takes a--typeof the caller's own. It builds on uipath-python#1886, which addeduipath new --type auto|agent|functioninuipath2.14.23.These two skills documented the world before that:
uipath new --type autolet the installed packages decide, and a missing framework package silently produced a Coded Function project under the agent command. That path no longer exists, so it is removed rather than caveated.What changed
Coded Function is no longer an agent framework. It was the fourth option beside LangGraph, LlamaIndex and OpenAI Agents — in the framework tables, the selection prompts, the inference hints, the capability matrices and the entrypoint tables — reachable only because
newused to fall through to a function scaffold.setup.md§ Coded Function Agents, which told readers to runuip codedagent new <NAME> --type function, is deleted; that command now exits 1.The scaffold-and-reshape scenario is gone. "
newgave me auipath.jsonfunctions map, delete the generated files and re-run" was spread across eight places. A missing framework package now has one outcome:newfails and names what to install, and nothing is generated.setup.mdgains a Verify the Scaffold section with the three outcomes (<framework>.jsonpresent → continue; no framework installed → install and re-run; several installed → name one), plus matching troubleshooting rows.No version boundaries. No "whenever the installed
uipathaccepts that option", no "an olderuiporuipath", noNo such option '--type'.--agent-framework <FRAMEWORK_PACKAGE>added, whichuipath2.14.23 ships anduip codedagent newaccepts. It gives "Multiple agent frameworks are installed" a remedy that does not require uninstalling the others. Named by package, as the core's own help specifies.--typeis named nowhere in either skill. Where a function is wanted the command isuip function new; where a coded agent is wanted it isuip codedagent new.Files
uipath-agents(13 files) —SKILL.md(install the framework package first, verify after);references/coded/lifecycle/setup.md(Framework Selection rewritten, § Coded Function Agents replaced by § Verify the Scaffold,uipath.jsonrow no longer mentions afunctionsmap, two troubleshooting rows);references/coded/quickstart.md(new Critical Rule, framework list, Setup stage row installs beforenew, Scenario 2 verification note);references/coded/lifecycle/build.mdandrunning-agents.md(Coded Function rows dropped from the framework and entrypoint tables; the no-LLM case routes touipath-functions);references/coded/embedding-in-flows.md(the "simple stub via Coded Function" alternative deleted);coded-vs-lowcode-guide.md,capabilities/{human-in-the-loop,conversational-agents}.md,frameworks/{langgraph,llamaindex,openai-agents}-integration.md,frameworks/agent-patterns.md.uipath-functions(2 files) —SKILL.mdCritical Rule 6 and the Quick Start comment now state the Python scaffold flatly as a function project instead of hedging about whichuipforwards which flag;references/python/workflow-guide.mdStep 1 replaces the five-step reshape recovery with one line pointing atuip codedagent new.No changes to
preview/uipath-maestro-flowor to task YAMLs. Theuip\s+codedagent\s+newpatterns are untouched, and every edit is outside theskill-flavorblocks, so thestudioweboverrides are unchanged and still compose.Validation
npm run skills:validate(29 skills × default + studioweb),npm run skills:check-links(7032 links + 2298 fragments),npm run skills:build,hooks/validate-skill-descriptions.sh,scripts/check-skill-status.pyandscripts/check-skills-sh.pyall pass. CI is green on this head — 13/13.Probes against
uipath2.14.23–2.14.26: withuipath-langchaininstalled,uipath newwriteslanggraph.json; with no framework package,uipath new --type agent(which is whatuip codedagent newnow sends) stops withThe 'uipath-langchain' package is required to scaffold a 'langchain' agentand writes nothing;--agent-frameworkparses only together with--type agent, which the wrapper's pin supplies. Those are the outcomes § Verify the Scaffold documents.coder-evalrun oftasks/uipath-agents/coded/conversational_agent_langgraph(claude-code/claude-sonnet-5,experiments/default.yaml) against an earlier revision of this branch: SUCCESS 1.0, 37 visible / 38 SDK turns, 206 s, versus main at 45 / 46 turns, 599 s (main recovered through a--helpdetour and a re-scaffold;smoke.yamlcapsmax_turnsat 40, so main's 46 would be cut off). That revision passed explicit flags; this one relies on the package being installed first, which is the same happy path, but it has not been re-run.Note for reviewers
Rebased onto
main(9728970e) and squashed to one commit, which invalidated @al3xanndru's approval on the pre-rebase head57a9cc4d. The rebase crossed main's independent edits to four of these files; the content is otherwise what was approved.mainalso moveduipath-functionsPython ownership to @UiPath/team-agents-cli (#3658), so that team now owns the twouipath-functionsfiles here.🤖 Generated with Claude Code
https://claude.ai/code/session_01VqfFdgnQFGJ8EPGXn6HC82