Looping Agent
БесплатноНе проверенTurns a manager's plain-English goal into a verified, looped, watchable build run driven by the IDE's agent, without SDK.
Описание
Turns a manager's plain-English goal into a verified, looped, watchable build run driven by the IDE's agent, without SDK.
README
An MCP server that turns a manager's plain-English goal into a verified, looped, watchable build run — driven entirely by the IDE's own agent (Antigravity / Claude Code). No SDK, no claude -p.
The split (do not violate)
- IDE agent = the muscle + the planner. Owns the how. Does the file edits, runs commands, thinks in many directions.
- This MCP server = brain + checker + governor + dashboard. Owns the what (goal, criteria, verdict, caps) and the how it's framed. Never dictates steps.
- Manager = owns "is this what I meant" (goal + criteria confirmation).
Locked core rules (load-bearing — never soften)
DONEcomes only fromcheck_done. The agent may never self-declare done.- The server returns the goal + failing criteria, never a prescribed step. (Hold the what, not the how.)
- The standing order is re-injected on every tool response (survives context compaction).
- Pacing + caps live in
get_next_action— it can returnSTOP/ESCALATEand the agent has nothing left to call. - Three escalation triggers → one channel: too risky, can't define done, stuck. Each carries a reason + handoff.
- Live counters show real numbers (turns, actions, criteria, elapsed). Token/budget is an estimate, labelled as such.
Branch-per-task & the merge gate
On a git project, each task is isolated and merged only on the manager's say-so:
confirmcuts a fresh task branch (loop/<slug>-<hash>) off the current branch (the base); the agent does all its work there.- When every criterion goes green, the run doesn't silently finish — it enters
ready_to_mergeand the dashboard shows "✅ all criteria pass — mergebranch→base?" - The manager clicks Merge (or Not yet). On approve, the server commits any pending work and runs
git merge --no-ff; a conflict aborts cleanly and leaves the work on the task branch. On reject, the work stays on the branch for a human.
Off git (not a repo), it's a plain DONE with no branch or merge gate.
Run
New here? SETUP.md has the full copy-paste setup for a fresh machine.
uv sync # creates the venv + installs deps
cp .env.example .env # optional: tune caps / pacing / LLM drafting
uv run pytest # 88 tests; all green
The server is meant to be launched by your IDE, not by hand. Register it from
inside the project you want it to work on — the verifier runs its command
oracles in the server's working directory, so it must be your project, not this
repo. Use --project (selects this package's venv) rather than --directory
(which would also change the cwd to here):
# run this from your target project's root — registers + pins this package:
loopai register
# (equivalent to: claude mcp add looping-agent -- uv run --project /path/to/looping_MCP loopai serve)
The IDE starts it, speaks JSON-RPC over stdio, and stops it by closing stdin. The watch dashboard comes up at http://127.0.0.1:3000.
The loopai command
| command | what it does |
|---|---|
loopai / loopai serve |
MCP server (backend) + dashboard (frontend) — what the IDE launches |
loopai dashboard |
frontend only, no stdio — open the control panel by hand, Ctrl-C to stop |
loopai register |
register with Claude Code for the current project |
loopailives in the project's.venv, not on your global PATH. Afteruv sync, invoke it one of these ways:
uv run loopai …— from the looping_MCP folder, orsource .venv/bin/activatethenloopai …, or- by absolute path from anywhere:
/abs/looping_MCP/.venv/bin/loopai …(add that dir to PATH, orln -sit into~/.local/bin, for a bareloopai).
loopai registerwrites an absolute-path launch command, so the IDE can start the server with no PATH/uv dependency — run it from your target project dir (that's the project the registration is scoped to).
Running it by hand (to watch the dashboard)
Use loopai dashboard — it serves the control panel with no stdio, so the
terminal stays a normal terminal (just press Ctrl-C to stop). Avoid loopai serve
by hand: that's a stdio server, so the terminal becomes its JSON-RPC input and
anything you type is rejected as a protocol message.
Note:
stdoutis reserved for the JSON-RPC channel — all diagnostics go tostderr.
Register in the IDE's MCP config (see specs/tool_contract.md).
Build it
You are not meant to hand-write this. Open CLAUDE_CODE_BUILD.md and feed Claude Code one phase at a time, running the checks after each. The scaffold here is the anchor; Claude Code fleshes the TODOs.
Установить Looping Agent в Claude Desktop, Claude Code, Cursor
unyly install looping-agent-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add looping-agent-mcp -- uvx --from git+https://github.com/ShreyasBidwai/AI_Loop_MCP looping-agent-mcpFAQ
Looping Agent MCP бесплатный?
Да, Looping Agent MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Looping Agent?
Нет, Looping Agent работает без API-ключей и переменных окружения.
Looping Agent — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Looping Agent в Claude Desktop, Claude Code или Cursor?
Открой Looping Agent на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Looping Agent with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
