Building a team of AI agents
Agents that develop, an agent that tests, and humans who design. The first weeks.
Andrew · Founder, project directorAt the end of February, we started building a team of AI agents with OpenClaw, an open-source tool that keeps an agent running continuously on a machine. The agent has its files, its tools, a memory, and wakes up at regular intervals to see whether there is work to do.
The roles
- Candy develops in Node.js and React.
- Sandy develops in .NET.
- Mandy also develops, on a Windows machine, for what only runs there.
- Bandy supervises and tests. It follows the others’ tickets, chases what is blocked and checks what is delivered.
The one who writes the code is not the one who tests it, as in a human team.
Design stays human
For each project, what the application must do, its architecture, how the work is split into batches and tickets: all of this is decided between us and Claude Code. Claude Code reads the specifications, proposes a plan, and writes the tickets with us. The agents receive precise tickets, stating what to do and how to check that it is done.
Going to production also stays a human decision. The agents work on a development branch and never push to the main branch.
The loop
Every hour, each developer wakes up, reads the open tickets of its project and takes the first one that is not blocked. It writes the code, reviews it, commits it and deploys it to the test environment. If it cannot move forward, it blocks the ticket with its question.
Bandy then takes over. For each delivered feature, it has a test sheet: the call to make, the expected result. It runs the tests, first on the main screens, then with combinations of parameters, then in a browser, comparing with the old version of the application when there is one.
When a test fails, Bandy creates the fix ticket itself and sends it to the developer, linked to the failed test. Once the fix is delivered, a new test ticket comes back to Bandy. The loop runs until the test passes: code, test, fix, test again.
Communication
Each agent posts a report on Slack every time it wakes up: the ticket handled, the blocked tickets, the time spent, the tokens used. The team follows progress in the same channel as the rest of its work, and answers the agents’ questions.
The agents also have a messaging system between them, which they developed themselves. Bandy can chase a developer or report a failed test without going through a human.
Memory and tokens
An agent works with a limited context window. Giving it everything each time it wakes up would be expensive and would end up filling its session.
So each project has a context file: the architecture, the conventions, the important files and the state of the work. The agent updates it after each ticket. The rest is indexed: the agents’ files and the history of their sessions. When an agent needs a piece of information, it searches the index and loads only the relevant passage.
The number of tokens is tracked ticket by ticket. It shows what a piece of development done by an agent costs, and where consumption can come down.