Your First Agent Loop in 10 Minutes
Learn how to configure and run your first multi-agent coding loop in Zenborg.
Your First Agent Loop in 10 Minutes
In this tutorial, you will create and run your first multi-agent coding loop in Zenborg. You will watch two models plan a feature, review each other’s work, implement the code in an isolated Git worktree, and verify the result.
What You Need Before You Start
- Zenborg installed and running on macOS or Windows.
- At least one connected CLI agent (such as Claude Code or Gemini CLI).
- A Git repository selected as your current project.
Ordered Screens Overview
During this tutorial, you will navigate through four screens in sequence:
- Screen 1: Loops Dashboard — Creating a new loop.
- Screen 2: Loop Configuration Panel — Setting roles and scope.
- Screen 3: Active Stage Timeline — Monitoring worktree execution.
- Screen 4: Review and Diff View — Inspecting final changes.
Step-by-Step Instructions
Step 1: Open the Loops View
- Launch Zenborg and click on the Loops tab in the main navigation.
- Ensure your target repository appears in the project selector dropdown.
Step 2: Define Your Goal
-
Scroll to the Create New Loop form.
-
In the Task Scope text area, enter a concrete development task:
Add a footer with the current year to index.html
Step 3: Assign Agent Roles
-
In the Manager Agent dropdown, select
antigravity(orclaude). The Manager Agent drafts the plan, synthesizes review feedback, and conducts the final code review. -
In the Worker Agent dropdown, select
browserwithgemini(or a CLI agent likegemini). The Worker Agent executes the two plan reviews, writes the code in the worktree, and implements any fix rounds. -
Set Max Correction Rounds to
4. -
Leave
"Allow outside project folder"unchecked to keep edits confined to your repository.
Step 4: Start the Loop
-
Click the button labeled “Start Orchestration Loop”.
-
Zenborg creates an isolated temporary Git worktree for the loop.
Step 5: Observe the Pipeline Stages
Watch the timeline update in real time:
plan_draft: Manager Agent analyzes your repository structure and writes a step-by-step plan.plan_review_1&plan_review_2: Worker Agent sessions check the plan in parallel for missing edge cases.plan_synthesis: Manager Agent merges the feedback into a final specification.execution: Worker Agent opens the worktree, modifies the target files, and runs tests.review: Manager Agent inspects the Git diff.
Step 6: Review and Merge
- Once all stages complete, scroll to the Worktree section.
- Click Inspect Diff to review the commit.
- When satisfied, click Merge to Main Branch.