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.
- Source repo
- AnandChowdhary/continuous-claude
- Stars
- ★ 1.4k
- Last updated
- 1mo ago v0.24.9
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Shell
- FA score
- 59/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specificCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- 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)
- Source review
- 59/100 · Major gaps
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).
- A developer needs to raise test coverage on a large codebase from 0% to 80%+, and can run this overnight unattended.
- A maintainer wants to automatically check for dependency updates every morning and fix breaking changes afterwards.
- A team lead wants to break a monolith into modules via a series of PRs, each validated by CI.
- A developer wants to modernize callbacks to async/await across a large codebase without manual effort.
- A developer needs to complete a tedious refactor like unifying code style or updating to new standards.
- 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 | bashirm 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 | bashOn Windows with PowerShell 7:
irm https://raw.githubusercontent.com/AnandChowdhary/continuous-claude/main/install.ps1 | iexManual 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 5To use Codex as provider:
continuous-claude --provider codex --prompt "add unit tests" --max-runs 5You 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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).
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).
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).
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).
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).
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).
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
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 ↗ -
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?
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?
Can I control the cost?
--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?
--disable-commits or --disable-branches, but without full PR automation.Can it genuinely complete large projects?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.