Repository navigation
Replies: 3 comments 2 replies
|
Agents need MCP tools for this, not only the composer. We built a harness-agnostic version locally and ran it with Codex, Claude and Antigravity children. Findings:
Our ~420-line patch is available as a reference; no PR without direction approval. |
|
Since every step shares the first step's worktree, Retry on Implement starts from whatever the failed attempt left on disk, and Continue hands the next step a final answer that may not match the files that step actually wrote. I'd snapshot the worktree at each step boundary (a commit or stash ref kept on the run), so Retry resets to the state the step started from and the handoff can carry the diff, not only the summary. The shape I use for agent patches, evaluated in a throwaway clone and landed only when checks pass: https://github.com/renezander030/pi-gate |
|
Update: the branch now has a coordinator on top of each run, and feedback to earlier steps (16f1e54).
Some background: I've built similar things before as software factories, most recently bobs-factory. This approach is turning out to be much more effective. Steps aren't tightly coupled to per-step tools, permissions or schema validation. Each step is a normal thread with a prompt, and so far it just works. There are still some MVP rough edges, the coordinator in particular, which I'm ironing out right now. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Real work often needs several agents in sequence, each with a different job and often a different provider. For example: one model refines the requirements, another implements, a third coordinates review. Today I do this by hand: wait for one thread to finish, copy its final answer, open a new thread on another model, paste it in with the next instructions, and repeat. It is slow, easy to get wrong, and I can't leave it running.
delegate_taskand Claude's Workflow tool chain agents inside one agent's turn. Neither is a reusable, user-defined sequence that I set up once and start from the composer.Proposal: Pipelines
A pipeline is a saved, ordered list of agent steps. Each step has:
$skillmentions{{input}},{{previous.output}}and{{steps.<id>.output}}Using it:
How it runs:
Defaults and surfaces:
Design choices worth your input
ThreadLaunchServiceandwaitForThread(untilDelegatedWorkSettled). Thread events only gain an optional server-setpipelinefield on threads.Status
I have a working implementation on my fork, used locally with real runs:
https://github.com/jappyjan/t3code/tree/feat/pipelines
It covers contracts, server, client-runtime, web/desktop, mobile, agent MCP tools, tests and user docs. It has had a multi-angle review pass and a browser QA pass. I'd like to know whether you're interested in this direction and scope before opening a PR. I'm happy to cut it down, e.g. web first and mobile/MCP later, or reshape any of the choices above.
Screenshots
These were taken with the dev Replay provider, so no real agents ran.
Settings → Pipelines, with the shipped starter
Step editor: model and effort, permissions, skills, prompt template
Picking a pipeline in the new-thread composer
With a pipeline selected, the model and attachment controls step aside
Run paused before a step (sidebar marks it as needing input)
Running: steps nested under the pipeline on the Working shelf
Completed run, next to the thread details panel
A step's own thread: normal chat, linked back to its pipeline
Dark mode
Short recording of a run
Related: #22852 (grouping delegated children into one lineage node).
All reactions