feat(skills): add skills support to advanced agents with sandboxed cli tool#989
feat(skills): add skills support to advanced agents with sandboxed cli tool#989mariadhakalUipath wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds initial “skills” plumbing to advanced agents and introduces a sandbox-oriented internal tool for running uip commands inside an agent workspace.
Changes:
- Introduces a new
create_uipath_cli_tool()(uipath_cli) StructuredTool that runs oneuipcommand per invocation with command validation. - Adds unit tests covering command parsing, validation, subprocess result mapping, and timeout behavior for the new tool.
- Extends advanced-agent builders to accept and forward a
skillsparameter into the underlying deepagents agent construction.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
tests/agent/tools/internal_tools/test_uipath_cli_tool.py |
Adds test coverage for the new sandboxed CLI tool. |
src/uipath_langchain/agent/tools/internal_tools/uipath_cli_tool.py |
Implements the sandboxed uipath_cli tool and its input/output schemas. |
src/uipath_langchain/agent/tools/internal_tools/__init__.py |
Exports create_uipath_cli_tool from the internal tools package. |
src/uipath_langchain/agent/advanced/agent.py |
Adds skills parameter propagation to deepagents agent creation/wrappers. |
d79b0c1 to
5b5dea8
Compare
5b5dea8 to
36f2b2c
Compare
36f2b2c to
2f7b1c1
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
Comments suppressed due to low confidence (1)
src/uipath_langchain/agent/advanced/agent.py:45
- The
create_advanced_agentdocstring documentsmemorybut not the newly addedskillsparameter, which is part of the public API. Update the docstring to describe whatskillsdoes and how an empty value is handled.
"""Create a deepagents agent with planning, filesystem, and sub-agent tools.
``memory`` is a list of file paths loaded via deepagents' ``MemoryMiddleware``:
each is read from ``backend`` and injected into the system prompt every turn,
and the model maintains them with ``edit_file``. Empty disables the middleware.
"""
2f7b1c1 to
4922fb1
Compare
4922fb1 to
bff67ea
Compare
bff67ea to
df1cb80
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
src/uipath_langchain/agent/advanced/agent.py:42
create_advanced_agentnow acceptsskills, but the docstring only documentsmemory. Since empty skills collapses toNone(disabling skills support), documenting this behavior would help callers understand how to enable/disable the feature.
skills: Sequence[str] = (),
) -> CompiledStateGraph[Any, Any, Any, Any]:
"""Create a deepagents agent with planning, filesystem, and sub-agent tools.
``memory`` is a list of file paths loaded via deepagents' ``MemoryMiddleware``:
bc48a6b to
9bbae6c
Compare
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
9bbae6c to
850386e
Compare
|



Title: Uipath Skills with Cli tool for advanced agents.
Summary
Adds skills feature for advanced agents. Agent can act on it — run uip commands, review what it ran, and verify what it scaffolded.