Skip to content

Commit 99f4086

Browse files
cristipufuclaude
andcommitted
fix: resolve breakpoint infinite loop in debug streaming with cyclic topologies
- Add checkpoint advancement detection to _get_breakpoint_skip() to correctly handle cyclic graphs (GroupChat, handoffs) where executors are visited on every cycle - Merge interrupt.py contents into breakpoints.py (AgentInterruptException, BreakpointMiddleware) - Add breakpoint integration tests for all sample topologies (group-chat, quickstart-workflow, concurrent, handoff, hitl-workflow) - Move agent-framework-orchestrations to main dependencies - Bump version to 0.0.5 - Fix all mypy errors across src and tests - Add LangChain integration to root README.md - Add .vscode/ to .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 807feed commit 99f4086

22 files changed

Lines changed: 2157 additions & 430 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,14 @@ cython_debug/
179179
**/__uipath/
180180
.claude/settings.local.json
181181

182-
/.vscode/launch.json
182+
.vscode/
183183

184184
playground.py
185185

186186
# Samples generated files
187187
**/samples/**/.agent/
188188
**/samples/**/.claude/
189+
**/samples/**/.vscode/
189190
**/samples/**/AGENTS.md
190191
**/samples/**/CLAUDE.md
191192
**/samples/**/bindings.json

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ All packages extend the [UiPath Python SDK](https://github.com/UiPath/uipath-pyt
88

99
| Framework | Version | Downloads | Links |
1010
|---|---|---|---|
11-
| [LlamaIndex](https://www.llamaindex.ai/) | [![PyPI](https://img.shields.io/pypi/v/uipath-llamaindex)](https://pypi.org/project/uipath-llamaindex/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-llamaindex.svg)](https://pypi.org/project/uipath-llamaindex/) | [README](packages/uipath-llamaindex/README.md) · [Docs](https://uipath.github.io/uipath-python/llamaindex/quick_start/) · [Samples](packages/uipath-llamaindex/samples/) |
12-
| [OpenAI Agents](https://github.com/openai/openai-agents-python) | [![PyPI](https://img.shields.io/pypi/v/uipath-openai-agents)](https://pypi.org/project/uipath-openai-agents/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-openai-agents.svg)](https://pypi.org/project/uipath-openai-agents/) | [README](packages/uipath-openai-agents/README.md) · [Docs](https://uipath.github.io/uipath-python/openai-agents/quick_start/) · [Samples](packages/uipath-openai-agents/samples/) |
1311
| [Google ADK](https://github.com/google/adk-python) | [![PyPI](https://img.shields.io/pypi/v/uipath-google-adk)](https://pypi.org/project/uipath-google-adk/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-google-adk.svg)](https://pypi.org/project/uipath-google-adk/) | [README](packages/uipath-google-adk/README.md) · [Samples](packages/uipath-google-adk/samples/) |
12+
| [LangChain](https://github.com/langchain-ai/langchain) | [![PyPI](https://img.shields.io/pypi/v/uipath-langchain)](https://pypi.org/project/uipath-langchain/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-langchain.svg)](https://pypi.org/project/uipath-langchain/) | [README](https://github.com/UiPath/uipath-langchain-python#readme) · [Docs](https://uipath.github.io/uipath-python/langchain/quick_start/) · [Samples](https://github.com/UiPath/uipath-langchain-python/tree/main/samples) |
13+
| [LlamaIndex](https://www.llamaindex.ai/) | [![PyPI](https://img.shields.io/pypi/v/uipath-llamaindex)](https://pypi.org/project/uipath-llamaindex/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-llamaindex.svg)](https://pypi.org/project/uipath-llamaindex/) | [README](packages/uipath-llamaindex/README.md) · [Docs](https://uipath.github.io/uipath-python/llamaindex/quick_start/) · [Samples](packages/uipath-llamaindex/samples/) |
1414
| [Microsoft Agent Framework](https://github.com/microsoft/agent-framework) | [![PyPI](https://img.shields.io/pypi/v/uipath-agent-framework)](https://pypi.org/project/uipath-agent-framework/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-agent-framework.svg)](https://pypi.org/project/uipath-agent-framework/) | [README](packages/uipath-agent-framework/README.md) · [Samples](packages/uipath-agent-framework/samples/) |
15+
| [OpenAI Agents](https://github.com/openai/openai-agents-python) | [![PyPI](https://img.shields.io/pypi/v/uipath-openai-agents)](https://pypi.org/project/uipath-openai-agents/) | [![Downloads](https://img.shields.io/pypi/dm/uipath-openai-agents.svg)](https://pypi.org/project/uipath-openai-agents/) | [README](packages/uipath-openai-agents/README.md) · [Docs](https://uipath.github.io/uipath-python/openai-agents/quick_start/) · [Samples](packages/uipath-openai-agents/samples/) |
1516

1617

1718
## Structure

packages/uipath-agent-framework/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[project]
22
name = "uipath-agent-framework"
3-
version = "0.0.4"
3+
version = "0.0.5"
44
description = "Python SDK that enables developers to build and deploy Microsoft Agent Framework agents to the UiPath Cloud Platform"
55
readme = "README.md"
66
requires-python = ">=3.11"
77
dependencies = [
88
"agent-framework-core>=1.0.0b260212",
9+
"agent-framework-orchestrations>=1.0.0b260212",
910
"aiosqlite>=0.20.0",
1011
"openinference-instrumentation-agent-framework>=0.1.0",
1112
"uipath>=2.8.41, <2.9.0",

packages/uipath-agent-framework/samples/concurrent/.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/uipath-agent-framework/samples/concurrent/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@ dev = [
1919

2020
[tool.uv]
2121
prerelease = "allow"
22-
23-
[tool.uv.sources]
24-
uipath-dev = { path = "../../../../../uipath-dev-python", editable = true }
25-
uipath-agent-framework = { path = "../../", editable = true }
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
flowchart TB
2+
__start__(__start__)
3+
__end__(__end__)
4+
orchestrator(orchestrator)
5+
researcher(researcher)
6+
researcher_tools(tools)
7+
critic(critic)
8+
writer(writer)
9+
researcher --> researcher_tools
10+
researcher_tools --> researcher
11+
__start__ --> |input|orchestrator
12+
orchestrator --> researcher
13+
researcher --> orchestrator
14+
orchestrator --> critic
15+
critic --> orchestrator
16+
orchestrator --> writer
17+
writer --> orchestrator
18+
orchestrator --> |output|__end__
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
flowchart TB
2+
__start__(__start__)
3+
__end__(__end__)
4+
triage(triage)
5+
billing_agent(billing_agent)
6+
tech_agent(tech_agent)
7+
returns_agent(returns_agent)
8+
__start__ --> |input|triage
9+
triage --> billing_agent
10+
triage --> tech_agent
11+
triage --> returns_agent
12+
billing_agent --> triage
13+
billing_agent --> tech_agent
14+
billing_agent --> returns_agent
15+
tech_agent --> triage
16+
tech_agent --> billing_agent
17+
tech_agent --> returns_agent
18+
returns_agent --> triage
19+
returns_agent --> billing_agent
20+
returns_agent --> tech_agent
21+
triage --> |output|__end__
22+
billing_agent --> |output|__end__
23+
tech_agent --> |output|__end__
24+
returns_agent --> |output|__end__

packages/uipath-agent-framework/samples/quickstart-workflow/.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
flowchart TB
2+
__start__(__start__)
3+
__end__(__end__)
4+
weather_agent(weather_agent)
5+
weather_agent_tools(tools)
6+
weather_agent --> weather_agent_tools
7+
weather_agent_tools --> weather_agent
8+
__start__ --> |input|weather_agent
9+
weather_agent --> |output|__end__

packages/uipath-agent-framework/samples/quickstart-workflow/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ dev = [
1818

1919
[tool.uv]
2020
prerelease = "allow"
21-
22-
[tool.uv.sources]
23-
uipath-dev = { path = "../../../../../uipath-dev-python", editable = true }
24-
uipath-agent-framework = { path = "../../", editable = true }

0 commit comments

Comments
 (0)