Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath-dev"
version = "0.0.62"
version = "0.0.63"
description = "UiPath Developer Console"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
29 changes: 27 additions & 2 deletions src/uipath/dev/skills/uipath/references/creating-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,34 @@ Guide to creating new UiPath agents with AI-powered business logic implementatio
When creating a new agent:

1. **Setup pyproject.toml**:
- Use the official `pyproject.toml` template present in skill assets if `pyproject.toml` doesn't exist in the agent directory
- Replace `{AGENT_NAME}` with the actual agent name
- Use the following `pyproject.toml` template if `pyproject.toml` doesn't exist in the agent directory
- Replace `{AGENT_NAME}` with the actual agent name (lowercase, hyphenated)
- Replace `{AGENT_DESCRIPTION}` with the agent description you provide
- Add the appropriate framework dependency based on the agentic framework being used:
- LangChain/LangGraph: add `"uipath-langchain"` to dependencies
- LlamaIndex: add `"uipath-llamaindex"` to dependencies
- OpenAI Agents SDK: add `"uipath-openai-agents"` to dependencies

```toml
[project]
name = "{AGENT_NAME}"
version = "0.1.0"
description = "{AGENT_DESCRIPTION}"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"uipath",
# Add the framework dependency based on the agentic framework:
# "uipath-langchain", # for LangChain / LangGraph agents
# "uipath-llamaindex", # for LlamaIndex agents
# "uipath-openai-agents", # for OpenAI Agents SDK agents
]

[dependency-groups]
dev = [
"uipath-dev",
]
```

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

Expand Down
21 changes: 19 additions & 2 deletions src/uipath/dev/skills/uipath/references/creating-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,27 @@ Guide to creating UiPath coded functions — deterministic automation units for
When creating a new function:

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

```toml
[project]
name = "{AGENT_NAME}"
version = "0.1.0"
description = "{AGENT_DESCRIPTION}"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"uipath",
]

[dependency-groups]
dev = [
"uipath-dev",
]
```

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

3. **Verify SDK**: Verify the UiPath SDK is available using `uv run uipath --version`.
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.