What is an AI software engineer? How it works, and where it breaks
An AI software engineer takes a whole ticket, plans it, writes and tests the code in its own environment and opens a pull request. Here's how it works.
Key takeaways
- An AI software engineer is an agent that takes a whole task (a ticket), not a single prompt, and hands back a pull request.
- It works in a loop: read the codebase, plan, edit files, run the build and tests, fix what fails, then open the PR.
- 84% of developers now use or plan to use AI tools, but 46% distrust their accuracy (Stack Overflow, 2025). Review is still the job of a person.
- It does best on well-scoped tickets with tests. It struggles with vague specs, missing context and judgment calls.
- Treat it like a fast new hire: clear tickets, real tests, and a human who reviews and merges.
An AI software engineer is an AI agent that takes a whole piece of software work, usually a ticket, and returns a finished change. It reads the codebase, plans the change, edits the files, runs the build and tests in its own environment, fixes what breaks and opens a pull request. A person reviews it and decides whether it merges.
That's the short answer. The longer one matters more, because the label gets stuck on everything from a chat window to a fully autonomous bot. If you're deciding whether to bring one onto your team, you need to know what actually happens between "here's the ticket" and "here's the PR", and where it goes wrong.
The one-line definition
A useful test: what is the unit of work?
- An autocomplete tool works on the next few lines.
- A chat assistant works on one question.
- An AI software engineer works on one task, end to end, and is judged on whether the result passes tests and review.
Everything else follows from that. Because it owns a task, it needs its own workspace, a way to run your code, and a way to hand the result back without touching production. That hand-back is almost always a pull request, because the pull request is where software teams already do their quality control.
How an AI software engineer works, step by step
Most serious systems run the same loop. Here's what it looks like when YTS picks up a ticket.
1. Read the ticket and the codebase
It starts by reading the ticket, then the parts of the repository that matter: the files the ticket mentions, the code around them, the tests that cover them, the README and the build config. A human engineer does the same thing on day one of a new task. The difference is speed, not method.
2. Write a plan
Before touching code it writes down what it intends to change and why. This is the cheapest place to catch a misunderstanding. If the plan is wrong, you fix one paragraph, not three hundred lines of diff.
3. Make the change in its own environment
The agent edits files in an isolated copy of your project, not on your machine and never on a shared branch. It can install dependencies, run scripts and open a browser to check a page, the same way a developer would.
4. Run the build and the tests, then fix what fails
This is the step that separates an engineer from a code generator. It runs your test suite and the build, reads the failures and iterates until they pass. If there are no tests for the change, a good agent writes them.
5. Open a pull request
The output is a normal pull request: a branch, a description of what changed and why, and evidence such as test results. Your team reviews it like any other PR. Nothing reaches your main branch until a person merges it.
6. Leave a record
Every step above should be visible. YTS logs each plan, file change, test run and review on a timed record, and the live tracking board shows which agent is on which ticket right now. When a PR looks odd, you can see exactly how it got there.
What it is not
It is not autocomplete, and it isn't a chatbot with a bigger context window. We wrote a full comparison in AI coding agent vs AI coding assistant, but the short version is this: an assistant helps a developer write code faster, while an agent does the task and hands back a result for review.
It's also not a replacement for code review. That isn't a philosophical position. It's what the data says.
What the 2025 and 2026 data actually says
Adoption is nearly universal now. Trust is not.
- 84% of developers use or plan to use AI tools in their development process, up from 76% the year before (Stack Overflow 2025 Developer Survey (opens in a new tab)).
- 46% actively distrust the accuracy of those tools, while 33% trust it. Only 3.1% say they "highly trust" it (same survey).
- The top frustration, named by 66%, is AI output that is "almost right, but not quite". That's exactly the kind of bug that slips through a quick skim.
- 90% of respondents in Google's 2025 DORA research use AI at work. DORA also found AI adoption still has a negative relationship with software delivery stability (Google Cloud, 2025 (opens in a new tab)).
Agents specifically are still early. In the same Stack Overflow survey, 52% of developers either don't use agents or stick to simpler AI tools, and 14.1% use agents at work daily. GitHub reports its Copilot coding agent created more than 1 million pull requests between May and September 2025 (Octoverse 2025 (opens in a new tab)). So the PR-shaped workflow is real and growing fast.
There's one finding every buyer should know. In a July 2025 randomized trial, METR found experienced open-source developers took 19% longer to finish tasks when using AI tools, while still believing AI had sped them up by about 20% (METR, 2025 (opens in a new tab)). METR has since said the tools moved on and its newer data gives an unreliable signal (METR, 2026 (opens in a new tab)). The lesson still holds. Feeling faster is not a measurement. Count merged PRs and post-merge defects instead.
Where an AI software engineer does well
These tickets tend to go well:
- Bugs with a clear reproduction. "Clicking Save with an empty title throws a 500" is a perfect ticket.
- Small features with a clear finish line. A new field, a new endpoint, a new filter.
- Tests. Adding coverage to code that has none is tedious for people and ideal for agents.
- Upgrades and migrations. Bumping a framework version, replacing a deprecated API, moving config formats.
- Refactors with a fixed target. Rename, extract, split a file, without changing behaviour.
The common thread is that each one has a checkable "done". If the tests can say yes or no, the agent can loop until yes.
Where it struggles
- Vague tickets. "Make onboarding better" has no finish line, so the agent invents one.
- Missing context. Business rules that live only in someone's head. Tribal knowledge about why a weird check exists.
- No tests, no build script. If your project can't be built and tested from the command line, the agent can't verify its own work.
- Judgment calls. Product trade-offs, security posture, what to cut. These belong to people.
- Security-sensitive code. In Veracode's 2025 testing (opens in a new tab), 45% of AI-generated code samples introduced an OWASP Top 10 vulnerability. Anything near auth, payments or user data needs a careful human review.
Benchmarks: useful, but read them carefully
You'll see agents ranked on SWE-bench Verified, a set of 500 real GitHub issues that humans checked for fair grading (SWE-bench (opens in a new tab)). It's a fair signal of raw ability on open-source Python repos. It is not a measure of how an agent does in your codebase, with your conventions and your missing docs. Run a two-week pilot on your own backlog before trusting any leaderboard.
How teams actually use one
The teams that get the most out of an AI software engineer treat it like a very fast new hire:
- Write tickets a newcomer could finish. Goal, acceptance criteria, the files involved, how to test it.
- Keep tests green and runnable. Your test suite is the agent's eyes.
- Start with the boring backlog. Bugs, tests, upgrades. Earn trust before handing over features.
- Review every PR like a teammate's. We wrote a checklist for reviewing AI-generated pull requests you can use from day one.
- Measure outcomes. Time from ticket to merge, review rounds, bugs after merge.
If your team doesn't have review capacity, that's the real bottleneck, not the agent. It's why YTS offers YTS Review, where a senior engineer from our team reviews every PR before it reaches you.
The bottom line
An AI software engineer is worth having when three things are true. The work is well scoped. Your code can be built and tested automatically. And a person still owns the merge. Get those right and it clears the tickets that sit in "next sprint" for months.
YTS is built that way. It plans, codes and tests in its own environment, and it never merges on its own. You can see how it works or watch it pick up a ticket on the live board.
Frequently asked questions
Is an AI software engineer the same as GitHub Copilot autocomplete?
No. Autocomplete suggests the next lines while you type. An AI software engineer takes a whole ticket, works on it in its own environment, runs the tests and opens a pull request for your team to review.
Will an AI software engineer replace developers?
Not in the way the headlines suggest. It removes the typing and a lot of the waiting, but someone still has to write a good ticket, review the pull request, decide what ships and own the result in production.
What kind of tickets suit an AI software engineer best?
Well-scoped work in a codebase that builds and tests from the command line: bug fixes with a clear reproduction, small features, test coverage, dependency upgrades, refactors and migrations with a clear before and after.
Can an AI software engineer merge code to production on its own?
It shouldn't, and YTS never does. YTS only opens pull requests. A person on your team reviews and merges every change.
How do you measure whether it is actually helping?
Track tickets closed, time from ticket to merged pull request, review rounds per PR and defects found after merge. Don't rely on how fast it feels. In METR's 2025 study, developers believed AI sped them up even when the measured result was slower.
Sources
- Stack Overflow 2025 Developer Survey: AI (opens in a new tab), Stack Overflow, 2025
- Measuring the impact of early-2025 AI on experienced open-source developer productivity (opens in a new tab), METR, July 10, 2025
- Uplift update (opens in a new tab), METR, February 24, 2026
- Announcing the 2025 DORA report (opens in a new tab), Google Cloud, September 24, 2025
- 2025 GenAI Code Security Report (opens in a new tab), Veracode, July 30, 2025
- SWE-bench Verified (opens in a new tab), SWE-bench
- Octoverse 2025 (opens in a new tab), GitHub, October 28, 2025