Buyer's guide

Multi-file edits in an existing repository

How to choose tools for changes that touch many files in a codebase you already have, and how to keep those changes reviewable. The groups separate in-editor agents, terminal agents, cloud agents and review tools, and this index does not rank them.

How to choose

Who this is for. Developers and teams who need to change many files at once in a repository that already exists — refactors, migrations, renames, dependency upgrades or framework changes.

Who this is not for. Greenfield prototyping where a whole app is generated from a prompt, or teams that only need chat and autocomplete (see the AI coding tools guide).

Agentic editors that work across a whole repository

Editors where an agent can edit many files at once, run project tasks, and show a reviewable diff before you accept it. Unlike the terminal group next, the work stays inside an editor session rather than a shell you already script.

AI products
Select for comparisonNameCompanyCategoryBusiness modelLaunchedUpdatedMy shortlist
Cursor

Writing new code Editing an existing codebase

Anysphere Coding & Developer Tools Freemium 2023-03 2026-10-09
Windsurf

Writing new code Editing an existing codebase

Cognition Coding & Developer Tools Freemium 2024-11 2026-10-10
Kiro

Writing new code Editing an existing codebase

Amazon Web Services Coding & Developer Tools Freemium 2025-07 2026-09-10
Google Antigravity

Writing new code Editing an existing codebase

Google Coding & Developer Tools Freemium 2025-11 2026-10-09
Qoder

Writing new code Editing an existing codebase

Alibaba Coding & Developer Tools Freemium 2025-08 2026-10-10

Terminal and CLI agents

Agents that run in a terminal, can use the shell, tests and git, and iterate until the build or the tests pass. Unlike the cloud group below, they run where you already have the repo, not in a vendor-hosted environment that opens a pull request later.

AI products
Select for comparisonNameCompanyCategoryBusiness modelLaunchedUpdatedMy shortlist
Claude Code

Writing new code Editing an existing codebase

Anthropic Coding & Developer Tools Paid 2025-02 2026-10-09
Codex

Writing new code Editing an existing codebase

OpenAI Coding & Developer Tools Paid 2025-05 2026-09-04
Gemini CLI

Writing new code Editing an existing codebase

Google Coding & Developer Tools Open (open weights/source) 2025-06 2026-09-10
Aider

Writing new code Editing an existing codebase

Aider AI LLC Coding & Developer Tools Open (open weights/source) 2023 2026-10-10
Cline

Writing new code Editing an existing codebase

Cline Coding & Developer Tools Open (open weights/source) 2024 2026-10-10
Amp

Writing new code Editing an existing codebase

Sourcegraph Coding & Developer Tools Paid 2025-07 2026-10-09
goose

Automation agents Running an agent from the terminal

Block / Agentic AI Foundation Agents & Automation Open (open weights/source) 2025-01 2026-10-09

Cloud and long-running agents

Agents that run tasks in a cloud environment, often opening a pull request you review later. Unlike the review group next, they produce the change; the review tools only inspect a diff that already exists.

AI products
Select for comparisonNameCompanyCategoryBusiness modelLaunchedUpdatedMy shortlist
Devin

Writing new code Editing an existing codebase

Cognition AI Coding & Developer Tools Paid 2024-03 2026-10-10
Jules

Writing new code Editing an existing codebase

Google Coding & Developer Tools Freemium 2025-05 2026-09-10
OpenHands

Writing new code Editing an existing codebase

All Hands AI Coding & Developer Tools Open (open weights/source) 2024-03 2026-10-10
Factory

Writing new code Editing an existing codebase

Factory AI Coding & Developer Tools Paid 2023 2026-09-04

Review and guardrails before merge

Tools that review the resulting diff, including AI-generated code, for quality, security and consistency. Unlike the editor group above, they do not make the multi-file edit; they are the gate before merge.

AI products
Select for comparisonNameCompanyCategoryBusiness modelLaunchedUpdatedMy shortlist
CodeRabbit

Writing new code Editing an existing codebase

CodeRabbit Coding & Developer Tools Freemium 2023 2026-09-10
Qodo

Writing new code Editing an existing codebase

Qodo Coding & Developer Tools Freemium 2023 2026-10-10
SonarSource

Writing new code Editing an existing codebase

SonarSource Sàrl Coding & Developer Tools Freemium 2008 2026-09-10
Codacy

Writing new code Editing an existing codebase

Qamine Portugal S.A. Coding & Developer Tools Freemium 2013 2026-09-10

What was actually run

Executed on 2026-10-09 on one machine (macOS, arm64). The run record is linked in full below.

The runner created the scratch repository described in the fixture, asked three small local models through Ollama to fix it, applied whatever they returned and re-ran the tests. All three failed. The hosted coding agents on this page were not executed.

Method

Run records

Run records
Run (UTC)RuntimeModelsResultRaw record
2026-10-09T12:13ZOllama
Runtime version not stored in this record.
qwen2.5-0.5b · SmolLM2-360M · TinyLlama-1.1BBaseline 2 pass / 3 fail. All three models failed the task: qwen2.5-0.5b rewrote two src/ files with truncated content (14.2 s), SmolLM2-360M and TinyLlama-1.1B returned prose walkthroughs instead of files, so nothing could be applied (21.8 s and 8.8 s). The recorded per-model times sum to 44.8 s.docs/tests/existing-repo-coding/runs/2026-10-09T12-13-58-519Z.json

What the run shows

Failures that were kept

What this does not show

Cost. No account, no API key, no paid plan — the models ran locally through Ollama. The measured cost was electricity for running the machine; no metered amount was recorded, so none is published.

Method, fixture and raw outputs

Each label is the file's path in the source repository; the link opens a byte-identical copy of it published on this site (the first entry opens the index of all copies), so the record can be read without repository access.

What was not executed

Cursor · Claude Code · GitHub Copilot · Windsurf · Replit · Aider · Cline · Tabnine

This round did not execute these applications, so no measured result is reported for any of them. Some of them need an account or a particular plan before they can be run: Claude Code needs an available access authorisation, and the documented paths are a Claude subscription (Pro, Max, Team or Enterprise), a Claude Console account, or access through a supported cloud provider — so a paid Claude subscription is not the only route — while the hosted agents need a signed-in account. That is not true of every product listed — Aider and Cline are open source and can connect to a local model, so neither needs a paid plan. No further reason was recorded for this round, so where a condition was not confirmed it is stated as unconfirmed rather than assumed. Their pages and comparisons report documented behaviour with a source and a check date.

Your next step

  1. See every tool recorded for “Editing an existing codebase” in the index
  2. Compare Cursor and Windsurf on the recorded facts
  3. Check what switching to or from Cursor actually changes
  4. Spotted a stale value? Send a correction

Every link above keeps the evidence attached: the index shows each value with its source and the day it was checked.

Frequently asked questions

Does this guide rank multi-file tools?

No. It groups indexed products by how they handle changes across an existing repository. It assigns no scores and reports no benchmark results.

Will an agent understand a large codebase?

Capability varies: some tools index the repository, others read files per task. Check each product's documentation for how it builds context and what context limits apply.

What is the smallest safe way to start?

Start in a read-only or suggestion-only mode on a branch, review the diff, and only then enable edits and command execution. Keep changes small enough to review in one sitting.

Is a cloud agent better than a local one?

It depends on constraints. Cloud agents can run long tasks without your machine, while local tools keep code in your environment. Both are listed here without preference.

How do I stop an agent from rewriting the whole repository?

Constrain the task before it runs: name the files or directories in scope, state what must not change, and ask for the smallest diff that achieves the outcome. Then review the diff before applying it. Published multi-agent workflows use the same idea — an explicit task boundary plus an isolated branch or worktree. This guide reports no measured results.

Related guides

Related comparisons

Sources and record dates

Record dates describe index updates, not independent product tests. Check linked documentation for current features and pricing.