I like giving an AI assistant a real piece of work. Have it read the bug report, find where the behavior lives, try a change, and bring back the test result. What makes that useful is the part a quick demo usually skips. I need to open the same session after a tool fails, a build takes twenty minutes, or my understanding of the bug changes and still know exactly where things stand.
Where I let the model choose
It helps to distinguish a workflow from an agent. A workflow follows a path the software defines in advance. An agent can decide which action to take next from the choices it has been given. In practice I use both in the same feature. Searching a repository for the source of a bug benefits from flexibility. Running the required checks before a release is a path I want spelled out in ordinary code.
ReAct, a research paper by Yao and colleagues, is an early example of a model alternating between reasoning and actions and incorporating observations as it goes. You can see why that helps when a repository layout or an API response differs from what the model expected. The observation gives the next step a chance to deal with reality. A useful loop has room to update its plan as new information arrives.
The jobs I use AI for at Black Box Crypto have made that distinction very practical. I will ask for help tracing code, preparing a draft change, or putting together validation evidence. Before a release, I care about which code was checked, what failed, and who can authorize deployment. That part should be boring enough to explain on a whiteboard, including to somebody who was out when the change was started.
Give each tool a job and a boundary
If a workflow needs to inspect build results, give it an operation for inspecting build results. That sounds obvious until you see how tempting it is to hand a model a giant credential and let it figure things out. Narrow tools make the contract readable. The system can say which repository, which environment, which operation, and whether the result has any consequences outside the session.
I like designing from the side effect backward. Drafting a release note is cheap to undo. Publishing one changes what somebody else sees. A deployment can affect every user on a service. Those are different operations and should be visible as such in the interface and the audit trail. A workflow can assemble and preview a change, then bind an approval to the particular version the reviewer saw.
Inputs deserve the same care. A ticket, email, or web page can contain text that appears to be giving the system orders. I treat that text as data from an outside source. The tool and workflow decide what authority exists. A convincing sentence in a document cannot add permission to publish or move data.
- ObserveRead the report and gather relevant repository and test information.
- ProposePrepare a patch and record the behavior it is supposed to change.
- VerifyRun defined checks and attach the result to the candidate revision.
- AuthorizeReview and approve the version before a consequential action.
A timeout is an unknown outcome
The failure case I want people to design first is a timeout after a write. Say an agent asks a work tracker to create a task. The remote system might create it and lose the reply, or never create it at all. Running the same step blindly can create duplicates. Either keep an operation identifier the destination recognizes, or give the workflow a way to look for the expected result before it retries.
I keep state about the task outside the chat. A chat can hold a useful narrative, but a service needs durable state if it is going to pick up after a restart. I want records such as the input revision, the last confirmed step, the artifact that was created, and the identifier the system will use for reconciliation. A partially completed job should be understandable without asking a model to reconstruct what probably happened.
This also makes stopping possible. I give a workflow limits on elapsed time, tool calls, and spending, along with a sensible definition of done. If it reaches a limit, the useful result is a small handoff with what it tried, what it observed, and what decision remains. The person picking up the work can use those facts immediately.
The AI-assisted video work I have been doing for BFRO is a good example. A narration take, a visual, and a finished edit are different artifacts, each with its own review. If I change the narration or swap one shot, I want to replace the affected pieces and keep the approved material. Consequently I want the workflow to know which version of an input each piece came from and where I need to look again.
Measure the work the agent finishes
Long-running work gives errors time to compound. A search goes to the wrong branch, the edit lands in a test double, and the final message reports a production fix. Any one of those choices may look reasonable in isolation. I want a test that checks the finished outcome and a trace that lets somebody investigate which observation led the workflow off course.
METR’s task-completion time horizon is a useful idea here. It estimates the duration of tasks, measured by expert human completion time, at which a model reaches a given success rate on their task distribution. I read it as evidence about that distribution. A result for fairly self-contained technical tasks cannot tell me by itself how often my agent will finish work across private repos, flaky services, and changing requirements.
For my own evaluations I would replay a handful of actual tasks, mix in deliberate failures, and compare with the path a human followed. I would measure completion, review time, recovery, and what happened when the tool had an ambiguous result. If a task takes four minutes for the model and half an hour to check, both numbers belong in the pilot review.
- Read timed outRetry within the budget and report missing inputs if exhaustion persists.
- Write timed outLook up the operation outcome before replaying the write.
- Authorization deniedStop the action and surface the relevant approval boundary.
- Input changedRebuild the candidate or confirm that the existing evidence still applies.
What I want to see when I open the job
My MIT capstone explored an operating layer that could pull test results, engineering notes, telemetry, and other evidence into draft decisions at Black Box Crypto. What interests me about that design is the continuity it could give a small team. A person can open the work later and see where the evidence came from, what changed, and why a recommendation reached them.
I would be happy with an agent that reliably brings back the right pull request, the test result, and a straight answer about what is unresolved. Those details make it possible for me to send the work forward or take over. Getting that handoff right creates room to give the system a bigger job later.