Recur is a desktop app for running coding agents on your own repositories. Each task gets an isolated git worktree, an agent of your choice, and a place to read the diff, review the result, and merge it back.
Recur is a native Rust app built on GPUI. It runs on macOS and Linux.
- Workspaces. Every workspace is a git worktree on its own branch. Agents work in isolation, and you land their commits when you are satisfied.
- Chats. Run as many chats as you like at once, across workspaces or side by side in the same one. Each chat picks its own agent and one of five modes: Ask (read-only Q&A), Plan (read-only, produces a plan), Review (read-only, reports findings), Agent (read and edit), or Autopilot (runs a workflow in the chat).
- Workflows. In Autopilot mode, a chat hands the task to a team of specialist agents instead of one. A workflow is a graph of phases where work comes back until it clears your bar, each phase run by a role with its own prompt and tools. The shipped workflows plan, implement, review, fix, and open a PR, but a workflow can be any shape you declare. See Workflows below.
- Child workspaces. An agent can spawn a child worktree for a subtask, then read, merge, or archive its result.
- Review surface. Diff viewer with inline comments and an approve flow, so review happens where the code is.
- Editor. A native code editor with TextMate grammars, themes, snippets, symbol outlines, and language servers, all supplied by bundles.
- Providers. Claude Code, Cursor, OpenAI Codex, and any OpenAI-compatible
/v1/responsesendpoint. Seedocs/for how each is wired. - Pull requests. A PR dashboard across your projects that pulls in every open PR on each repo, not just the ones Recur opened. Review, comment, approve, fix checks, and merge without leaving the app. See Pull requests below.
- Schedules. Save a prompt or workflow to run on a cron cadence, once at a set time, or every time Recur starts. Each run gets its own fresh workspace. See Schedules below.
- Integrations. Linear via MCP, with issue search and
/linearstraight from the composer. Recur's own MCP host tools let agents report findings, artifacts, and permission requests back to the app.
A workflow is a scripted collaboration between specialist agents that runs inside one workspace. You describe the task once, pick a workflow and a policy, and the engine walks the workflow's phases while you watch the chat, the diff, and the findings list.
Roles. Each specialist is a role: a system prompt, a chat mode, and an allow-list of tools. The shipped roles are Maestro, Planner, Coder, Reviewer, Security reviewer, QA, Writer, and Editor. The Reviewer can only read and file findings. The QA role has no file or shell access and drives a browser through Playwright to attach evidence. The Coder is the only role that edits.
Phases. A workflow is a graph of phases, each of a built-in kind:
- plan. The Planner produces a structured plan. A policy gate decides whether the workflow pauses for your approval before continuing.
- converge. The review loop. The implementer does the work, then the reviewer files findings with severities, the implementer fixes or disputes them, and the reviewer re-reviews. The fix and re-review rounds repeat until open findings drop below the policy's threshold or the round cap is hit. A workflow can also start a converge at the review step to work on a diff that already exists.
- verify. The QA role checks the result against the plan in a real browser and reports pass or fail with evidence. A rejected result can go back to an earlier phase, usually converge.
- run. Runs a command, such as the test suite, in the worktree. A failure can send the work back to converge with the command's output.
- ensure_pr. Commits, pushes, and opens a GitHub pull request with an agent-written description, or updates the existing one.
- artifact. Publishes the result as a document instead of a PR.
Phases can be on demand. The To a PR workflow has a security phase that only runs when the diff touches auth, secrets, or permission checks, or when you ask for it.
Policies. A policy sets the bar without changing the workflow. It fixes the round cap, what happens when the cap is hit (escalate to you or proceed), which finding severities block completion, whether plans need approval, and a wall-clock timeout. The shipped policies are:
| Policy | Blocks on | Plan approval | Round cap |
|---|---|---|---|
| Cautious | any finding | always | 2, then escalate |
| Balanced | medium and above | when the plan is structured | 4, then escalate |
| Aggressive | high and critical | never | 6, then proceed |
The Maestro. Every workflow has a conductor. You talk to the Maestro, not the specialists. It reports where the run stands, edits the plan on your behalf, extends rounds when a converge escalates, re-enters a phase after a stop, and dispatches on-demand phases. It never does the phase work itself.
Shipped workflows. Pick one from the workflow picker, or type its slash command in any chat's composer to start it on that workspace.
| Workflow | What it does | Slash command |
|---|---|---|
| To a PR | Planner writes a plan and waits for approval if the policy asks. Coder implements it, Reviewer and Coder converge on the diff, then the workflow opens a pull request. Includes an on-demand security phase. | /to-a-pr |
| Review & fix | Starts at review on the diff already in the workspace. Reviewer files findings, Coder fixes them, until the bar passes. No PR. | /review-and-fix |
| Review & fix to a PR | Same as Review & fix, then opens or updates a pull request. | /review-to-pr |
| Security review & fix | Review & fix with the Security reviewer in place of the Reviewer, focused on auth, secrets, tokens, and permission checks. | /security-review |
| Docs | Planner drafts a documentation plan, Writer writes it, Editor reviews until no findings remain, and the result is published as an artifact instead of a PR. | /write-docs |
Workflows, roles, phases, and policies are all declared in a bundle's bundle.toml. Copy the shipped Workflows bundle to change a prompt, swap a role, or wire a new graph.
Recur treats the pull request as the boundary where a human signs off. Everything an agent produces ends up in a diff you can read, comment on, and approve, whether or not it has been pushed to GitHub yet.
Opening. /open-pr and /open-draft-pr commit, push, and open a pull request with an agent-written title and summary. The ensure_pr phase in a workflow does the same and updates the PR on later rounds. Recur talks to GitHub through the gh CLI, so it uses whatever account you have already authenticated.
The dashboard. The Pull requests view lists PRs across your projects, synced from GitHub. It includes PRs opened outside Recur, groups them into needs your attention, workspace is responding, open, and merged, and flags the ones that need you: a review was requested, you were assigned, changes were requested on your PR, or your checks are failing. Filter by project, status, review, or check state, and sort by updated, newest, oldest, or title.
Reviewing. Open any PR into the review surface. You get the file list, the full diff with syntax highlighting, commits, and the conversation. Leave line comments, batch them into a review, then submit it as a comment, an approval, or a request for changes. Reply to threads, resolve them, react, and mention people with autocomplete. Findings filed by reviewer agents show up alongside human comments.
Acting. From the PR titlebar you can mark a draft ready, merge with squash, rebase, or merge commit, and see how far the branch is behind its base. /fix-checks starts an agent on the failing checks. /update brings the branch up to date with its base. Any PR, including one opened elsewhere, can be checked out into a new workspace so an agent can work on it.
A schedule is a saved prompt that Recur runs on its own clock. Each occurrence creates a fresh workspace from the base branch you chose, starts the chat or workflow, and records the outcome.
A schedule has a name, a prompt, a project and base branch, a provider model, and a mode. The mode is any of the five chat modes. Autopilot schedules also pick a workflow and a policy, so a nightly "review and fix" or a weekly "security review" needs no one at the keyboard to start it.
Cadences:
- Once at a date and time in your time zone.
- Cron using standard five-field syntax or descriptors such as
@dailyand@hourly. Recur previews the next three run times before you save. - On startup using
@reboot, which runs every time Recur launches.
Schedules can be paused and resumed, or run immediately with Run now. If Recur was not running when an occurrence came due, the run is marked missed rather than replayed. If the previous run is still active or waiting on your input, the next occurrence is skipped. Deleting a schedule keeps the workspaces it already created.
Recur Bundles are TextMate-inspired packs that extend the app. Each bundle is a directory with a single bundle.toml and can ship any mix of:
- Prompt actions. Slash commands in the chat composer. The shipped
Chatbundle provides/commit,/commit-push,/open-pr,/open-draft-pr,/fix-checks,/address-review,/review,/re-review,/fix-findings,/simplify-review,/simplify-audit, and/update, plus/to-a-pr,/review-and-fix,/review-to-pr,/security-review, and/write-docs, which start the matching workflow. Actions can take arguments with their own autocomplete. - Workflows, roles, and policies. Everything described under Workflows comes from the shipped
Workflowsbundle: the roles and their prompts, the phase graphs, and the three policies. - Palette search and task expansion. The
Linearbundle adds Linear issue search to the command palette and expands an issue reference into a full task prompt when you start a new workspace. - Editor commands. Macros in the Run Command palette, bound to keys, or run on save.
- Grammars, themes, terminal palettes, language data, snippets, symbols, and language servers. Everything the editor needs to understand a language.
- Settings. Persisted values and secrets, such as API keys, that bundle scripts read at runtime.
The bundles under bundles/ are the reference implementations. User bundles live in ~/.recur/bundles and override shipped ones by id. Full authoring guide: docs/bundles.md.
Download Recur-<version>-macos-universal.dmg from Releases, open it, and drag Recur to Applications. If a release is not notarized, macOS blocks the first launch. Clear the quarantine flag once per download:
xattr -dr com.apple.quarantine "/Applications/Recur.app"Downloading with gh release download skips this step, since the GitHub CLI does not set the flag.
On Linux (Ubuntu 24.04+ / Debian 13 / Fedora 40+), install the .deb or .rpm (-linux-amd64 or -linux-arm64). It pulls in the GTK, WebKitGTK and GStreamer runtime and puts recur on PATH and in the app menu:
sudo apt install ./Recur-<version>-linux-amd64.deb
sudo dnf install ./Recur-<version>-linux-amd64.rpmOn other distributions (Arch, openSUSE, and so on), install GTK 4, WebKitGTK 6.0 and GStreamer, then run recur from Recur-<version>-linux-amd64.tar.gz. It links recur into ~/.local/bin and adds an app-menu entry on first launch. To tune a build for your own CPU, see Building from source.
Each release lists SHA256SUMS for its downloads, and the packages are signed with the Recur release key (fingerprint 1643 D8F4 CED9 E15A 8779 8A9F 3CDB 8273 A037 2B19).
The app installs a recur command on your PATH at launch.
recur . # open the current folder
recur ./path/to/file # open a file or folder
recur # focus Recur, launching it if needed
recur bundles lint ./bundles
recur bundles test ./bundles/JSONYou do not need this to use Recur: Installing covers the prebuilt packages. Build from source to develop Recur or to compile for your own machine.
Builds go through mise, which installs the pinned Rust toolchain and the tools the tasks use (node, pnpm, nfpm, cargo-about), so release builds and local builds run the same steps. Run mise install once, then everything is mise run <task> from the repository root (mise tasks lists them).
Also needed:
- macOS: Xcode 26+ (for
actool) - Linux: the GTK 4, WebKitGTK 6.0, GStreamer, xkbcommon and Vulkan development packages.
build/linux/deps.shinstalls them on Debian/Ubuntu, Fedora/RHEL and Arch.
mise run dev # run the desktop app (cargo run -p recur-desktop)
mise run build # build the app and CLI into target/
mise run macos:package # target/package/Recur.app, its DMG and updater zip (macOS)
mise run linux:package # target/package/recur-linux-<arch>.tar.gz, .deb and .rpmmise run linux:install # or build/linux/install.shThis installs the development packages (skip with build/linux/install.sh --no-deps), runs linux:build with -C target-cpu=native (RECUR_NATIVE=0 turns that off) and installs recur into ~/.local (RECUR_PREFIX changes it). A native build may not run on other CPUs.
On a Mac, the linux:* tasks build in Docker (or OrbStack), and mise run linux:run opens the Linux app in a browser-based desktop.
mise run check # everything below
mise run lint # rustfmt, clippy, the layering check
mise run test # workspace tests
mise run test:bundles # shipped bundle engine tests (lint:bundles lints them)
mise run linux:test # the same on Linux (Docker on a Mac)| Path | Role |
|---|---|
crates/ |
The app: domain, store, engine, services, UI, views, desktop (the app) and cli |
providers/ |
Agent providers: Claude Code, Codex, Cursor, OpenAI-compatible, ChatGPT |
vendor/ |
Patched GPUI and codec crates |
bundles/ |
Shipped Recur Bundles |
recur-skills/ |
Shipped agent skills |
docs/ |
Architecture, bundle authoring and provider docs |
build/, mise.toml, tasks/ |
Packaging, tools and tasks |
src-web/, src-docs/ |
Website and user docs |
Read CONTRIBUTING.md for contribution terms and AGENTS.md for conventions, quality gates, and PR guidance. Keep changes small and focused, and run mise run check before pushing.
Recur is source-available under the Elastic License 2.0: you can use, modify, and redistribute it, but not offer it to others as a hosted or managed service. The shipped bundles (bundles/), agent skills (recur-skills/), website (src-web/), user docs (src-docs/), scripts/ and a few reusable libraries (recur-exec, recur-http, recur-term, recur-textmate) are licensed under Apache 2.0 instead, marked by a LICENSE-APACHE file in their directory. Neither license covers the Recur name, logos, wordmark or app icon.