Add agent creation to the workbench composer picker - #693
Conversation
|
The heartbeat failure comes from concurrent access to the agent’s An inbound message updates connector thread state and writes that file. Meanwhile, reactor startup loads it to restore pending operations, token usage, and connector state. The write can briefly leave the file empty between truncation and completion. A startup read during that gap fails to parse JSON. CI captured The durable-conversation adapter already queues connector updates, restores, and mirrors. Reactor storage access bypassed that queue. The fix routes reactor For review:
Validation: the forced-overlap regression passed 10 consecutive runs, the real heartbeat E2E passed locally, and full |
Screen.Recording.2026-09-08.at.9.13.50.PM.mov |
|
@pratikbuilds question/thought - should we have further differentiation on workflows and agents? i.e Daily Digest or Morning Brief are more automated workflows than individual agents unless you are putting a singular agent in charge of just that |
|
Recommendation: approve with nits. Updated after a factual second pass. The metadata serialization fix is supported by the inspected paths: external Follow-ups
Corrections to the original review
This assessment supports the queue fix in the inspected paths; it is not a claim that every possible storage API or UI interaction was exercised. |
|
I think we should @TheGreatAxios i think we have to revamp the current Agent creation flow itself as it's pretty confusing in terms of the adding experience cause currently clicking on any workflow just starts running it but it would be nice to have more info and a confirmation about that action before doing it. Also i think this Advanced thing needs to be removed and provide options to the user directly and make those fields optional like they already are now. I will have to think this through again just did a brain dumb above based on my experience will create some mockups and come up with something better |
Hey @pratikbuilds Yeah I don't disagree -- I think there are two questions:
My feeling is that Workbench should err more on the side of "concept driven" or more clearly "chat driven". Meaning ->
Daily Briefings, Document Summaries, Document Drafting, Connection with MCPs/3rd Party Tools -> this is where I feel like a lot of the core usage comes from day to day for people and so I don't think we should overcomplicate the creation of agents or workflows. Instead I think Myra should have a skill called "Create an Agent" and "Create a Workflow" and then she can use those ask questions and gather the necessary information -> then go and create what is needed on behalf of the user. I think having a manual and simple "Create an Agent" -> worthwhile.
|
b3f3361 to
9e33206
Compare
The new-workbench composer's agent picker offers Create agent, including when no agents exist. It opens the existing creation modal, preserves the composer draft, and selects the created agent. Empty descriptions use the agent name so the selection stays readable.
The durable-conversation adapter also serializes reactor startup reads and metadata writes with connector updates. Without this, startup can read
metadata.jsonafter a connector write truncates it but before that write completes, producing a JSON parse error and leaving the heartbeat run unfinished. The adapter retains the published storage implementation and the existing heartbeat timeout.Validation:
bun run checkpasses withWORKBENCH_CHECK_CONCURRENCY=2, including database suites and structural checks.