Continuous Claude: Continuous AI Agent for GitHub PRs

Run Claude Code or Codex CLI in a loop, autonomously creating PRs, waiting for checks, and merging, so large development tasks finish while you sleep.

Stars
★ 1.4k
Last updated
1mo ago v0.24.9
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
Shell

At a glance

How it runs
CLI
Works with
Platform-specificCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Claude Code CLI or Codex CLIGitHub CLIjq (Bash runner only)gitShell / CLINetwork accessLocal filesystem
Typical use
A developer needs to raise test coverage on a large codebase from 0% to 80%+, and can run this overnight unattended.
Not a fit if
  • Teams on Gitea or other non-GitHub forges
  • Teams that cannot accept discarded work on failed iterations
Website
anandchowdhary.com ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-29latest release v0.24.9 (2026-09-27)

What does this agent do, and when should you use it?

Continuous Claude is a CLI tool that runs an AI coding agent (Claude Code or Codex CLI) in a continuous loop to iteratively complete large development tasks. In each iteration, it creates a new branch, lets the agent generate a commit, creates a pull request via the GitHub CLI, waits for CI checks and reviews, merges on success, or discards on failure. It maintains context across iterations via a shared markdown file (SHARED_TASK_NOTES.md), enabling the agent to remember prior progress and decisions. Inspired by CI/CD practices and GitHub Next's Continuous AI project, it focuses on automating mundane but careful tasks like raising test coverage, large refactors, or dependency updates. It offers both Bash and PowerShell runners and supports multiple run limits (iterations, cost, duration) and parallel execution via git worktrees.

Continuous Claude scripts perform the following operations: 1) Each iteration creates a new branch and runs the selected provider (claude or codex); 2) It commits and pushes the agent's changes; 3) It creates a pull request using gh pr create; 4) It polls CI checks and review status with gh pr checks until they pass; 5) On success, it merges the PR, pulls latest main, and cleans up the branch; 6) On failure, it closes the PR and discards the work. Before each run, it reads SHARED_TASK_NOTES.md and updates it afterwards to provide continuity. It also supports an optional reviewer pass (--review-prompt), cost limits (--max-cost), duration limits (--max-duration), and early stopping (--completion-threshold).

  1. A developer needs to raise test coverage on a large codebase from 0% to 80%+, and can run this overnight unattended.
  2. A maintainer wants to automatically check for dependency updates every morning and fix breaking changes afterwards.
  3. A team lead wants to break a monolith into modules via a series of PRs, each validated by CI.
  4. A developer wants to modernize callbacks to async/await across a large codebase without manual effort.
  5. A developer needs to complete a tedious refactor like unifying code style or updating to new standards.
  6. An open-source maintainer wants to use an AI agent to automatically handle incoming issues and generate fixes, reviewed by humans.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/main/install.sh | bash
  • irm https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/main/install.ps1 | iex
Config files
~/.local/bin/continuous-claude
Install notes cover
Windows

How do you install or deploy this agent?

Install with a single command:

curl -fsSL https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/main/install.sh | bash

On Windows with PowerShell 7:

irm https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/main/install.ps1 | iex

Manual installation: download the script, make it executable, and move it to a directory in your PATH. To uninstall, remove ~/.local/bin/continuous-claude or /usr/local/bin/continuous-claude.

How do you use this agent?

First, ensure required dependencies are installed and authenticated: Claude Code CLI (claude auth) or Codex CLI (codex login), GitHub CLI (gh auth login), and jq (for Bash runner). Then, in a git repository, run:

continuous-claude --prompt "add unit tests until all code is covered" --max-runs 5

To use Codex as provider:

continuous-claude --provider codex --prompt "add unit tests" --max-runs 5

You can limit cost or duration via --max-cost or --max-duration. Any unrecognized flags are forwarded to the agent CLI.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Fully automates the PR lifecycle including merging, requiring no human intervention for routine tasks.
  • Achieves context continuity via shared notes file, reducing redundant work and improving efficiency over time.
  • Supports two AI providers (Claude Code, Codex CLI) and can use different providers for implementation and review.
  • Provides multiple run constraints (iteration count, cost, duration) to control time and resource usage.
  • Supports parallel execution with git worktrees for independent tasks on the same repository.
Limitations
  • Depends on specific CLI tools and the GitHub API; only works with GitHub repositories, not other forges like Gitea.
  • Could incur significant token costs when running many iterations, especially with expensive models.
  • Failed iterations discard work, which can be wasteful, though progress is captured in notes for the next iteration.
  • Requires manual setup and authentication of multiple tools (Claude/Codex, GitHub CLI), adding initial complexity.
  • No documented support for private models or enterprise security features beyond standard GitHub workflows.

How does this agent compare with similar options?

GitHub Next's Continuous AI project explores similar loop-based agent execution, but Continuous Claude focuses on integrating directly with GitHub's PR workflow. It also mentions Dependabot for dependency updates, but notes that Continuous Claude can additionally fix breaking changes caused by updates.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Continuous Claude: Continuous AI Agent for GitHub PRs This agent 59 · Major gaps CLIFree + model costs ★ 1.4k 1mo ago Shell Codex · Claude Code
GitHub MCP Server 61 · Some gaps MCP serverFree ★ 35k 1d ago Go Codex · Claude Code
Helmor Local Agent Workbench 60 · Some gaps Desktop appFree + model costs ★ 1.3k 4mo ago TypeScript Codex · Claude Code
Auggie CLI 43 · Major gaps CLI ★ 297 8d ago Shell —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
59/ 100 5-point scale 3.0 / 5
Trust 12/29
Reliability 6/14
Adaptability 14/18
Convention 13/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The README explains that the loop invokes Claude or Codex and GitHub CLI, creates branches and PRs, waits for checks, and merges; it also lists options to disable commits or branches, dry-run, and limit runs, budget, or duration. This makes the data flow reasonably visible (2). Automatic commits, pushes, and merges are core behavior, but the material does not specify a per-action user confirmation step. Permissions depend on external CLI credentials, and the sample gives little detail on permission scope or sensitive-data handling, so least privilege, confirmation, and sensitive-data handling score 1. The README says failures close the PR and discard work and describes local modes, but gives no concrete recovery path for unmerged work or reversal of an already merged change (rollback 1). The test setup clones unpinned Bats dependencies from GitHub, limiting evidence for dependency security and reproducibility (1). Attribution and the MIT license are explicit (source_attribution 2); however, automatic merging has substantial external effects, and the main runner source is absent from the sample, so safeguards cannot be checked (external_effects 1).

Reliability6 / 14 · 2.1/5

The README's descriptions of the loop, PR checks, merge, and platform limits are broadly consistent, and it lists several stopping and retry options (self_consistency 2). CI materials show Bash tests and a limited PowerShell smoke test, but setup clones unpinned test dependencies, so dependency availability is only partially supported (1). The README describes closing failed PRs and mentions stall/error thresholds and diagnostics, but the sample is insufficient to judge whether failure messages are complete and actionable (failure_messages 1).

Adaptability14 / 18 · 3.9/5

The documentation covers concrete scenarios such as testing, refactoring, dependency updates, Claude/Codex, GitHub PRs, and local mode, with many examples (audience_and_scenarios 3). It explicitly says GitHub is required for PR automation, other forges are unsupported, and documents Bash/PowerShell feature differences (capability_boundaries 2). Prompt, provider, run/budget/duration limits, and completion signals are described, but the main script is not included to verify edge handling (trigger_precision 2). macOS/Linux and Windows PowerShell are documented with dependencies and platform differences, though some features are Bash-only (environment_fit 2).

Convention13 / 18 · 3.6/5

The README organizes installation, prerequisites, platforms, flags, examples, and licensing clearly, though it is lengthy (information_architecture 2). It provides one-command and manual installation, uninstall, and CLI requirements, but offers limited risk guidance for piping a remote installer to a shell or using sudo (install_notes 2). The continuous-claude name, script naming, and notes-file terminology are reasonably stable across the main examples (naming_stability 2). Examples cover common configuration and operations; FAQ-style support material is sparse (examples_and_faq 3). It states that non-GitHub forges are unsupported and identifies PowerShell feature gaps, while other limitations are less complete (known_limitations 2). The LICENSE contains the full MIT text (license 3). The release workflow derives versions and changelog entries from commit prefixes, and versioning is described, but this sample cannot establish the quality of release-history maintenance (versioning_changelog 2). Attribution is present, but maintenance responsibility, support channels, and update commitments are unclear (maintenance_responsibility 1).

Effectiveness9 / 13 · 3.5/5

The product is a runnable loop CLI, and the output example shows iteration, checks, merging, and a cost summary; the documentation cannot establish that output is consistently actionable (output_usability 2). Shared notes across iterations, PR/CI gates, and repeated execution provide a clear benefit for long tasks (marginal_value 3). Run, duration, and cost limits are documented, but the README says Codex cost requires user-supplied rates and is estimated; repeated automation can also consume substantial time and money, so cost-benefit controls are only partial (1).

Verifiability5 / 8 · 3.1/5

The README provides traceable descriptions of features, flags, dependencies, and platform limits, and workflow files show test execution configuration (claim_traceability 2). The README and CI configuration partly corroborate Bash tests and a PowerShell smoke test, but the runner source is absent from the sample, limiting cross-source corroboration (2). Documentation distinguishes examples, feature descriptions, and limitations, and labels the production example as an example; some benefit claims remain author-reported rather than independently established by this material (fact_inference_separation 2).

Risks and how to mitigate them
  • The main runner is not included in this sample, so permission handling, merge safeguards, and actual failure cleanup cannot be verified statically.
  • Full PR automation pushes and merges code; review repository credentials and branch protection, and set a run, duration, or budget limit for long loops.
  • The installation examples pipe a remote script into a shell; inspect the script before running it.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 898e6d956f31
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/continuous-claude.svg)](https://followagents.com/en/agents/continuous-claude)
<a href="https://followagents.com/en/agents/continuous-claude"><img src="https://followagents.com/badge/continuous-claude.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.24.9 Release v0.24.9
    Release notes excerpt
    What's Changed - :bug: Count all PR comments and fail closed on lookup errors (a8ba58f) - :arrow_up: Update checkout to v7.0.1 (b9d8ccf) Full Changelog: https://github.com/AnandChowdhary/continuous-claude/compare/v0.24.8...v0.24.9 Installation Install with a single command: ```bash curl -fsSL https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/refs/tags/v0.24.9/install.sh | bash ``` On Windows with PowerShell 7: ```powershell irm https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/refs/tags/v0.24.9/install.ps1 | iex ``` …
    View on GitHub ↗
  2. v0.24.8 Release v0.24.8
    Release notes excerpt
    What's Changed - :bug: Synchronize provider stderr capture (f007dd4) - :construction_worker: Update checkout action to v7 (80892b5) - :pencil: Document GitHub platform support (#64) (dfd88a9) Full Changelog: https://github.com/AnandChowdhary/continuous-claude/compare/v0.24.7...v0.24.8 Installation Install with a single command: ```bash curl -fsSL https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/refs/tags/v0.24.8/install.sh | bash ``` On Windows with PowerShell 7: ```powershell …
    View on GitHub ↗
  3. v0.24.7 Release v0.24.7
    Release notes excerpt
    What's Changed - ✨ Add reviewer provider selection (#63) (3292128) Full Changelog: https://github.com/AnandChowdhary/continuous-claude/compare/v0.24.6...v0.24.7 Installation Install with a single command: ```bash curl -fsSL https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/refs/tags/v0.24.7/install.sh | bash ``` On Windows with PowerShell 7: ```powershell irm https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/refs/tags/v0.24.7/install.ps1 | iex ``` Or download the script directly: ```bash …
    View on GitHub ↗

FAQ

What API keys or credentials are required?
You need to authenticate the Claude Code CLI (claude auth) or Codex CLI (codex login) and the GitHub CLI (gh auth login). These tools handle API key management.
What happens if an iteration fails?
It closes the PR and discards the changes, but records the failure in the shared notes so the next iteration can adjust strategy. You can set a stall threshold to pause and alert a human after repeated failures.
Can I control the cost?
Yes, you can set a dollar budget with --max-cost, a time limit with --max-duration, or an iteration count with --max-runs. You can also throttle calls per hour with --max-calls-per-hour.
Does it work with non-GitHub git forges?
No. It depends on GitHub's PR and check APIs and only works in repositories with a GitHub remote. You can run it locally with --disable-commits or --disable-branches, but without full PR automation.
Can it genuinely complete large projects?
It is designed for multi-step tasks. By looping and maintaining context, it can incrementally advance large refactors or dramatically increase test coverage. However, actual feasibility depends on task size and model cost.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts