Skip to main content

What is an AI Software Engineer?

Introduction​

An AI software engineer is a coding agent that takes a whole task, such as an issue or a ticket, and returns a finished change, usually a pull request. You describe the outcome. The agent plans, edits code, runs tests in its own environment, and asks for review when it is done.

Definition

AI Software Engineer

A coding agent that works through a complete software task in its own environment and delivers the result as a reviewable change, typically a pull request, with little supervision along the way.

The term is a product category more than a job title. Cognition popularised it with the post Introducing Devin, the first AI software engineer, published on March 12, 2024. Since then several vendors sell the same shape of tool: a task goes in, and a pull request comes out.

This article explains what these agents actually do, how they differ from an AI pair programmer, and what a team must still own.

Understanding the Concept​

An AI software engineer is a coding agent with three extra parts around it. It has a task source, such as an issue tracker. It has a remote environment where it can install dependencies and run commands. It has an output channel, usually a branch and a pull request.

GitHub's Copilot coding agent is one example. Its documentation covers runs on GitHub Actions. There, Copilot "can only work on one branch at a time and can open one pull request per task." Each session has "a maximum execution time of 59 minutes." Ona, formerly Gitpod, describes its background agents as "Task in, pull request out."

AI pair programmerAI software engineer
InputOne instruction at a timeA complete task or issue
Where it runsYour editor or terminalA remote environment
OutputEdits in your working copyA branch and a pull request
When you reviewAfter each stepOnce, on the pull request

The comparison with AI pair programming is about supervision, not capability. The same model can do both. The AI software engineer just works longer before a person looks at its output.

Applying It in Practice​

Write the task as a specification. State the expected behavior, the files or modules in scope, the tests that must pass, and anything the agent must not change. A vague issue produces a pull request that matches the agent's guess, not your intent.

Pick tasks with a checkable outcome. Bug fixes with a failing test, dependency updates, small features with clear acceptance criteria, and test coverage for existing code all fit well. Tasks that depend on an unmade product decision do not.

Review the pull request as you would one from a new contributor who has never met the team. Check that it reuses existing code, that the tests prove the right thing, and that it did not change unrelated files. A passing CI run says the tests pass. It does not say the tests are right.

Engineering Considerations​

Vendors measure these agents on benchmarks such as SWE-bench, which describes itself as "a benchmark for evaluating large language models on real world software issues collected from GitHub." The agent must generate a patch that resolves each issue. A benchmark score tells you how often the agent solves that kind of public issue. It does not tell you how it does on your codebase, your conventions, or your unwritten requirements.

The agent replaces part of an engineer's work, not the role. Someone still decides what to build, writes the task, reviews the result, and owns the code after it merges. If nobody on the team can judge a change, nobody should merge it.

Give the agent the smallest permissions that let it finish. It needs repository write access to a branch, not to main. It rarely needs production credentials. Text in an issue or a code comment can carry instructions aimed at the agent, so treat its input as untrusted.

Scaling and Operations​

Running several AI software engineers at once multiplies pull requests, not reviewers. Plan work at the rate your team can review it. Group related changes so a reviewer reads one coherent story instead of ten unrelated diffs.

Several agents on one repository also need separate workspaces and a plan for tasks that depend on each other. Agent orchestration covers how to split and sequence that work. Treq runs each agent in its own workspace, stacks dependent workspaces, and rebases the ones above when a lower one changes.

Next Steps​