Choosing and testing

Which autonomous coding agent fits your team: a decision guide

The right coding agent depends less on which is strongest in a demonstration and more on four facts about your team: where your code is hosted, what your rules say about where code may run, which subscriptions you already pay for, and what type of work you want to hand over. This guide turns those four facts into a short list of agents to test, using each vendor's documentation read on 1 December 2026. It names agents to try first, then sends you to the two-week pilot that decides between them.

Published December 1, 2026. Editorial.

Key takeaways

  • Start from your git host: Copilot's agent works only on GitHub, Claude Code's hosted cloning and pull requests need GitHub, and Grok Build lists GitHub, GitLab, Azure DevOps and Bitbucket.
  • If your rules keep the agent's planning inside your network, test OpenHands self-hosted or Factory's command line tool; if only the checkout and commands must stay inside, several hosted agents have self-hosted options.
  • If your developers already pay for ChatGPT, Claude or Copilot, test the agent that comes with that plan, and the agents that accept it: Devin, Factory and Amp.
  • For pipeline-driven work such as failed builds and missing tests, Harness's pull request agents and Copilot's Agent Merge act on events instead of requests.
  • Test two or three agents on the same tickets for two weeks before you commit, because every agent here changed price, name or owner within 2026.

Most comparisons of coding agents rank them. This guide does something more useful for a buyer: it narrows the field to the two or three agents worth testing on your own work. It does that from four facts you already know about your team, and from what each vendor's own documentation says, read on 1 December 2026.

No agent here wins on every point, and the market moved several times in 2026, so a short list followed by a trial is safer than a single choice from a table.

Step 1: where is your code hosted?

This question removes agents faster than any other, because several agents only work with certain git hosts.

Your git host Agents whose documentation lists it Agents that do not support it for cloud work
GitHub Every agent in this guide None
GitLab Grok Build [3], Devin [4], Codex cloud tasks [6], Amp [7], Factory code review Copilot's agent [1]; Claude Code hosted pull requests [2]
Bitbucket Grok Build [3], Devin [4] Copilot's agent [1]; Claude Code hosted pull requests [2]
Azure DevOps Grok Build [3]; Devin lists custom git providers [4] Copilot's agent [1]; Claude Code hosted pull requests [2]

Sources: each vendor's documentation, as cited. GitHub states that Copilot "only works with repositories hosted on GitHub" [1], and Anthropic says that hosted cloning and pull request creation in Claude Code require GitHub [2]. Claude Code offers bundles and self-hosted environments for other hosts [2].

Step 2: what do your rules say about where code may run?

Write your rule in one sentence, then match it.

"Code may run in a vendor's cloud under contract." Every agent qualifies. Choose on the other steps.

"The checkout and commands must stay inside our network." Choose among the hosted agents with a self-hosted machine option: Devin Outposts [4], Grok Build self-hosted machines [3], Amp self-hosted orbs [7], Claude Code self-hosted environments [2], and Copilot on your own GitHub Actions runners [1]. The planning still runs at the vendor.

"Every part of the agent must stay inside." Test OpenHands self-hosted [8] or Factory's command line tool, which runs the agent where your code lives and has a documented airgapped mode with your own model endpoints [5]. Your model must also be one your rules allow.

Our page on where your code runs compares the details.

Step 3: what do you already pay for?

Many teams already pay for a chat assistant. Use that.

  • ChatGPT: Codex cloud tasks come with ChatGPT Plus and above, and with Business seats. Devin can bill GPT use to a linked personal ChatGPT plan, and Factory's free plan and Amp can use a ChatGPT sign-in.
  • Claude: Claude Code cloud sessions come with Pro and above, with no charge for the cloud machine [2]. Amp can link a Claude plan.
  • GitHub Copilot: the cloud agent comes with paid Copilot plans, from $10 a month, and Pro+ and higher can hand tasks to Claude and Codex as a preview. Factory's free plan accepts a Copilot sign-in.

Our chat plan or API key page explains the limits of each arrangement, including Devin's rule that only personal ChatGPT plans can be linked.

Step 4: what work do you want to hand over?

Agents are built around different shapes of work.

Work you want to hand over Agents built for it Why
Many small tickets with tests Copilot, Codex, Claude Code, Grok Build, Devin Each turns one task into one pull request; Copilot's Actions sessions stop at 59 minutes [1]
Large migrations and multi-part projects Devin, Factory Devin runs many sessions and Bots that own an outcome; Factory Missions plan milestones first [4][5]
Failed builds and missing tests, started by the pipeline Harness, Copilot Harness agents run as pipeline steps [9]; Copilot's Agent Merge works on failed workflows [1]
Changes across several repositories Grok Build, Copilot cloud sandbox Grok Build supports multi-repo environments [3]; Copilot cloud sandboxes can work across repositories [1]
iOS and Mac apps Amp, Devin Amp starts Mac satellites [7]; Devin documents macOS virtual machines
A platform to run many agents under one control OpenHands It lists running other agents, such as Codex and Claude, on every plan [8]

Sources: each vendor's documentation, as cited.

Putting the four steps together

Take the agents that survive all four steps. If more than three remain, keep the ones your developers already use, plus one they do not, so the trial tests something new. If none remain, the strictest rule is usually the network rule; check whether a hosted agent's self-hosted option meets it.

Three short lists cover many teams:

  • A startup on GitHub and ChatGPT or Claude: the agent that comes with its chat plan, Copilot's cloud agent, and Factory's free plan or Amp as a low-cost third.
  • A company on GitLab or Bitbucket with cloud-friendly rules: Grok Build, Devin and Codex cloud tasks.
  • A regulated company that keeps everything inside: OpenHands self-hosted and Factory's command line tool, with an approved model endpoint.

Three invented examples

The three companies below are invented, to show how the steps narrow the field.

A twelve-person software company keeps its code on GitHub, allows vendor clouds under contract, and pays for Claude Team seats. Step 1 keeps every agent. Step 2 keeps every agent. Step 3 points to Claude Code, which its seats already include, and to Copilot's cloud agent, which needs a Copilot plan it does not have yet. Step 4: most of its work is small tickets with tests. Its short list is Claude Code and Copilot, with Factory's free plan as a low-cost third, signed in with the Copilot plan the company would buy for the trial.

A logistics company with two hundred developers keeps its code in Azure DevOps and requires that code checkouts stay inside its own cloud account. Step 1 leaves Grok Build and Devin's custom git provider support, which it must confirm with Cognition. Step 2 keeps both, through Grok Build's self-hosted machines and Devin Outposts. Its short list is those two, tested on its own machines.

A bank's internal tools team must keep every part of any AI system inside its network and use only a model endpoint the bank has approved. Step 2 decides the matter: OpenHands self-hosted and Factory's command line tool with its airgapped mode. Its trial measures the same results as any other company's, plus the hours its platform team spends running the agent.

In each case, the four steps take a few minutes and leave a list short enough to test properly. A list of two or three agents fits a two-week trial with the same reviewers; a longer list leaves each reviewer too little time per agent to compare results with care.

Mistakes to avoid when choosing

Choosing from a demonstration. A demonstration shows one task chosen by the vendor. Your trial shows your tasks, chosen by you.

Choosing from a benchmark table. Public scores come from public tasks that a model may have seen in training, as our benchmarks page explains.

Ignoring review time. An agent that opens many pull requests can create more work than it saves if each one needs heavy rewriting. Count reviewer minutes from the first day.

Skipping the setup. An agent that cannot build your project or run your tests cannot check its own work. Spend the first two days of any trial making the environment work for every agent.

Signing a long contract first. Every agent here changed in 2026. A month-to-month plan or a short pilot contract keeps the choice open until the results are in.

Leave room for change

Every agent in this guide changed name, price or owner during 2026. Google is closing Jules on 31 December 2026 [10]. Cursor's cloud agents now carry the Grok Build name after SpaceX's purchase. Windsurf became Devin Desktop. Harness bought Augment's Cosmos. A choice made today should be cheap to undo.

Three habits keep it cheap. Keep the agent's instructions, such as an AGENTS.md file, in the repository. Keep the tests that define "done" in the repository. And keep your measures of each agent, so a future comparison starts from data. The Jules page shows what a move looks like in practice.

When to look at the choice again

A choice of agent should be reviewed on a schedule and on events, because the inputs to the four steps change.

Review it every quarter with your own numbers: tasks finished, pull requests merged without changes, reviewer minutes and cost per merged pull request. If one number moves the wrong way for two months in a row, find out why before renewing.

Review it at once when one of these happens:

  • The vendor changes its price, its usage unit or its allowance.
  • The vendor changes owner, name or terms, as Cursor, Windsurf and Augment did in 2026.
  • The model you rely on is replaced or retired.
  • Your company moves git host, changes its network rules or signs a new chat assistant contract.
  • A vendor announces it is closing a product, as Google did for Jules [10].

Each review is cheap if you kept the measures and the instructions in your repository. Run the newcomer through the same tickets as the current agent, compare, and switch only when the numbers say so.

The next step

Run the short list through the two-week pilot plan: the same tickets, the same reviewers, the same measures. Choose the agent with the lowest cost per merged pull request at the quality your reviewers accept, and write down the reasons, the numbers and the date.

Teams that would rather have an outside team build their product with AI, and hand over a tested result instead of choosing a tool, can read about our AI development service.

Best for

  • Engineering leaders building a short list before a trial.
  • Teams replacing Jules, or rethinking a tool after a change of owner.

Avoid if

  • Choosing one agent for a whole company without a trial on the company's own work.

Check before you decide

  • Each short-listed agent's current terms and price on the day you start the trial.
  • That every short-listed agent supports your git host and your network rules in writing.

Common questions

Which coding agent should a small startup choose?

Start with the subscription the founders already pay for. A team on Claude gets cloud sessions with no machine charge; a team on ChatGPT gets Codex cloud tasks; a team on GitHub gets Copilot's cloud agent from $10 a month. Add Factory's free plan or Amp with a linked plan as a low-cost second option, and compare on real tickets.

Which agent suits a large company with strict rules?

First settle where each part may run. If commands and checkout must stay inside, Devin Outposts, Grok Build self-hosted machines, Amp self-hosted orbs, Claude Code self-hosted environments and Copilot on your runners all qualify. If planning must stay inside too, test OpenHands self-hosted or Factory's command line tool with its airgapped mode.

Our code is on GitLab. Which agents can we use?

Grok Build lists GitLab among its git hosts, Devin lists GitHub, GitLab and Bitbucket, Codex cloud tasks can use a connected GitLab account, Amp connects to GitLab including self-managed instances, and Factory documents code review on GitLab. Copilot's agent works only on GitHub, and Claude Code's hosted pull requests need GitHub.

Our code is on Azure DevOps. What are our options?

Among the documentation we read, Grok Build's cloud agents name Azure DevOps Services as a supported host. Devin lists support for custom git providers, which may cover it, so ask Cognition. Harness pipelines and OpenHands self-hosted are worth asking about too. Confirm support in writing before a trial.

Which agent is best for large migrations?

The agents built for many parallel or planned sessions: Devin, which runs many sessions and offers Bots that own an outcome, and Factory, whose Missions plan features and milestones before an orchestrator runs them. Copilot's one-hour session limit on GitHub Actions makes it better suited to splitting a migration into many small tasks.

Which agent suits fixing failed builds automatically?

Agents that start from pipeline events: Harness's AutoFix agent runs as a pipeline step and opens a pull request, and Copilot's Agent Merge works on failed GitHub Actions workflows and merge conflicts in a pull request you choose. Both keep a person as the one who merges.

Should we pick one agent for the whole company?

Not at first. Run a trial with two or three agents on the same tickets, then choose. You may end up with one agent per type of work, for example a GitHub-based agent for small fixes and a planning agent for large projects. Keep instructions in the repository so switching later is cheap.

How much does the choice depend on the model?

Results depend on both, and models change often. Devin, Factory, Amp and OpenHands let you choose among models from several providers; Codex uses OpenAI's models, Claude Code uses Anthropic's, and Copilot offers a choice that depends on the plan. Test with the model you would use in production, and test again when it changes.

What if our chosen agent changes owner or closes?

It happened several times in 2026: Jules is closing, Cursor's cloud agents became Grok Build after SpaceX's purchase, Windsurf became Devin Desktop and Harness bought Augment's Cosmos. Keep tests, setup steps and agent instructions in your repository, and ask each vendor how much notice it gives before changing or closing a product.

What is the first step after reading this guide?

Write down your git host, your rules for where code may run, the subscriptions your team already pays for and the three kinds of task you most want to hand over. Pick two or three agents that fit all four, then follow the [two-week pilot plan](/guides/autonomous-coding-agents-compared/two-week-pilot-plan).

Start a project