Leonardo Borges Ramos

Ruflo and the agent loop: each one with a goal, and the work runs on its own

One agent answers questions. A team of agents, each with a goal and someone who checks the work, starts running whole processes. Ruflo, formerly Claude Flow, is the open project pushing that idea the hardest.

Open source · · 5 min read

In 3 lines
  1. Ruflo (formerly Claude Flow) is an open layer around Claude Code and Codex that organizes agents into teams, with memory across sessions and tasks that run in a loop.
  2. It gained 2,987 stars in the week to Oct 26, reached 79k in total and shipped three releases on that day alone, two with security fixes.
  3. The pattern behind it is simple: one goal, a coordinator who splits it, agents who execute, a reviewer who rejects and sends it back, until the delivery passes.
The Ruflo repository card on GitHub
ruvnet/ruflo no GitHub

Asking an AI agent to "write this function" became routine. The next step is different: hand over a goal ("fix the report that came out wrong") and let a group of agents split the work, execute it, check it and only come back when it is done. That is what an A cycle in which AI agents receive a goal, execute, have the result checked and repeat until the goal is met, without a person pushing every step. means. This week, the open project in that space that grew the most was Ruflo.

The new name, and what it does

The repository used to be called claude-flow, and the old address now redirects to ruvnet/ruflo. The README sums up the idea in one equation: agent = model + Everything around the model that lets it actually work — tools, memory, loops, an isolated environment and controls.. The model writes; the harness gives it tools, memory, loops and controls. Ruflo presents itself as that harness.

2,987stars gained in the week to 10/26/2026
79kstars in total, since June 2025
3releases shipped on 10/26 alone, two with security fixes

The three releases of the 26th say a lot about where this kind of tool is: 3.63.2 fixed a guard against Server-Side Request Forgery: when a system is tricked into fetching internal addresses on behalf of someone who should not reach them. and 3.63.3 brought fixes to the consent of agents that run in the background. An agent that works on its own needs limits as much as it needs capability.

The pattern: goal, coordinator, reviewer, again

In December 2024, Anthropic published a guide on agents that names two designs: A central agent splits the task into parts, hands each part to a worker agent and combines the results. and One agent produces, another evaluates and sends back the critique; the first one redoes it until the evaluation passes.. The agent loop is the sum of the two.

  1. The goal

    One checkable sentence: "the October sales report matches the database". Without a clear goal, no agent knows when to stop.

  2. The coordinator

    Reads the goal, decides what needs to be done and by whom, and splits it into small tasks.

  3. The agents

    Each one has a role and a goal of its own: one queries the database, another fixes the code, another writes the test.

  4. The reviewer

    Checks the delivery against the goal, with proof (the test running, the query returning the right number). Rejects it with a reason.

  5. The loop

    Rejected, it goes back to whoever did it, with the reason in writing. Approved, it moves on. The cycle stops when the goal is met.

An example in production

At Develop Sistemas, the same design runs the day-to-day of an ERP used by dozens of companies. There are 19 agents, on four levels, each with a goal written in its own file.

01Chief

Receives the request, classifies it (bug, adjustment, project, question or release) and decides who does it.

02Architect and dispatcher

One draws the plan (files, routes, the real database columns); the other writes the exact instruction for each worker.

03Specialists

API, web screens, Windows app screens, marketing: each one builds only its own part.

04Reviewers

Code, web, Windows and security. They return a verdict: approved, or rejected with the scenario that breaks.

The security reviewer works as a gate: nothing irreversible goes through without it, and changing the database structure is forbidden to every agent. The final release still depends on a person confirming it.

request → chief → architect → dispatcher → specialists
                                   ↑               ↓
                                 redo  ←  reviewers (rejected)
                                                   ↓ approved
                                     security gate → a person confirms → live

What really makes the loop work

The hard part is not having many agents. It is writing goals that can be checked and having a reviewer who rejects. A loop without a reviewer only repeats the mistake faster. And a process that "works on its own" still needs a person deciding what is irreversible.

What I take from it

Automating is not about having more agents, it is about clear goals and a reviewer who says no. The loop only closes when someone checks the result.

Where to see itRuflo on GitHubAnthropic: Building effective agents

More from the journal · NewsAI already trades stocks, reviews credit and reshapes bank jobs

All issues →

Quer conversar sobre isso?