uipath-langchain 0.0.99__tar.gz → 0.0.101__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of uipath-langchain might be problematic. Click here for more details.
- uipath_langchain-0.0.101/.github/workflows/publish-dev.yml +123 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/PKG-INFO +4 -2
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/README.md +2 -0
- uipath_langchain-0.0.99/docs/interrupt_models.md → uipath_langchain-0.0.101/docs/human_in_the_loop.md +41 -39
- uipath_langchain-0.0.101/docs/quick_start.md +151 -0
- uipath_langchain-0.0.101/docs/quick_start_images/cloud_env_var.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/pyproject.toml +2 -2
- uipath_langchain-0.0.101/samples/README.md +19 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/pyproject.toml +3 -6
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/pyproject.toml +2 -2
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/README.md +20 -22
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +2 -5
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +3 -6
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/retrieval-chain/pyproject.toml +2 -2
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/pyproject.toml +3 -3
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/pyproject.toml +1 -1
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/README.md +16 -19
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/pyproject.toml +3 -3
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_templates/main.py.template +1 -1
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/cli_new.py +10 -10
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/cli_run.py +0 -2
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/uv.lock +1425 -1425
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.cursorrules +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.editorconfig +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.gitattributes +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.github/workflows/build.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.github/workflows/ci.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.github/workflows/commitlint.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.gitignore +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.python-version +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/LICENSE +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/chat_models.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/context_grounding_retriever.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/context_grounding_vector_store.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/run-agent.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/start-job.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/retrieval-chain/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/retrieval-chain/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/retrieval-chain/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/retrieval-chain/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/ticket-classification/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_escalation.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_output.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_utils/_graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/cli_init.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/models.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/utils/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/utils/_chat_types.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/middlewares.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/UiPathTracer.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_events.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_utils.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_settings.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/tests/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/tests/test_dummy.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/tests/test_langchain_client.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/tests/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/tests/tracers/test_instrument_traceable.py +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
name: Publish Dev Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, synchronize, reopened, labeled]
|
|
6
|
+
secrets:
|
|
7
|
+
PYPI_TOKEN_NIGHTLY:
|
|
8
|
+
required: true
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
publish-dev:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
# Only run if PR has the build:dev label
|
|
16
|
+
if: contains(github.event.pull_request.labels.*.name, 'build:dev')
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- uses: astral-sh/setup-uv@v5
|
|
22
|
+
|
|
23
|
+
- uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version-file: ".python-version"
|
|
26
|
+
|
|
27
|
+
- name: Setup venv
|
|
28
|
+
run: |
|
|
29
|
+
uv venv
|
|
30
|
+
uv sync --all-extras
|
|
31
|
+
|
|
32
|
+
- name: Set development version
|
|
33
|
+
shell: pwsh
|
|
34
|
+
env:
|
|
35
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
+
run: |
|
|
37
|
+
$pyprojcontent = Get-Content pyproject.toml -Raw
|
|
38
|
+
|
|
39
|
+
$PROJECT_NAME = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?name\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
|
|
40
|
+
$CURRENT_VERSION = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?version\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
|
|
41
|
+
$NIGHTLY_NAME = "$PROJECT_NAME-nightly"
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# Get PR number and run number with proper padding
|
|
45
|
+
$PR_NUM = [int]"${{ github.event.pull_request.number }}"
|
|
46
|
+
$PADDED_PR = "{0:D5}" -f [int]"${{ github.event.pull_request.number }}"
|
|
47
|
+
$PADDED_RUN = "{0:D4}" -f [int]"${{ github.run_number }}"
|
|
48
|
+
$PADDED_NEXT_PR = "{0:D5}" -f ($PR_NUM + 1)
|
|
49
|
+
|
|
50
|
+
# Create version range strings for PR
|
|
51
|
+
$MIN_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR" + "0000"
|
|
52
|
+
$MAX_VERSION = "$CURRENT_VERSION.dev1$PADDED_NEXT_PR" + "0000"
|
|
53
|
+
|
|
54
|
+
# Create unique dev version with PR number and run ID
|
|
55
|
+
$DEV_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR$PADDED_RUN"
|
|
56
|
+
|
|
57
|
+
# Update version in pyproject.toml
|
|
58
|
+
(Get-Content pyproject.toml) -replace "version = `"$CURRENT_VERSION`"", "version = `"$DEV_VERSION`"" | Set-Content pyproject.toml
|
|
59
|
+
|
|
60
|
+
# Update project name in pyproject.toml
|
|
61
|
+
(Get-Content pyproject.toml) -replace "name = `"$PROJECT_NAME`"", "name = `"$NIGHTLY_NAME`"" | Set-Content pyproject.toml
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
Write-Output "Package version set to $DEV_VERSION"
|
|
65
|
+
|
|
66
|
+
$dependencyMessage = @"
|
|
67
|
+
## Development Package
|
|
68
|
+
|
|
69
|
+
- Add this package as a dependency in your pyproject.toml:
|
|
70
|
+
|
|
71
|
+
``````toml
|
|
72
|
+
[project]
|
|
73
|
+
dependencies = [
|
|
74
|
+
# Exact version:
|
|
75
|
+
"$NIGHTLY_NAME==$DEV_VERSION",
|
|
76
|
+
|
|
77
|
+
# Any version from PR
|
|
78
|
+
"$NIGHTLY_NAME>=$MIN_VERSION,<$MAX_VERSION"
|
|
79
|
+
]
|
|
80
|
+
``````
|
|
81
|
+
"@
|
|
82
|
+
|
|
83
|
+
# Get the owner and repo from the GitHub repository
|
|
84
|
+
$owner = "${{ github.repository_owner }}"
|
|
85
|
+
$repo = "${{ github.repository }}".Split('/')[1]
|
|
86
|
+
$prNumber = $PR_NUM
|
|
87
|
+
|
|
88
|
+
# Get the current PR description
|
|
89
|
+
$prUri = "https://api.github.com/repos/$owner/$repo/pulls/$prNumber"
|
|
90
|
+
$headers = @{
|
|
91
|
+
Authorization = "token $env:GITHUB_TOKEN"
|
|
92
|
+
Accept = "application/vnd.github.v3+json"
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
$pr = Invoke-RestMethod -Uri $prUri -Method Get -Headers $headers
|
|
96
|
+
$currentBody = $pr.body
|
|
97
|
+
|
|
98
|
+
# Check if there's already a development package section
|
|
99
|
+
if ($currentBody -match '## Development Package') {
|
|
100
|
+
# Replace the existing section with the new dependency message
|
|
101
|
+
$newBody = $currentBody -replace '## Development Package(\r?\n|.)*?(?=##|$)', $dependencyMessage
|
|
102
|
+
} else {
|
|
103
|
+
# Append the dependency message to the end of the description
|
|
104
|
+
$newBody = if ($currentBody) { "$currentBody`n`n$dependencyMessage" } else { $dependencyMessage }
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Update the PR description
|
|
108
|
+
$updateBody = @{
|
|
109
|
+
body = $newBody
|
|
110
|
+
} | ConvertTo-Json
|
|
111
|
+
|
|
112
|
+
Invoke-RestMethod -Uri $prUri -Method Patch -Headers $headers -Body $updateBody -ContentType "application/json"
|
|
113
|
+
|
|
114
|
+
Write-Output "Updated PR description with development package information"
|
|
115
|
+
|
|
116
|
+
- name: Build package
|
|
117
|
+
run: uv build
|
|
118
|
+
|
|
119
|
+
- name: Publish
|
|
120
|
+
run: |
|
|
121
|
+
uv publish
|
|
122
|
+
env:
|
|
123
|
+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN_NIGHTLY }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.101
|
|
4
4
|
Summary: UiPath Langchain
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
|
|
|
25
25
|
Requires-Dist: python-dotenv>=1.0.1
|
|
26
26
|
Requires-Dist: requests>=2.23.3
|
|
27
27
|
Requires-Dist: types-requests>=2.32.0.20241016
|
|
28
|
-
Requires-Dist: uipath<2.1.0,>=2.0.
|
|
28
|
+
Requires-Dist: uipath<2.1.0,>=2.0.31
|
|
29
29
|
Provides-Extra: langchain
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
@@ -38,6 +38,8 @@ A Python SDK that enables developers to build and deploy LangGraph agents to the
|
|
|
38
38
|
|
|
39
39
|
This package is an extension to the [UiPath Python SDK](https://github.com/UiPath/uipath-python).
|
|
40
40
|
|
|
41
|
+
This [quickstart guide](docs/quick_start.md) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
42
|
+
|
|
41
43
|
## Requirements
|
|
42
44
|
|
|
43
45
|
- Python 3.10 or higher
|
|
@@ -7,6 +7,8 @@ A Python SDK that enables developers to build and deploy LangGraph agents to the
|
|
|
7
7
|
|
|
8
8
|
This package is an extension to the [UiPath Python SDK](https://github.com/UiPath/uipath-python).
|
|
9
9
|
|
|
10
|
+
This [quickstart guide](docs/quick_start.md) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
11
|
+
|
|
10
12
|
## Requirements
|
|
11
13
|
|
|
12
14
|
- Python 3.10 or higher
|
|
@@ -1,81 +1,83 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Human In The Loop
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Guide for **Human-In-The-Loop** scenarios within the UiPath-Langchain integration.
|
|
4
4
|
It focuses on the **interrupt(model)** functionality, illustrating its role as a symbolic representation of an agent's
|
|
5
5
|
wait state within the Langchain framework.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
|
|
8
8
|
## Models Overview
|
|
9
9
|
|
|
10
|
-
### 1. InvokeProcess
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
### 1. CreateAction
|
|
12
|
+
|
|
13
|
+
The `CreateAction` model is utilized to create an escalation action within the UiPath Action Center as part of an interrupt context. The action will rely on a previously created UiPath app.
|
|
14
|
+
After addressing the escalation, the current agent will resume execution.
|
|
15
|
+
For more information on UiPath apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
|
|
15
16
|
|
|
16
17
|
#### Attributes:
|
|
17
|
-
- **name** (str): The name of the
|
|
18
|
-
- **
|
|
18
|
+
- **name** (Optional[str]): The name of the app.
|
|
19
|
+
- **key** (Optional[str]): The key of the app.
|
|
20
|
+
- **title** (str): The title of the action to create.
|
|
21
|
+
- **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
|
|
22
|
+
- **app_version** (Optional[int]): The version of the app (defaults to 1).
|
|
23
|
+
- **assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
|
|
19
24
|
|
|
20
25
|
#### Example:
|
|
21
26
|
```python
|
|
22
|
-
from uipath.models import
|
|
23
|
-
|
|
27
|
+
from uipath.models import CreateAction
|
|
28
|
+
action_output = interrupt(CreateAction(name="AppName", title="Escalate Issue", data={"key": "value"}, app_version=1, assignee="user@example.com"))
|
|
24
29
|
```
|
|
25
|
-
|
|
26
|
-
For a practical implementation of the `InvokeProcess` model, refer to the sample usage in the [planner.py](../samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py#L181) file. This example demonstrates how to invoke a process with dynamic input arguments, showcasing the integration of the interrupt functionality within a multi-agent system or a system where an agent integrates with RPA processes and API workflows.
|
|
30
|
+
For a practical implementation of the `CreateAction` model, refer to the [ticket-classification sample](https://github.com/UiPath/uipath-langchain-python/tree/main/samples/ticket-classification). This sample demonstrates how to create an action with dynamic input.
|
|
27
31
|
|
|
28
32
|
---
|
|
29
33
|
|
|
30
|
-
### 2.
|
|
34
|
+
### 2. WaitAction
|
|
31
35
|
|
|
32
|
-
The `
|
|
33
|
-
the job has already been created.
|
|
36
|
+
The `WaitAction` model is used to wait for an action to be handled. This model is intended for scenarios where the action has already been created.
|
|
34
37
|
|
|
35
38
|
#### Attributes:
|
|
36
|
-
- **
|
|
39
|
+
- **action** (Action): The instance of the action to wait for.
|
|
37
40
|
|
|
38
41
|
#### Example:
|
|
39
42
|
```python
|
|
40
|
-
from uipath.models import
|
|
41
|
-
|
|
43
|
+
from uipath.models import WaitAction
|
|
44
|
+
action_output = interrupt(WaitAction(action=my_action_instance))
|
|
42
45
|
```
|
|
43
|
-
|
|
44
46
|
---
|
|
47
|
+
> 💡 UiPath Langchain sdk also supports **Robot/Agent-in-the-loop** scenarios. In this context, the execution of one agent
|
|
48
|
+
> can be suspended until another robot or agent finishes its execution.
|
|
45
49
|
|
|
46
|
-
### 3.
|
|
50
|
+
### 3. InvokeProcess
|
|
47
51
|
|
|
48
|
-
The `
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
The `InvokeProcess` model is utilized to invoke a process within the UiPath cloud platform.
|
|
53
|
+
This process can be of various types, including API workflows, Agents or RPA automation.
|
|
54
|
+
Upon completion of the invoked process, the current agent will automatically resume execution.
|
|
51
55
|
|
|
52
56
|
#### Attributes:
|
|
53
|
-
- **name** (
|
|
54
|
-
- **
|
|
55
|
-
- **title** (str): The title of the action to create.
|
|
56
|
-
- **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
|
|
57
|
-
- **app_version** (Optional[int]): The version of the app (defaults to 1).
|
|
58
|
-
- **assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
|
|
57
|
+
- **name** (str): The name of the process to invoke.
|
|
58
|
+
- **input_arguments** (Optional[Dict[str, Any]]): A dictionary containing the input arguments required for the invoked process.
|
|
59
59
|
|
|
60
60
|
#### Example:
|
|
61
61
|
```python
|
|
62
|
-
from uipath.models import
|
|
63
|
-
|
|
62
|
+
from uipath.models import InvokeProcess
|
|
63
|
+
process_output = interrupt(InvokeProcess(name="MyProcess", input_arguments={"arg1": "value1"}))
|
|
64
64
|
```
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
For a practical implementation of the `InvokeProcess` model, refer to the [multi-agent-planner-researcher-coder-distributed sample](https://github.com/UiPath/uipath-langchain-python/tree/main/samples/multi-agent-planner-researcher-coder-distributed). This sample demonstrates how to invoke a process with dynamic input arguments, showcasing the integration of the interrupt functionality within a multi-agent system or a system where an agent integrates with RPA processes and API workflows.
|
|
66
67
|
|
|
67
68
|
---
|
|
68
69
|
|
|
69
|
-
### 4.
|
|
70
|
+
### 4. WaitJob
|
|
70
71
|
|
|
71
|
-
The `
|
|
72
|
+
The `WaitJob` model is used to wait for a job completion. Unlike `InvokeProcess`, which automatically creates a job, this model is intended for scenarios where
|
|
73
|
+
the job has already been created.
|
|
72
74
|
|
|
73
75
|
#### Attributes:
|
|
74
|
-
- **
|
|
76
|
+
- **job** (Job): The instance of the job that the agent will wait for. This should be a valid job object that has been previously created.
|
|
75
77
|
|
|
76
78
|
#### Example:
|
|
77
79
|
```python
|
|
78
|
-
from uipath.models import
|
|
79
|
-
|
|
80
|
+
from uipath.models import WaitJob
|
|
81
|
+
job_output = interrupt(WaitJob(job=my_job_instance))
|
|
80
82
|
```
|
|
81
83
|
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Quickstart Guide: UiPath LangChain Agents
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
This guide walks you through the process of setting up, creating, publishing, and running your first UiPath-LangChain Agent.
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
Ensure you have the following installed before proceeding:
|
|
10
|
+
|
|
11
|
+
- Python 3.10 or higher
|
|
12
|
+
- `pip` or `uv` package manager
|
|
13
|
+
- A UiPath Platform account with appropriate permissions
|
|
14
|
+
- Either Anthropic or OpenAI API key
|
|
15
|
+
|
|
16
|
+
### (Optional) Generating API keys
|
|
17
|
+
|
|
18
|
+
> If you already have either an Anthropic or OpenAi API key you can skip this section.
|
|
19
|
+
1. **Anthropic** - Generate an Anthropic API key [here](https://console.anthropic.com/settings/keys).
|
|
20
|
+
2. **OpenAi** - Generate an OpenAI API key [here](https://platform.openai.com).
|
|
21
|
+
|
|
22
|
+
## Step-by-Step Guide
|
|
23
|
+
|
|
24
|
+
## Creating a New Project
|
|
25
|
+
|
|
26
|
+
We recommend using `uv` for package management. To create a new project:
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
mkdir example
|
|
30
|
+
cd example
|
|
31
|
+
uv init . --python 3.10
|
|
32
|
+
```
|
|
33
|
+
This command creates a basic project structure.
|
|
34
|
+
|
|
35
|
+
## Install the UiPath LangChain SDK
|
|
36
|
+
|
|
37
|
+
Add the UiPath LangChain SDK to your project:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
uv add uipath[langchain]
|
|
41
|
+
```
|
|
42
|
+
To verify the installation, run:
|
|
43
|
+
|
|
44
|
+
```shell
|
|
45
|
+
uv run uipath -lv
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## (Optional) Activate your virtual environment
|
|
49
|
+
```shell
|
|
50
|
+
# Windows
|
|
51
|
+
.venv\Scripts\activate
|
|
52
|
+
```
|
|
53
|
+
or
|
|
54
|
+
```shell
|
|
55
|
+
# Unix-like Systems
|
|
56
|
+
source .venv/bin/activate
|
|
57
|
+
```
|
|
58
|
+
> If you skip activating the virtual environment, prefix the upcoming commands with `uv run`.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## Create Your First UiPath Agent
|
|
62
|
+
|
|
63
|
+
Generate your first UiPath LangChain:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
uipath new my-agent
|
|
67
|
+
```
|
|
68
|
+
This command creates the following files:
|
|
69
|
+
|
|
70
|
+
| File Name | Description |
|
|
71
|
+
|------------------|-----------------------------------------------------------------------------------------------------------------------------------|
|
|
72
|
+
| `.env` | Environment variables and secrets (this file will not be packed & published). |
|
|
73
|
+
| `main.py` | LangGraph agent code. |
|
|
74
|
+
| `uipath.json` | Input/output json schemas and bindings. |
|
|
75
|
+
| `langgraph.json` | [LangGraph](https://langchain-ai.github.io/langgraph/concepts/application_structure/#file-structure) specific configuration file. |
|
|
76
|
+
| `agent.mermaid` | Graph visual representation. |
|
|
77
|
+
|
|
78
|
+
## Set Up Environment Variables
|
|
79
|
+
|
|
80
|
+
Before running the agent, set either `ANTHROPIC_API_KEY` or `OPENAI_API_KEY` in the previously created `.env` file:
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
ANTHROPIC_API_KEY=your_api_key_here
|
|
84
|
+
```
|
|
85
|
+
or
|
|
86
|
+
```
|
|
87
|
+
OPENAI_API_KEY=your_api_key_here
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Run the Agent Locally
|
|
91
|
+
|
|
92
|
+
Execute the agent with a sample input:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
uipath run agent '{"topic": "UiPath"}'
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
This command runs your agent locally and generates the report at standard output.
|
|
99
|
+
|
|
100
|
+
## Pack and Publish the agent on UiPath Cloud Platform
|
|
101
|
+
|
|
102
|
+
Follow these steps to publish and run your agent on UiPath Cloud Platform:
|
|
103
|
+
|
|
104
|
+
### Authenticate with UiPath
|
|
105
|
+
```bash
|
|
106
|
+
uipath auth
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### (Optional) Update author details in `pyproject.toml`
|
|
110
|
+
```toml
|
|
111
|
+
authors = [{ name = "John Doe", email = "john.doe@example.com" }]
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Package your project:
|
|
115
|
+
```bash
|
|
116
|
+
uipath pack
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Publish to your workspace
|
|
120
|
+
```bash
|
|
121
|
+
uipath publish --my-workspace
|
|
122
|
+
```
|
|
123
|
+
> Please note that a process will be auto-created only upon publishing to **my-workspace** package feed.
|
|
124
|
+
|
|
125
|
+
### Configure environment variables using the provided link
|
|
126
|
+
|
|
127
|
+

|
|
128
|
+
|
|
129
|
+
## Invoke the Agent on UiPath Platform
|
|
130
|
+
|
|
131
|
+
Invoke the agent in UiPath Cloud Platform:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
uipath invoke agent '{"topic": "UiPath"}'
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Expected output:**
|
|
138
|
+
```
|
|
139
|
+
⠦ Loading configuration ...
|
|
140
|
+
⠦ Starting job ...
|
|
141
|
+
✨ Job started successfully!
|
|
142
|
+
🔗 Monitor your job here: https://example.com
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Use the provided link to monitor your job and view detailed traces.
|
|
146
|
+
|
|
147
|
+
## Next steps
|
|
148
|
+
|
|
149
|
+
Congratulations! You have successfully set up, created, published, and run a UiPath LangChain Agent. 🚀
|
|
150
|
+
|
|
151
|
+
For more advanced agents and examples, please refer to our [samples section](../samples).
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath-langchain"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.101"
|
|
4
4
|
description = "UiPath Langchain"
|
|
5
5
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"uipath>=2.0.
|
|
8
|
+
"uipath>=2.0.31, <2.1.0",
|
|
9
9
|
"langgraph>=0.2.70",
|
|
10
10
|
"langchain-core>=0.3.34",
|
|
11
11
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Project Samples
|
|
2
|
+
|
|
3
|
+
## [Multi agent supervisor, researcher, coder](multi-agent-supervisor-researcher-coder)
|
|
4
|
+
This sample showcases a multi-agent system, involving a supervisor, a researcher, and a coder working in coordination to tackle complex tasks.
|
|
5
|
+
|
|
6
|
+
## [Multi agent planner, researcher, coder distributed](multi-agent-planner-researcher-coder-distributed)
|
|
7
|
+
Here, a multi-agent system breaks down complex tasks into discreet steps, routing them to specialized agents. Each agent operates **independently** and can be deployed as a separate process. The system includes a planner, researcher, and coder agent.
|
|
8
|
+
|
|
9
|
+
## [Retrieval chain](retrieval-chain)
|
|
10
|
+
This example shows how to retrieve relevant documents for a query, using the UiPath Context Grounding vectorstore. It also integrates this into a Langchain retrieval chain for response formulation.
|
|
11
|
+
|
|
12
|
+
## [Simple local MCP](simple-local-mcp)
|
|
13
|
+
This sample shows how to create an agent using LangGraph with multiple tool servers via the MCP (Model Context Protocol) standard.
|
|
14
|
+
|
|
15
|
+
## [Simple remote MCP](simple-remote-mcp)
|
|
16
|
+
This sample demonstrates the creation of an agent using LangGraph, which connects to a remote MCP (Model Context Protocol) Server.
|
|
17
|
+
|
|
18
|
+
## [Ticket classification](ticket-classification)
|
|
19
|
+
This sample demonstrates automatic classification of support tickets into categories. It includes a human approval step via UiPath Action Center.
|
{uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/company-research-agent/pyproject.toml
RENAMED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "company-research-agent"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Company research agent with Tavily web search"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "John Doe" }
|
|
7
|
-
]
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
8
6
|
requires-python = ">=3.10"
|
|
9
7
|
dependencies = [
|
|
10
8
|
"langgraph>=0.2.55",
|
|
11
|
-
"langchain-community>=0.3.9",
|
|
12
9
|
"langchain-anthropic>=0.3.8",
|
|
13
10
|
"tavily-python>=0.5.0",
|
|
14
|
-
"uipath-langchain==0.0.
|
|
11
|
+
"uipath-langchain==0.0.100"
|
|
15
12
|
]
|
|
16
13
|
|
|
17
14
|
[project.optional-dependencies]
|
{uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/pyproject.toml
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "hitl-inbox-server"
|
|
3
3
|
version = "0.0.1"
|
|
4
4
|
description = "HITL Inbox"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
7
|
"fastapi>=0.115.11",
|
|
8
8
|
"uvicorn>=0.34.0",
|
|
@@ -11,6 +11,6 @@ dependencies = [
|
|
|
11
11
|
"jinja2>=3.1.6",
|
|
12
12
|
"httpx>=0.28.1",
|
|
13
13
|
"python-multipart>=0.0.20",
|
|
14
|
-
"uipath==2.0.
|
|
14
|
+
"uipath==2.0.31"
|
|
15
15
|
]
|
|
16
16
|
requires-python = ">=3.10"
|
|
@@ -6,7 +6,7 @@ This repository implements a multi-agent system that decomposes complex tasks in
|
|
|
6
6
|
2. **Researcher Agent**: Gathers information, formulas, and reference materials without performing calculations.
|
|
7
7
|
3. **Coder Agent**: Executes calculations and evaluates formulas with specific values.
|
|
8
8
|
|
|
9
|
-
Each agent operates
|
|
9
|
+
Each agent operates independently and can be deployed as a separate process, while still being packaged together as part of an Orchestrator Agent Package.
|
|
10
10
|
|
|
11
11
|
## System Architecture
|
|
12
12
|
|
|
@@ -178,33 +178,31 @@ uipath run coder '{"messages":[{"content":"Let me help you state the Pythagorean
|
|
|
178
178
|
uipath auth
|
|
179
179
|
```
|
|
180
180
|
> **Note:** After successful authentication in the browser, select the tenant for publishing the agent package.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
4: Solutions
|
|
190
|
-
5: SolutionsTest
|
|
191
|
-
6: Test
|
|
192
|
-
7: TestRoles
|
|
193
|
-
Select tenant: 2
|
|
194
|
-
```
|
|
181
|
+
```
|
|
182
|
+
👇 Select tenant:
|
|
183
|
+
0: DefaultTenant
|
|
184
|
+
1: Tenant2
|
|
185
|
+
2: Tenant3
|
|
186
|
+
...
|
|
187
|
+
Select tenant: 2
|
|
188
|
+
```
|
|
195
189
|
|
|
196
190
|
5. **Package and Publish Agents**
|
|
197
191
|
```bash
|
|
198
192
|
uipath pack
|
|
199
193
|
uipath publish
|
|
200
194
|
```
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
195
|
+
Select the feed to publish your package:
|
|
196
|
+
```
|
|
197
|
+
👇 Select package feed:
|
|
198
|
+
0: Orchestrator Tenant Processes Feed
|
|
199
|
+
1: Orchestrator Folder1 Feed
|
|
200
|
+
2: Orchestrator Folder2 Feed
|
|
201
|
+
3: Orchestrator Personal Workspace Feed
|
|
202
|
+
...
|
|
203
|
+
Select feed number: 3
|
|
204
|
+
```
|
|
205
|
+
> Note: When publishing to personal workspace feed, a process will be auto-created for you.
|
|
208
206
|
|
|
209
207
|
6. **Create Agent Processes in Orchestrator**
|
|
210
208
|
- **Planner Agent**
|
|
@@ -2,17 +2,14 @@
|
|
|
2
2
|
name = "multi-agents-distributed"
|
|
3
3
|
version = "0.0.1"
|
|
4
4
|
description = "Supervisor agent that coordinates between a researcher and a coder"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "Radu Mocanu", email = "radu.mocanu@uipath.com" }
|
|
7
|
-
]
|
|
5
|
+
authors = [[{ name = "John Doe", email = "john.doe@myemail.com" }]]
|
|
8
6
|
requires-python = ">=3.10"
|
|
9
7
|
dependencies = [
|
|
10
8
|
"langgraph>=0.2.55",
|
|
11
|
-
"langchain-community>=0.3.9",
|
|
12
9
|
"langchain-anthropic>=0.3.8",
|
|
13
10
|
"langchain-experimental>=0.3.4",
|
|
14
11
|
"tavily-python>=0.5.0",
|
|
15
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100"
|
|
16
13
|
]
|
|
17
14
|
|
|
18
15
|
[project.optional-dependencies]
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "multi_agent_supervisor"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Multi-agent system where a supervisor coordinates between a researcher and a coder"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "Cristi Pufu" }
|
|
7
|
-
]
|
|
5
|
+
authors = [[{ name = "John Doe", email = "john.doe@myemail.com" }]]
|
|
8
6
|
requires-python = ">=3.10"
|
|
9
7
|
dependencies = [
|
|
10
8
|
"langgraph>=0.2.55",
|
|
11
|
-
"langchain-community>=0.3.9",
|
|
12
9
|
"langchain-anthropic>=0.3.8",
|
|
13
10
|
"langchain-experimental>=0.3.4",
|
|
14
11
|
"tavily-python>=0.5.0",
|
|
15
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100"
|
|
16
13
|
]
|
|
17
14
|
|
|
18
15
|
[project.optional-dependencies]
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name = "retrieval-chain"
|
|
3
3
|
version = "0.0.1"
|
|
4
4
|
description = "Sample retrieval chain using UiPath Context Grounding API"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]s
|
|
6
6
|
dependencies = [
|
|
7
|
-
"uipath-langchain==0.0.
|
|
7
|
+
"uipath-langchain==0.0.100",
|
|
8
8
|
]
|
|
9
9
|
requires-python = ">=3.10"
|
{uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-local-mcp/pyproject.toml
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "simple-local-mcp"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Math and Weather Local MCP Server Agent"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
7
|
"langgraph>=0.2.70",
|
|
8
8
|
"langchain-core>=0.3.34",
|
|
9
9
|
"langchain-anthropic>=0.3.9",
|
|
10
10
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
11
11
|
"python-dotenv>=1.0.1",
|
|
12
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100",
|
|
13
13
|
"pydantic>=2.10.6",
|
|
14
14
|
"aiohttp>=3.11.12",
|
|
15
15
|
"typing-extensions>=4.12.2",
|
{uipath_langchain-0.0.99 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/pyproject.toml
RENAMED
|
@@ -4,7 +4,7 @@ version = "0.0.1"
|
|
|
4
4
|
description = "simple-remote-mcp"
|
|
5
5
|
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
|
-
"uipath-langchain==0.0.
|
|
7
|
+
"uipath-langchain==0.0.100",
|
|
8
8
|
"langchain>=0.1.0",
|
|
9
9
|
"langchain-anthropic>=0.0.1",
|
|
10
10
|
"langgraph>=0.3.21",
|