DEV Community

Cover image for Four Feedback Loops for Building Products with AI Agents
Akkarapon Phikulsri
Akkarapon Phikulsri

Posted on Edited on AI-assisted

Four Feedback Loops for Building Products with AI Agents

Four Feedback Loops for Building Products with AI Agents

Adding an AI Agent to a software team create a new kind of work

the team must deliver its product and improve the agents that help deliver it..

if every issue is send to the same agent or handle in the same workflow feedback get mixed together.

A customer problem can look like a code defect. A repeated agent failure can be mistaken for a one off task problem...

This blog i draw on the

GitHub logo refactorroom / bot-team-loop-engineering

LEAD Principle is a bot-team playbook

LEAD Principle

LEAD Principle is a bot-team playbook based on Lifecycle-Embedded Agentic Delivery (LEAD). It describes how to connect customer feedback, software delivery, agent improvement, and individual agent tasks through shared evidence and clear ownership.

This repository contains written team role instructions, a task handoff template, and avatar images. The role documents describe assignments and intended behavior; they do not install or run bots, enforce permissions, execute evaluations, or provide a workflow engine. Configure and authorize any corresponding bots and tools in their host system before using them. Treat the LEAD practices here as a proposed operating model, not a guarantee of improved product or delivery outcomes.

OpenBot user manual

1. Open the team and choose a bot

In OpenBot, find LEAD Principle in the sidebar and open the chat for the bot that fits your task. Use the full lead- name to select the team profile.

Avatar Start
…

a playbook for connecting product feedback software delivery agent improvement and agent tasks.

yes that bot for openbot etc... for example to use that technique LEAD Principle that just one of my ideas...

Let drive into it more

The LEAD Principle playbook seperate this work into four feedback loops. They describe differenct decisions and edividence. They are not for required team layers or fixed sequence of project phases.

L1 Are we solving a real user problem ?

Product delivery start with observations not a feature request treated as proof. The team write down what it know.

What it assums and what it still needs to learn.

It can then run a small experiment with a baseline and a stop condition.

For example a request fir a daily task list might suggest that people struggle to choose what to work on. That is a hypothesis until the team validates it with intended users. The product discovery role in the playbooks is expected to seperate the reported plan from evidence that has actually been collected.

The decision at L1 is whether the team should change its understanding of the problem or the product direction.

L2 Is this software ready to release and operate ?

The software delivery loop carries approved intent throgh requirements, design, implementation, independent checks and operational readiness. The important word is approved. A draft requirement can guide discussion but it should not quietly become a release contract.

The playbook gives different responsibilities to planning, design, implementation, assurance and reliability. A reviewer check a specified revision against agreed criteria and reports PASS, FAIL or INCONCLUSIVE. A named human owner makes the release decision.

This keep verification seperate from approval. A test result can support a decision but it does not make the decision on its own.

L3 Sould we promote or change an agent ?

Agents have version too thier instructions, tools, limits and evaluations can change. L3 is where a team asks whether a candidate agent behaves well enough to replace the current version.

The playbook calls for match comparison across normal ambiguos, denied and failure cases. Comparing a candidate and baseline on different tasks makes the result hard to interpret. A prohibited action is a promotion blocker even if the candidate perform well on ordinary examples.

L4 Can this task finish with it authority ?

Each agent run has a task specific scope. The task contract should identify the goal approved inputs and thier version, expected output, allow action, limits and conditions for stopping or escalating.

if an agent cannot access an input run out of budget, or encouters a decision outside its authority, the useful result may be a clear stop report with edividence and a next owner. Continuing anyway it not progress if the run no longer has valid input or permission.

The loops can run at difference speeds

An approved agent version can handle many L4 tasks while a candidate version is evaludated at L3. Product discovery can continue while software work proceeds as long as the software work still follows its approved requirements and release citeria.
The practical benefit of this model is routing. Customer evidence goes to product learning. A software defect goes to delivery. A recurring agent behavior goes to agent improvement. A run specific blocker goes to task handling. The evidence should explain why the route was chosen.

The LEAD repository is a playbook not a workflow engine you can pick them you add to your openbot etc for testing it or deisgn your own harness. it just a role files describe intended responsibilities.

Treat the loops as a proposed operating model and measure whether they help in your own setting.

Try it on one recurring task

Pick a review your team already perform. Record the current effort and the types of gaps reviewers find. Give one agent a bouded task contract, then ask an independent reviewer to assess the same input revision against the same criteria. Keep a human owner responsible for the decision.

Compare the rsult with your baseline before expanding the workflow. Useful evidence includes task outcome, review effort, gaps found and any recovery needed. If the evidence deoes not show value, adjust the workflow or stop the pilot.

That give the team a small way to test the model without assuming that adding agents automatically improves delivery.

I’ve been testing OpenBot

OpenBot: Run a team of AI agents on your computer

A free desktop app that runs AI agents as a team on your own computer, with the ChatGPT, Claude, Gemini or Grok plan you already pay for, or your own model.

favicon openbot.run

and Rakazo

Rakazo | Open source Grok Bot alternative

Rakazo is an open source Grok Bot alternative for persistent AI teammates that do real work. Your keys, your model, your machine.

favicon rakazo.com
lately. If you’re trying either app and need ideas for bots to build or spawn, feel free to use my repo as a starting point.

Try this prompt in the app:

“Use this repository as a reference to design and spawn a bot for me: 
https://github.com/refactorroom/bot-team-loop-engineering

Show me the proposed bot configuration first and ask for approval before creating it.”
Enter fullscreen mode Exit fullscreen mode

Top comments (0)