What a workflow is
A list of steps an agent works through, one at a time. There are three kinds:
- Agent step: the agent does it, with the instructions you wrote.
- Check: Cocobox runs a command itself. The step passes when the command does, so an agent cannot say a step is done and be wrong.
- Approval: the run waits for your yes.
Each workflow is a short TOML file, kept in your repository for the whole team or in your personal folder. Start one from the message box, or ask the agent to “follow the release workflow”. Workflows in the docs.

Templates from the gallery
Ticket to pull request. Read a Jira or Linear ticket, agree a plan with you, build it on a branch with tests, check lint and types, and open a pull request after your yes.
Fix failing CI. Find why CI is red, reproduce it locally, fix the cause rather than the test, run the full suite, and push and watch the new run once you approve.
Dependency upgrade with tests. Tests must pass before anything changes. Then upgrade in safe batches, read each major version's breaking changes, fix what breaks, and prove it builds.
Add tests for a module. Map the module's behaviour and edge cases, write tests in the project's own style, then break three guarded lines on purpose to prove the tests catch them.
Database migration, tried on a copy. Write a reversible migration and run it up, down and up again on the tab's own database copy, review its locks, then open a pull request.
Code review sweep. Review a branch for bugs, security holes and untested changes, check each finding twice, and fix the ones you choose, each with a test.
The gallery also has release notes from merged pull requests, docs written from the code, and 2D plan to BIM.
Safe to import
- Nothing runs on import. You see every command, word for word, and what each agent step is told.
- Where a command depends on your project, the file says
{{fill: test command}}, and it cannot run until you fill it in. - The first run asks you before each thing an agent does, whatever the tab may do on its own.
- Before the first run, and whenever a command changes, you approve the commands Cocobox will run as you.
Make your own
Build one in the editor, or ask an agent: “make a release workflow for this repo”. Agent steps can loop to review their own work, up to 5 passes, with the check run after each. A failed check can ask you, send the failure back to the agent to retry, or stop the run. Share a workflow as a link: the link holds the file itself, with secrets and your paths replaced by placeholders, and nothing is uploaded. The gallery and shared links.

Workflows with several agents
When a tab an agent opened runs a workflow, that agent reviews its commands, decides its approval steps and hears each step pass or fail. Write approver = "person" on an approval step to keep it for yourself. Agent orchestration.