Skip to content

Comments

feat: multi-agent graph, streaming refactor, and orchestration samples#185

Merged
cristipufu merged 1 commit intomainfrom
feat/agent-framework-orchestration-samples
Feb 19, 2026
Merged

feat: multi-agent graph, streaming refactor, and orchestration samples#185
cristipufu merged 1 commit intomainfrom
feat/agent-framework-orchestration-samples

Conversation

@cristipufu
Copy link
Member

Summary

  • Multi-agent graph support: Recursive graph building that detects agent-as-tool compositions via closure inspection, creating proper sub-agent nodes with bidirectional edges
  • Streaming refactor: Introduced _StreamState class with per-node STARTED/COMPLETED event tracking, call_id-based sub-agent matching, and payload enrichment for state events
  • Factory fix: Removed agent caching to prevent "Workflow is already running" errors during concurrent executions — each runtime now gets a fresh agent instance
  • Orchestration samples: Added concurrent, group-chat, and handoff pattern samples
  • Streaming tests: 9 tests using real RawAgent/WorkflowAgent objects with mocked LLM calls, verifying STARTED/COMPLETED event pairing and factory concurrency
  • serialize_json migration: Moved all runtime packages to use serialize_json from uipath core

Test plan

  • All 61 tests pass (52 existing graph tests + 9 new streaming tests)
  • mypy passes clean
  • ruff check + format passes clean
  • Manual verification with multi-agent sample against live LLM

🤖 Generated with Claude Code

@cristipufu cristipufu force-pushed the feat/agent-framework-orchestration-samples branch from bab5107 to 78ed117 Compare February 19, 2026 17:04
- Recursive graph building for multi-agent compositions
- Refactor streaming into _StreamState class
- Fix workflow reuse by removing agent caching
- Add orchestration samples: concurrent, group-chat, handoff
- Add streaming tests with real agents/workflows
- Migrate to serialize_json across runtime packages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cristipufu cristipufu force-pushed the feat/agent-framework-orchestration-samples branch from 78ed117 to 8e56187 Compare February 19, 2026 17:10
@cristipufu cristipufu merged commit 4045c4a into main Feb 19, 2026
60 checks passed
@cristipufu cristipufu deleted the feat/agent-framework-orchestration-samples branch February 19, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant