Loading video...

Video Failed to Load

Go Home

I am hooked on Dynamic Workflows! The idea of generating harnesses on the fly is so compelling that I reverse-engineered it for my agent orchestrator. And then I built a monitoring dashboard (as an HTML artifact) to track tasks, metrics, and reports. I can now use and monitor dynamic...

104,085 views • 3 months ago •via X (Twitter)

44 Comments

elvis's profile picture
elvis3 months ago

During the process of reverse-engineering dynamic workflows for my agent orchestrator (what you see in the clip), it suddenly hit me how important it is to own the orchestrator and harness. This might be the first instance/proof, as far as I know, of dynamic workflows effectively working outside the Claude Code ecosystem. I believe Codex and other coding agents will soon realize that this primitive (like agent skills) needs to live in their ecosystem as well. I don't need to wait for them. I have tested it with my version of dynamic workflows, and Codex works great with this. Pi also works amazingly well. But what you see on the clip is an experimental nano-like (@karpathy style) coding agent I built for @dair_ai. This means that even the simplest of agents can leverage this primitive.

elvis's profile picture
elvis3 months ago

This is too good to keep to myself. I will be sharing more on how I am using dynamic workflows and how and why I built my own version of it:

Arnaud Stiegler's profile picture
Arnaud Stiegler3 months ago

It's been very useful for data quality checks too, where you can spin up one agent per task / data point and get a very fine-grained investigation on the data. Without the workflows, models tend to look at 3/4 samples and overfit their conclusions on those samples

elvis's profile picture
elvis3 months ago

Oooh, I like this one. Haven't tested on data-intensive use cases besides basic data synthesis for fine-tuning small models, but data quality checks and deep analysis feel like a perfect fit.

iii's profile picture
iii3 months ago

Try - harness in

Leo Tavares's profile picture
Leo Tavares3 months ago

The on-the-fly harness gen is the part that clicked for me too. Static graphs feel rigid once an orchestrator can scaffold itself per task. The monitoring layer is the underrated half though - dynamic workflows are hard to trust without it.

elvis's profile picture
elvis3 months ago

As I started to go deep into dynamic workflows, I instantly felt the need to have a live monitoring dashboard to monitor costs and reliability, including results as well. Not sure if Claude Code supports this natively, but I built my own version of dynamic workflows in my orchestrator, so it was easy to build a tracker for it.

Norin's profile picture
Norin3 months ago

🔥🔥🔥 I use my own version of this as well that is a fork of Pi and a solid workflow engine makes a huge difference where I don't manually prompt really and have reliability. I think you're absolutely right that other providers will add this as a primitive. I think the models themselves will also learn how to use and design these workflows better over time as tools.

Amol Kelkar's profile picture
Amol Kelkar3 months ago

this is awesome! I built something similar - callstack. check it out!

Abel's profile picture
Abel3 months ago

Dynamic workflows get much more interesting when the harness measures decision quality,not just task completion.

Mariusz Ochnicki's profile picture
Mariusz Ochnicki3 months ago

I'm curious to know how dynamic workflows prevent agents from working in the "dumb zone". If that's not the case, how can we be sure of the quality of the results?

elvis's profile picture
elvis3 months ago

Good question and a very important one. I think dynamic workflows could help answer a lot of reliability questions around agents. Human-in-the-loop with continual learning built into dynamic workflows would only improve how this all works, but those are unsolved problems as it stands. Early days IMO.

Mariusz Ochnicki's profile picture
Mariusz Ochnicki3 months ago

So far, I can't see the advantages of dynamic workflows without proper context control. Maybe if hooks could integrate some controllability. Nowadays, I can achieve much better and cheaper results by carefully orchestrating IFK agents.

Vanar's profile picture
Vanar3 months ago

Strong signal of where agent systems are heading. Adaptive orchestration with built in branching, verification, and parallel execution.

Claudia Gusti's profile picture
Claudia Gusti3 months ago

What are dynamic workflows? Is there a scientific paper that you can reference here?

Gabriele Farei's profile picture
Gabriele Farei3 months ago

I share your excitement. This feels like it addresses a lot of the frustration around probabilistic procedural tasks, where we kept banging our heads against the half-statefulness of .md files and context-based state tracking. Less “LLMs emulating applications and occasionally copping out.” More “just-in-time applications harnessing LLMs.” The exciting part is whether we can take this beyond dev-only workflows and turn it into an app-building primitive. Generative BE? I feel we might be missing the bigger trick here. Been writing some ideas in this direction:

Gautham Pai's profile picture
Gautham Pai3 months ago

Now that you have seen the power of it, you should perhaps consider building a "Prompt to DAG" workflow generator yourself. Give a prompt - convert it to a DAG workflow. It should have the following features: 1. Clear separation between deterministic and stochastic stages. 2. Typed input/output at each stage. 3. Declarative definition as JSON. 4. Ability to visualize the DAG. 5. Ability to visualize DAG runs with the input/output of each stage. 6. Ability to control the DAG workflow step by step. 7. Ability to rerun specific stages if you want. 8. Ability to improve the DAG on the fly. 9. Control the level of parallelism as needed. 10. Choose the model of your choice at each stochastic stage. I built a solution for hatching out complex workflows like these. Here is a portion of my "codebase-to-tutorial" workflow. The blues are deterministic in nature and skip the LLM completely. The oranges are the stochastic stages. The whole DAG was auto-generated with a prompt and then refined via agent sessions. If you want to see one of these in action, I build a DAG workflow for @karpathy's autoresearch project here: The repo has a hydrated workflow (declarative JSON converted to a script with the complete orchestrator) in the "workflows" directory.

BOB CHEN's profile picture
BOB CHEN3 months ago

generating the harness on the fly is the part that feels like magic. static pipelines assume you know the steps; dynamic ones let the agent discover them. the reusable-skill version of this is where the real leverage compounds.

Mr Vibe's profile picture
Mr Vibe3 months ago

looks like a waste of tokens

Bally_AgenticAI's profile picture
Bally_AgenticAI3 months ago

Generating harnesses on the fly is the unlock - the agent reasons about its own path, not a fixed graph. The catch is observability: dynamic workflows need a self-eval loop or they go blind. Built something similar:

atilab's profile picture
atilab3 months ago

Here are some of the feature pages I have so far;

Tech Odyssey's profile picture
Tech Odyssey3 months ago

This is the practical unlock....dynamic workflows are not just branching agent plans, they become reliable when each branch has observable state, verification checkpoints, artifacts, and clear recovery paths.

haomaru's profile picture
haomaru3 months ago

Where can I learn to do this that you did? Thanks.

elvis's profile picture
elvis3 months ago

Which part exactly? I am thinking of doing a live session showing all of this in action if there is enough interest.

GigaTrion's profile picture
GigaTrion3 months ago

@haomaru691751 Yessir! I been using dynamic workflows but not sure if it’s optimal. LLM council and workflow harness routing is what I have been using it for so far, it’s my default prompt and direct the most appropriate harness given the task but make fast mode a must

elvis's profile picture
elvis3 months ago

@haomaru691751 Cool. I built my own version of dynamic workflows to use with my own coding agent and cheaper models like deepseek-v4-flash and pro. It works amazingly well.

Yash Kavaiya's profile picture
Yash Kavaiya3 months ago

Great work Could you please conduct free session in

elvis's profile picture
elvis3 months ago

Yes. Find it here:

Alexander Benz's profile picture
Alexander Benz3 months ago

Dynamic harnesses are the part that changes the loop. The dashboard matters because it turns agent work into something you can debug instead of admire.

Torsten Gellrich's profile picture
Torsten Gellrich3 months ago

How token-hungry is your workflow?

elvis's profile picture
elvis3 months ago

i worry less about this now as i am using cheaper models like deepseek-v4

Maryam's profile picture
Maryam3 months ago

Very informative interesting work! ✅

Fabian's profile picture
Fabian3 months ago

This is basically why I’m leaning more toward tasks, dashboards, and workflow runs than another chat interface. Agent work needs more observability and less magic.

spanlens's profile picture
spanlens3 months ago

The subtle part is that a harness generated on the fly breaks the fixed schema monitoring usually leans on. Every run can have a different shape, so you have to record which harness was actually produced, not just the metrics. Without that, a failed run is impossible to reproduce.

Prithvi Jadwani | AI SEO | GEO | REDDIT SEO | GMB's profile picture
Prithvi Jadwani | AI SEO | GEO | REDDIT SEO | GMB3 months ago

How do you visualize the 'orchestration graph' of these dynamic workflows, when you have multiple tasks branching and merging?

kai Nakamura's profile picture
kai Nakamura3 months ago

The harness is the product.

Kevin Kreger's profile picture
Kevin Kreger2 months ago

Hey Elvis. You just convinced me to adopt this. I was wondering if you found your orchestrator too bossy? I have to tell mine to be more inquisitive than commanding because he is not always fully aware of the other agents' progress. THANKS!

Emanuel's profile picture
Emanuel3 months ago

The whole dynamic workflows concept and generating the harness on the fly has me hooked. In my case, I have been playing a lot with Hermes lately and it feels like it approaches this from a different but complementary angle. While this dynamic workflows are great at building the full structure dynamically for each task, Hermes is more about automatically creating reusable skills and improving them over time with a persistent learning loop. Kind of like one is the brilliant architect that figures out the perfect plan each time, and the other is the experienced employee that keeps getting better and remembers everything. Have you tried combining the two at all? Seems like it could be a really strong combo. Nice work!

synabun.ai's profile picture
synabun.ai3 months ago

the monitoring dashboard becoming the whole job in 48 hours tracks. generated harnesses without observability is just expensive chaos.

Kekko D’Amato's profile picture
Kekko D’Amato3 months ago

Static workflows break on unexpected inputs. Generating the harness at runtime lets the agent adapt as it discovers new information mid-run. The monitoring layer you built on top is exactly what most people skip until they're debugging in production.

Bruno Pais's profile picture
Bruno Pais3 months ago

What do you consider to be your harness here? Seems pretty nice!

Neeraj's profile picture
Neeraj3 months ago

Do you use these for one-offs/building components/equivant to goal or repeatable workflows?

phant0um's profile picture
phant0um3 months ago

@threadreaderapp unroll

g023's profile picture
g0233 months ago

Instead of asking for the answer, instead tell it to write the agentic orchestration to make the answer, and then curate the final answer. Bam. There is your "dynamic" workflow, and you're left with the harness too. ;)

Related Videos

I tried jack's Buzz. It's like Slack + OpenClaw + Herdr + but with some really unique features that people are sleeping on. The video below shows how it works, and some of my thoughts on the process and platform, e.g.: - Create and interact with agents on top of any harness (claude code, codex, pi, etc.) - Choose which models agents use, including local ones - Agents can delegate work and work in parallel in git worktrees - Agents are first-class citizens and work like humans (creating channels, delegating, access to chat history) - You can share AI compute within a community - It's completely open-source and decentralized Things I like: - Delegating work in chat feels natural: tag an agent, it replies in a thread with status updates as it e.g. compiles, commits, and deploys. - Shared compute: relay owners can share local compute with members, so a community could pool funds for one beefy machine running a local model and everyone uses it. - It's built on Nostr, an open protocol already tied into Bitcoin Lightning so I can imagine communities tipping each other or paying for compute/agent tasks with instant zero-fee micropayments in the future. - It ties together things like OpenClaw, an agent manager, and Slack-style chat into one tool. Things I didn't like: - You can't see what the agent is doing in a terminal. The activity view exists, but if you're used to watching a session run, this UI feels a bit abstracted. A terminal view would be great. - It feels slower than running a session in Claude Code, though no evidence to back that up. For that reason I found myself doing one-off tasks in the terminal instead. Verdict: - I really like it so far and can genuinely imagine working with a team this way. - It doesn't feel ready for big, complex tasks yet. For shallower tasks, it's perfect. - The shared compute + Nostr/Lightning angle is what really separates it from every other agent manager for me, and I think that future is coming.

Vinny

1,357,789 views • 1 month ago

LLM Wikis are being slept on. I argue that creating knowledge bases with LLMs or coding agents is one of the most valuable applications of AI today. It's about being intentional in building and scaling your intelligence stack. To showcase this, I wanted to share an LLM Wiki I have built over the last couple of months. It's called PaperWiki, and I use it across all my research workflows, along with my research agents. In fact, I also use it to curate papers I share with my communities, newsletter, and on X. The PaperWiki is updated regularly with automations, so I basically have agents on a loop maintaining it. All the entries are ingested from different sources and stored in a vault (Obsidian) and further indexed using qmd. And then further presented via an HTML artifact. So all of it is easily accessible to all my agents and easily searchable through full-text search and rich semantic search. The structure of the wiki has proven significantly useful to start interesting and exciting cutting-edge research projects with my research agents (from building tiny and more efficient gpt/difussion llms to building out SoTA harnesses and memory systems). It turns out that agents love markdown files and can more easily navigate the papers given the rich metadata structure of the wiki. I am just getting started on this, but it's clear to me that we should all be experimenting with LLM Wikis. Here's why: Building LLM knowledge bases gets you into the habit of leveraging AI outputs in all kinds of creative ways. It's the good kind of tokenmaxxing we should all be pushing for. LLM Wikis can be maintained automatically in a loop. I use an automation that updates the wiki every day based on papers I curate. The curation is another automation I run in a loop (with a bit of human in the loop), so I get to build on all my previous knowledge and expertise, and all of it compounds the deeper the integration/layers. One interesting result of this process is that I feel like I can better spot high-quality papers and remove noise more easily. Social media could never solve that. And most paper aggregators use metrics I simply don't trust. I like that agents can help with the noise vs. signal problem. This is important for research. Lots of people consider agents to produce mostly slop. But it doesn't have to be that way. Careful curations, prompts, automations, verifiers, and human-in-the-loop can produce some astonishing results. And you really don't need frontier models for this. I use a combination of frontier models (opus-4.8) and open-weight models (deepseek-v4-flash) to maintain this. An exciting future work (we are working on this DAIR.AI) is to tune specialized models on top of this to allow LLMs to quickly understand cutting-edge research ideas and can better conceptualize research strategies that further accelerate scientific research agents. I plan to open-source a bunch of this work, including the artifact, but this is currently work in progress, and I was excited to share some thoughts as I continue working on it. Sharing more as I go. Stay tuned!

elvis

55,747 views • 2 months ago

🚨 OpenAI just launched Codex, a brand-new autonomous coding agent that can build features and fix bugs on its own. We’ve been using it Every 📧 for a few days, and I’m impressed. I invited Alexander Embiricos (ben davies), a member of the product staff responsible for Codex, to demo Codex and talk about it live on a special edition of AI & I: What Codex is and how it works Codex is designed to be used by senior engineers—it performs coding tasks like adding features or fixing bugs autonomously. It's built to allow you to start many sessions at once, so you can have multiple agents working in parallel. Codex is built to have "taste" OpenAI trained Codex to have the taste of a senior software engineer. It knows how big codebases work, how to write a good PR, and uses clean, minimal code. Why an “abundance mindset” is best for interacting with agents Codex is designed to allow users to delegate many tasks at once without getting caught up in the details. This lets you point an abundance of agents at a specific task like a difficult bug—it’s worth it even if only one of them succeeds. How OpenAI is thinking about agents Codex is one piece of a unified super-assistant OpenAI wants to eventually build—an agent that helps users easily get things done by selecting the right tools for them behind the scenes. OpenAI’s vision for the future of programming In the future developers will probably spend less time writing routine code and more time guiding agents, reviewing their work, and making strategy decisions. Programming will become more social, letting teams easily delegate multiple tasks at once, allowing people to focus on ideas and collaboration instead of routine coding. Watch below!

Dan Shipper 📧

145,487 views • 1 year ago