This repository contains the runtime abstractions and interfaces for building agent integrations in the UiPath ecosystem.
If you are here to build a new integration for a Python agentic framework, read and follow INTEGRATION_GENOME.md — it is a complete blueprint that guides you through every step of building a UiPath runtime integration.
Start by reading the genome's Phase 0 (Framework Discovery) and asking the user the discovery questions. Then proceed through each phase sequentially, following the quality gates.
src/uipath/runtime/— Core protocols and contractssrc/uipath/runtime/base.py—UiPathRuntimeProtocol,UiPathExecutionRuntimesrc/uipath/runtime/factory.py—UiPathRuntimeFactoryProtocolsrc/uipath/runtime/registry.py—UiPathRuntimeFactoryRegistrysrc/uipath/runtime/events/— Event types (UiPathRuntimeStateEvent,UiPathRuntimeMessageEvent)src/uipath/runtime/resumable/— HITL support (UiPathResumableRuntime)src/uipath/runtime/debug/— Debugger support (UiPathDebugRuntime, breakpoints)src/uipath/runtime/chat/— Chat bridge support (UiPathChatRuntime)src/uipath/runtime/schema.py— Schema models (UiPathRuntimeGraph, nodes, edges)src/uipath/runtime/errors/— Error contracts and categoriesINTEGRATION_GENOME.md— Complete guide for building new integrations
uv sync --all-extras
uv run ruff check .
uv run ruff check --fix .
uv run pytestuipath-langchain-python— LangGraph integration (FULL tier)uipath-integrations-python— OpenAI Agents, LlamaIndex, Google ADK, Agent Framework