Dynamic Workflows using Openhands SDK

Rajistics - data science, AI, and machine learning · Intermediate ·🤖 AI Agents & Automation ·1mo ago

Key Takeaways

Demonstrates dynamic workflows using OpenHands SDK and implements orchestration code for multi-agent systems

Original Description

This week Anthropic released dynamic workflows in Claude Code, and Graham on our team added the same capability to the open source OpenHands SDK. Instead of you hand-writing the orchestration loop for a multi-agent system, you give the agent a tool and it writes the orchestration code itself. I walk through how we implemented it, run a deep research demo live, and trace exactly what the model does behind the scenes so you can start using it yourself. Repo: https://github.com/rajshah4/workflow-demos 0:00 From 25 lines of orchestration to two 0:28 The problem: hand-coding multi-agent systems 1:09 The solution: the agent writes its own orchestration 2:52 Running the demo: manual script vs workflow 4:03 Tracing the live run: fan out, cross-check, synthesize 5:33 The final research report 5:56 Observability with Laminar and chat-with-the-trace 7:23 Why this matters: models are eating orchestration ━━━━━━━━━━━━━━━━━━━━━━━━━ ★ Rajistics Social Media » ● Home Page: http://www.rajivshah.com ● LinkedIn: https://www.linkedin.com/in/rajistics/ ● Reddit: https://www.reddit.com/r/rajistics/ ━━━━━━━━━━━━━━━━━━━━━━━━━
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
I Built a One-Curl Audio Translator with Telnyx AI Inference
Learn how to build a one-curl audio translator using Telnyx AI Inference for podcast localization, meeting translation, and lecture dubbing
Dev.to · anusha
📰
I picked a coding agent off a leaderboard. It flopped on our codebase.
Learn how to effectively evaluate and implement a coding agent in your codebase, avoiding common pitfalls and ensuring successful integration.
Dev.to · Kartik N V J K
📰
Onboard AI agents like you onboard devs
Onboard AI agents using a similar approach to onboarding new developers, streamlining their integration into projects
Dev.to · Dimon
📰
Routing Requests to the Cheapest Capable Model: A Cost-Optimization Guide
Learn to route requests to the cheapest capable model for cost optimization in AI applications
Dev.to AI

Chapters (8)

From 25 lines of orchestration to two
0:28 The problem: hand-coding multi-agent systems
1:09 The solution: the agent writes its own orchestration
2:52 Running the demo: manual script vs workflow
4:03 Tracing the live run: fan out, cross-check, synthesize
5:33 The final research report
5:56 Observability with Laminar and chat-with-the-trace
7:23 Why this matters: models are eating orchestration
Up next
How To Build Your Own RAG AI System - Better Results Than Claude
Web Dev Simplified
Watch →