Логотип Gobby

Gobby

Организация
GobbyAI

The bottleneck in AI coding isn't the model: It's the babysitting. Gobby is a local daemon that turns a task into a PR across Claude Code, Codex, Gemini, Qwen, and Droid. Stage dispatch, hook-time rules, progressive MCP proxy, and more. Gobby built Gobby: ~5K commits, ~15K completed tasks and counting.

ИздательGobbyAI
Репозиторийgobby
ЯзыкPython
Форки
7
Звёзды
21
Доступные инструменты
0
Тип транспортаstdio
Категории
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    Gobby предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 21, форки: 7 — в связанном репозитории.


bash
gobby build '#1842'

That's the loop. Hand Gobby a task, walk away, come back to a PR.

Behind that one command: a plan, an expansion into staged subtasks, isolated worktrees, dispatched agents, hook-time guardrails, validation, review gates, and a commit-linked close. If something goes off the rails, Gobby stops and escalates instead of merging garbage.

Gobby built Gobby. 5K+ commits. 15K+ tasks across my projects. Two paying clients running production systems on it. The 0.4.x line was assembled through Gobby's own task, dispatch, review, and documentation flows — the receipts live in this repo's .gobby/tasks.jsonl.


Why this exists

The bottleneck in AI coding stopped being model capability a long time ago. The bottleneck is babysitting. Agents lose context across compactions. They drift from the rules you wrote in your CLAUDE.md. They duplicate work. They burn thousands of tokens reloading the same MCP schemas every turn. You still review every diff because you can't actually trust what comes back.

The fix isn't a better prompt. The fix is infrastructure around the agent.

Gobby is a local daemon that sits underneath the AI coding CLIs you already use — Claude Code, Codex, Gemini CLI, Qwen CLI, Factory Droid — and gives them what they're missing: shared sessions, a durable task ledger, hook-time rules, progressive MCP discovery, agent isolation, review gates, and a build loop that turns a task into a PR without you in the middle.

It is not another agent. It is the control plane the agents you already have are missing.


What Gobby is

A Python 3.13+ daemon you run locally. PostgreSQL is the runtime hub database, configured from bootstrap database_url settings. HTTP and the installed web UI run on :60887, WebSocket on :60888, dev web UI on :60889, with a stdio MCP server that your coding CLIs talk to.

Three things make Gobby load-bearing:

1. Stage-manifest dispatch + hook-time rules

Most autonomous agents are one giant prompt loop where the model decides everything. That's the failure mode you've already lived through.

Gobby splits the runtime in two. Dispatch is deterministic: a heartbeat scans tasks, reads the current stage manifest row (ideation → research → architecture → prd → planning → expansion → development → holistic_qa → pr → merge), evaluates ordered rules in src/gobby/dispatch/rules.py, acquires a per-task mutex, and executes one bounded action — start a stage, spawn an agent, create isolation, advance, escalate. No prompting, no model freelancing.

Inside a spawned worker, the agent gets full autonomy to plan, edit, verify, and commit. But every tool call passes through the rule engine on turn_start, before_tool, after_tool, and turn_end. Rules can block, rewrite, inject context, or set variables synchronously. They are evaluated as code, not hoped for in a prompt.

Agent freedom inside enforced boundaries. That's the only way gobby build gets to "hands-off" without lying about it.

2. Local-first, built with itself

Your database, transcripts, hooks, task ledger, workflows, and rules stay on your machine. No cloud control plane. No SaaS dependency. Apache 2.0.

The repo you're reading was built through its own build loop. 5K+ commits. 15K+ tasks. 0.4.x was assembled by spawned agents working through staged manifests, with the dispatcher routing review and merge. That's the production test bed: every regression in dispatch, hooks, isolation, or task lifecycle shows up as a stalled build the next morning.

I've also used it to ship production systems for two paying clients. It is the tool I needed to actually trust the output of an AI coding agent on real work.

3. Sits under your CLIs, not next to them

Aider, Cline, OpenHands, Plandex, BMAD-METHOD — these are the agent. They own the CLI, the loop, the context window. Switching means re-learning a workflow.

Parallel runners like Superset, parallel-code, and claude_code_bridge launch multiple CLIs side-by-side in worktrees, but each one is still its own island with its own session, memory, and task state.

Gobby is the layer underneath. The same daemon, the same task ledger, the same memory, and the same rule engine serve every CLI you use. A task started in Claude Code can be claimed in Codex and finished in Droid without losing context, validation gates, or review state. You don't pick a winner among coding CLIs; you pick what's best for the work in front of you and Gobby keeps them coherent.


How gobby build actually works

bash
gobby build '#1842'                          # plan, epic, or leaf task
gobby build plans/auth-refactor.md --quick   # straight from a plan file
gobby build stop '#1842'                     # task-scoped controls

Under the hood:

  1. Build state is written onto the task: allow_automation=true, isolation (none / worktree / clone), assigned agent, target branch. Backlog tasks are inert until this gate is opened.
  2. Stage manifest materializes from the registry into task_stage_states. Each row carries position, state (ready / in_progress / needs_review / review_approved / done), review policy, reviewer, and attempt counters.
  3. Heartbeat scans opted-in tasks, filters out claimed/leased/escalated/ dependency-blocked work, reads the current stage row, and lets ordered deterministic rules pick exactly one action under a mutex.
  4. Agent runs in a worktree or full clone. Tool calls pass through the rule engine. Skills load on demand. Memory and code-graph results inject only when relevant.
  5. Review is stage-native. Workers submit_for_review instead of closing directly; the next heartbeat spawns the configured reviewer; approval advances the row; rejection retries or escalates.
  6. Close requires a commit. If you changed files, you commit them — the daemon won't let a leaf close with diffs and no SHA.

The dispatcher does not draft plans, repair artifacts inline, or prompt models. Prompting belongs in spawned agents. Routing belongs to dispatch. Keeping that line clean is what makes the whole thing trustable.


The toolchain (sister repo)

Gobby ships with a set of Rust binaries in GobbyAI/gobby-cli that solve the non-glamorous problems agents run into in practice. They install separately, but Gobby wires them in for you.

ToolWhat it doesWhy it matters
gcodeAST symbol search over 18 languages via tree-sitter and PostgreSQL hub full-text search; with vector and graph backends it adds semantic + graph search and Reciprocal Rank Fusion rankingAgents stop reading whole files. They retrieve by symbol. Cuts 90%+ off file-level loads on large repos.
gsqzWraps shell commands and compresses output via 28 built-in pipelines (git, cargo, pytest, eslint, ruff, npm, more)Verbose test/lint/build output collapses before it ever reaches the model. >90% token reduction on noisy commands, ~9ms overhead.
glocOne command to launch Claude Code or Codex against a local LLM (LM Studio, Ollama). Manages model lifecycle, env vars, warmup.Same Gobby workflows run against local and cloud models without rewriting anything.
ghookSandbox-tolerant hook dispatcher that spools events to ~/.gobby/hooks/inbox/ before posting to the daemonHook events survive sandbox FS denials, network blips, and daemon restarts. The drain worker replays them.

Plus the progressive MCP proxy itself, which only fetches schemas when a tool is actually called instead of on every list. That's another 30–40K tokens the average session never has to spend.

These aren't side projects. The token tax is the thing keeping agents from finishing real work on real codebases, and the toolchain is part of the moat.


How Gobby compares

ToolCategoryWhere Gobby differs
Claude Code, Codex, Gemini CLI, Qwen CLI, DroidFirst-party AI coding CLIsGobby runs under them. They become the worker, not the orchestrator.
Aider, Cline, OpenHands, Plandex, ContinueCoding agents / IDE extensionsThey each own the loop. Gobby owns the task, the rules, the dispatch, and the review gates around whichever loop you pick.
BMAD-METHODMulti-agent role framework (Markdown/YAML personas)Real overlap on staged work, but BMAD is a methodology layered on top of an existing agent; Gobby is the daemon, ledger, hook engine, and dispatcher.
Superset, parallel-code, claude_code_bridge, CLI Agent OrchestratorParallel CLI launchersThey run multiple CLIs side-by-side in worktrees. They don't share session, task, memory, or rules across CLIs. Gobby does.
IBM Context Forge, MintMCP, Composio, RunlayerMCP gatewaysCloud/enterprise reverse proxies for MCP. Gobby is local-first, adds progressive discovery, and binds MCP to a task lifecycle and rule engine.
OpenClawPersonal AI assistant across messaging channelsDifferent category — OpenClaw is a personal agent for WhatsApp/Slack/Telegram-style use. Gobby is dev infra for agents that ship code.
Devin, OpenHands CloudHosted autonomous SWECloud-only, opinionated stack, your code on their servers. Gobby runs on your laptop, talks to whichever model and CLI you trust, and is Apache 2.0.

The honest summary: if you've already picked a coding CLI you like, Gobby makes it more reliable. If you want to use several of them for different jobs, Gobby is the only thing that keeps them coherent. If you want to send a task into the build loop and get a PR back, Gobby is the only open-source project I'm aware of that does that locally.


What shipped in 0.4.x

0.4.x is the first release line where the full task → PR loop is the supported path, not a power-user trick.

  • gobby build as the single entry point: CLI, MCP, and HTTP all resolve to one shared build service with the same BuildResult shape. Profiles (quick, review, full, full-yolo), task-scoped controls (stop, resume, clean, restart), branch cleanup, retry recovery.
  • Stage-native lifecycle: task_stage_states, task_dispatch_mutex, task_artifacts, task_lifecycle_events. Review verdicts attached to manifest rows. PR and merge delivery artifacts.
  • Factory Droid as a first-class CLI source — hooks, sessions, transcripts, spawned agents, web chat parity.
  • Run-based task expansion with configurable depth, five-level ceiling, expansion QA coverage manifests, and inventory checks.
  • Skill loading on demand, skill hubs (SkillsMP, GitHub-backed installs), brevity injection, verification/review skill patterns.
  • Memory and code-graph maintenance: stale-memory auditor, async knowledge- graph rebuilds, embedding health, code-index refreshes.
  • Observability for sessions, models, tokens, traces, local-model status, and a built-in trace viewer.
  • Web UI improvements across chat, sessions, tasks, workflows, cron, projects — including 320px compact layouts and shared design tokens.

Full release notes: CHANGELOG.md.


Architecture

  • Python 3.13+ daemon (uv for everything)
  • PostgreSQL runtime hub configured from bootstrap database_url
  • HTTP API and installed web UI on localhost:60887, WebSocket on :60888, dev web UI on :60889
  • stdio MCP server for coding assistants
  • Hook adapters for Claude Code, Codex, Gemini CLI, Qwen CLI, Factory Droid
  • Optional Qdrant + FalkorDB for vector and graph-backed search
  • Companion Rust toolchain via gobby-cli

The PostgreSQL hub is the source of truth for task state. .gobby/tasks.jsonl is the git-native sync projection — checked in, diffable in PRs, and reconciled with the DB so task-linked commits stay auditable across machines. Linear is supported as an optional external sync target for teams that already track work there. PostgreSQL is the only runtime hub.

The guides set is the source of truth for behavior:

See docs/guides/README.md for the full guide index.


Supported CLIs

CLIIntegrationWhat Gobby adds
Claude CodeHooks + MCPDurable sessions, task links, rule-enforced workflows, build dispatch
CodexHooks + MCPShared tasks, MCP access, spawned agents, cross-CLI handoffs
Gemini CLIHooks + MCPCross-session context, memory, tasks, pipelines
Qwen CLIHooks + MCPShared lifecycle, local-model flags, session state
Factory DroidHooks + MCPDroid sessions, transcript parsing, spawned-agent flows

A task started in any one of them can be continued in any other with the same local state, validation gates, and review state. Hook policy is portable across providers, while native response fidelity remains provider-specific and is tracked in adapter-fidelity.md.

Local model providers (LM Studio, Ollama) work through the same hooks and MCP layer wherever the underlying CLI supports OpenAI-compatible endpoints.


Install

Try without installing:

bash
uvx gobby --help

Install globally:

bash
# With uv (recommended)
uv tool install gobby

# With pipx
pipx install gobby

# With pip
pip install gobby

Python 3.13+ is required for the 0.4.x series.


Quick start

From a project directory:

bash
gobby start                  # start the daemon
gobby install                # detect supported CLIs and wire hooks + MCP
gobby init                   # initialize .gobby/ for this repo

gobby install configures every detected CLI with the same stdio MCP server:

json
{
  "mcpServers": {
    "gobby": {
      "type": "stdio",
      "command": "gobby",
      "args": ["mcp-server"]
    }
  }
}

Open the installed web UI at http://localhost:60887/ once the daemon is running. The :60889 UI port is for gobby ui dev during frontend development.

Then either start interactive work in your CLI of choice — Gobby will track it quietly — or hand it a task and let the build loop run:

bash
gobby tasks create "Add OAuth refresh-token rotation" --type feature --category code
gobby build '#<id>'

For agent operating instructions in this repository, read CLAUDE.md.


Where it's going

0.5.0 is the new baseline release after the PostgreSQL and FalkorDB data cutover. The next work is UI hardening, the Rust port, and then multi-machine Gobby Pro.

0.5.0: new baseline

0.5.0 locks in the post-data-migration platform: PostgreSQL as the runtime hub, FalkorDB as the graph backend, .gobby/tasks.jsonl as the git-native task projection, and the current Python daemon as the supported local-first control plane.

0.5.0+: UI hardening and Rust port work

  • UI hardening — keep tightening chat, sessions, tasks, workflows, cron, projects, compact layouts, and shared design tokens until the web UI is solid enough for daily Gobby Pro workflows.
  • Attached-session parity — close remaining gaps in context usage, mode/model sync, attachments, persona switching, and voice surfaces.
  • Rust port preparation — freeze route contracts, add compare/delegation plumbing, and keep extracting shared primitives in gobby-cli.

0.6.0: Rust port release

0.6.0 is the Rust port release. Python remains the behavioral reference until each boundary passes parity, observability, and rollback gates. Rust sidecars take over selected route families behind explicit delegation, with compare mode available while parity is proven.

0.6.0+: Gobby Pro sync

Gobby Pro starts with remote sync from multiple Gobby-controlled machines: multi-daemon discovery and handshake, encrypted task/memory/session sync, and operator controls for machines you own.

0.7.0+: Gobby Pro beta

The Pro beta adds fleet management and a shared dashboard for all Gobby machines: health, inventory, remote command, shared task boards, team workflows, audit, and enterprise controls.

Later: 1.0.0 prep

Once the Pro beta stabilizes, the focus moves to 1.0.0 readiness: API and workflow stability, release polish, and SWE-bench evaluation (docs/plans/SWE-BENCH.md) with run/result storage, gobby eval, trajectory capture, and Gobby-enabled vs baseline A/B tests.

Full plan: ROADMAP.md.


Status and contributing

Gobby is pre-1.0 and moving fast. The 0.4.x line is what I run and ship from every day, but APIs, configuration, workflow definitions, and hook behavior will continue to change as the daemon hardens. If that's a problem for you, wait for 1.0. If you want to influence the shape of it, jump in now.

Apache 2.0 licensed. See CONTRIBUTING.md for development guidance.


Установка

TypingMind
Требования:

Node.js 18+

{
  "mcpServers": {
    "gobbyai-gobby": {
      "command": "uvx",
      "args": [
        "gobby"
      ]
    }
  }
}

Используйте MCP Gobby с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения Gobby вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте Gobby как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для Gobby.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "gobbyai-gobby": {
      "command": "npx",
      "args": [
        "-y",
        "gobby"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для Gobby, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для Gobby.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Gobby?
Gobby
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Gobby.

Часто задаваемые вопросы

Для чего используется сервер MCP Gobby?

Gobby — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP Gobby с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать Gobby с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP Gobby с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив Gobby, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP Gobby к TypingMind?

Gobby работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP Gobby в TypingMind?

Gobby предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP Gobby?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если Gobby требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇