Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform
Actively maintained. Last release 3 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install uipath-langchainUiPath LangChain Python SDK
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform. It provides programmatic interaction with UiPath Cloud Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
This package is an extension to the UiPath Python SDK and implements the UiPath Runtime Protocol.
This quickstart guide walks you through deploying your first agent to UiPath Cloud Platform.
Check out these sample projects to see the SDK in action.
Requirements
- Python 3.11 or higher
- UiPath Automation Cloud account
Installation
pip install uipath-langchain
using uv:
uv add uipath-langchain
Configuration
Environment Variables
Create a .env file in your project root with the following variables:
UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME
UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE
Command Line Interface (CLI)
The SDK provides a command-line interface for creating, packaging, and deploying LangGraph Agents:
Initialize a Project
uipath init
Running uipath init will process the graph definitions in the langgraph.json file and create the corresponding entry-points.json file needed for deployment.
For more details on the configuration format, see the UiPath configuration specifications.