Skip to content

Commit da8129d

Browse files
cristipufuclaude
andcommitted
feat: add pyproject.toml templates with uipath-dev to skill docs
Add inline pyproject.toml templates to creating-agents.md and creating-functions.md with uipath-dev as a dev dependency and requires-python >= 3.11. Agents template includes framework dependency options (uipath-langchain, uipath-llamaindex, uipath-openai-agents). Bump version to 0.0.63. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e4f18fb commit da8129d

4 files changed

Lines changed: 48 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-dev"
3-
version = "0.0.62"
3+
version = "0.0.63"
44
description = "UiPath Developer Console"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/dev/skills/uipath/references/creating-agents.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,34 @@ Guide to creating new UiPath agents with AI-powered business logic implementatio
77
When creating a new agent:
88

99
1. **Setup pyproject.toml**:
10-
- Use the official `pyproject.toml` template present in skill assets if `pyproject.toml` doesn't exist in the agent directory
11-
- Replace `{AGENT_NAME}` with the actual agent name
10+
- Use the following `pyproject.toml` template if `pyproject.toml` doesn't exist in the agent directory
11+
- Replace `{AGENT_NAME}` with the actual agent name (lowercase, hyphenated)
1212
- Replace `{AGENT_DESCRIPTION}` with the agent description you provide
13+
- Add the appropriate framework dependency based on the agentic framework being used:
14+
- LangChain/LangGraph: add `"uipath-langchain"` to dependencies
15+
- LlamaIndex: add `"uipath-llamaindex"` to dependencies
16+
- OpenAI Agents SDK: add `"uipath-openai-agents"` to dependencies
17+
18+
```toml
19+
[project]
20+
name = "{AGENT_NAME}"
21+
version = "0.1.0"
22+
description = "{AGENT_DESCRIPTION}"
23+
readme = "README.md"
24+
requires-python = ">=3.11"
25+
dependencies = [
26+
"uipath",
27+
# Add the framework dependency based on the agentic framework:
28+
# "uipath-langchain", # for LangChain / LangGraph agents
29+
# "uipath-llamaindex", # for LlamaIndex agents
30+
# "uipath-openai-agents", # for OpenAI Agents SDK agents
31+
]
32+
33+
[dependency-groups]
34+
dev = [
35+
"uipath-dev",
36+
]
37+
```
1338

1439
2. **Install dependencies**: Run `uv sync` to install dependencies and create the virtual environment.
1540

src/uipath/dev/skills/uipath/references/creating-functions.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,27 @@ Guide to creating UiPath coded functions — deterministic automation units for
77
When creating a new function:
88

99
1. **Setup pyproject.toml**:
10-
- Use the official `pyproject.toml` template present in skill assets if `pyproject.toml` doesn't exist in the function directory
11-
- Replace `{AGENT_NAME}` with the actual function name
10+
- Use the following `pyproject.toml` template if `pyproject.toml` doesn't exist in the function directory
11+
- Replace `{AGENT_NAME}` with the actual function name (lowercase, hyphenated)
1212
- Replace `{AGENT_DESCRIPTION}` with the function description you provide
1313

14+
```toml
15+
[project]
16+
name = "{AGENT_NAME}"
17+
version = "0.1.0"
18+
description = "{AGENT_DESCRIPTION}"
19+
readme = "README.md"
20+
requires-python = ">=3.11"
21+
dependencies = [
22+
"uipath",
23+
]
24+
25+
[dependency-groups]
26+
dev = [
27+
"uipath-dev",
28+
]
29+
```
30+
1431
2. **Install dependencies**: Run `uv sync` to install dependencies and create the virtual environment.
1532

1633
3. **Verify SDK**: Verify the UiPath SDK is available using `uv run uipath --version`.

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)