AI Coding Basics

The Rise Of Generative AI In Software Development

The Rise Of Generative AI In Software Development

DORA’s 2025 survey of nearly 5,000 technology professionals found that 90% use AI at work. Another number from the same survey is less comforting, since 30% report little or no trust in the code it generates.

The tools behind those numbers are large language models that write, explain, test, and review code from natural-language prompts and repository context. Most people meet them as inline autocomplete or a chat assistant, and more and more as coding agents that edit files and run commands.

The same report ties AI adoption to higher delivery throughput and, still, to lower delivery stability. Which of the two a team feels more depends on how much testing and review capacity it has.

What Is Generative AI in Software Development?

Tools built on large language models now write code, tests, documentation, and review comments from natural language prompts and the files around them. Plenty of people shorten the whole practice to AI coding.

Under the hood, a large language model learns to predict what comes next in a sequence. Coding models learn that from huge collections of source code in many programming languages.

OpenAI’s Codex was an early example. It was a GPT model fine-tuned on public GitHub code, and a separate production version ran inside GitHub Copilot.

You give the tool a prompt, the open file, and some surrounding project context. It gives back suggestions, bug fixes, documentation, refactors, tests or review comments, depending on what you asked for. The limit is the context window, which caps how much the model can read at once.

Tools work around that cap with retrieval-augmented generation, which pulls the most relevant files and symbols from the codebase into the prompt before the model answers.

Linters and static analyzers only check code against fixed rules. A generative model writes new code instead, and that is also how it ends up writing it wrong.

Because the output is statistical, code that looks right and isn’t comes with the territory. Stack Overflow’s 2025 survey put “almost right” output and debugging AI code at the top of developers’ frustrations.

How Did Generative AI Become Part of Everyday Development?

It started with autocomplete in the editor. Interactive agents that work across several files came next, and the newest tools are autonomous agents that take a task and return finished changes. NBER’s 2026 working paper on AI coding tools sorts them the same way.

Autocomplete, chat and agents

  • In June 2021, Copilot opened as a technical preview, running on Codex.
  • It became generally available to individual developers in June 2022.
  • Anthropic open-sourced the Model Context Protocol on November 25, 2024.
  • On February 2, 2025, Andrej Karpathy posted the idea of vibe coding.

GitHub Copilot led that first wave. It lived inside the editor and behaved like a smarter IntelliSense, and it shipped for Visual Studio Code, Visual Studio 2022, Neovim and the JetBrains IDEs.

Interactive agents followed. If you want a snapshot of that generation, METR’s 2025 trial is a decent one, since its participants worked mainly in Cursor Pro with Claude 3.5 and 3.7 Sonnet.

OpenAI brought the Codex name back in May 2025 for a cloud-based software engineering agent that works on many tasks in parallel. So one product name now stretches from the first generation to the third.

Agents need more context than the open file, which is the gap MCP was built for. Block and Apollo integrated it early. Zed, Replit, Codeium and Sourcegraph started working with it so agents could pull in context around a coding task.

Karpathy’s version was to forget the code even exists. That sits at the far end of the autonomy range, and vibe coding, as it came to be called, is now shorthand for building by prompt while reading very little of the code.

How coding benchmarks changed

Benchmarks moved from single functions to whole repositories.

HumanEval arrived with the Codex paper in July 2021. It measures functional correctness, meaning whether a model can write a working program from a docstring.

SWE-bench came out in October 2023 and works differently. It hands an AI system a real GitHub issue, then checks whether the system’s edits to the codebase make the issue’s tests pass. The set holds 2,294 task instances from 12 popular Python repositories.

When it launched, state-of-the-art models resolved only the simplest issues. Twelve Python projects are also a narrow slice of real software, so a high score there says less than it sounds like.

METR notes that benchmark properties can lead to overestimates of AI capability, and that benchmarks, anecdotes, and its own trial give partially contradictory answers. That’s a fair reason to hold any leaderboard number loosely.

Which Stages of the Software Development Lifecycle Does Generative AI Change?

YouTube player

Pretty much every stage now has some AI in it, from requirement gathering through coding and testing. The strongest evidence, though, covers writing code.

  • Planning and design work includes drafting a project plan from a problem description and sketching an architecture such as microservices.
  • For writing code, tools offer suggestions and entire functions built from prompts and existing code.
  • Testing gets generated test cases that check human-written code.
  • Review and debugging means flagging bugs or security flaws before code reaches source control, and proposing fixes.
  • Documentation drafts follow whatever format is required.

Test generation shows the pattern most clearly. A model reads a function and drafts unit tests for its branches. Whether the assertions check the right behavior is still a human call.

Refactoring splits the same way. The model proposes a restructure, and the existing tests tell you whether behavior survived.

The randomized trials covered later in this article measure coding tasks. DORA’s 2024 findings on review processes and internal documentation come from a global practitioner survey, so they show association, not a controlled comparison.

How Many Developers Use Generative AI Tools?

YouTube player

In Stack Overflow’s 2025 Developer Survey, 84% of respondents said they use or plan to use AI tools, up from 76% in 2024.

Trust went the other direction. 46% said they do not trust the accuracy of the output, against 31% a year earlier.

The 84% needs a few caveats. It includes respondents who do not use AI tools yet but plan to soon. Survey answers also record perception, and METR’s randomized trial found developers believed AI had saved them time when the clock showed the opposite. Vendor figures count differently again, since GitHub’s 2022 share-of-code claim for Copilot counted only files where Copilot was enabled.

Agents trail general use, since daily agent use at work remains limited in the same survey.

High use paired with low trust pushes the risk onto the review step.

Does Generative AI Make Developers More Productive?

YouTube player

It depends on the task and on what you measure. Trials on everyday tasks show gains, while a trial on experienced maintainers in mature repositories shows a slowdown, and delivery-level data suggests whatever gain exists thins out before a release ships.

  • Cui et al. (Management Science, 2025) found 26.08% more completed tasks across three company field experiments.
  • METR (July 2025) measured tasks taking 19% longer when experienced developers were allowed to use AI.
  • In DORA’s 2024 data, each 25% increase in AI adoption came with an estimated 1.5% drop in delivery throughput and a 7.2% drop in stability.
  • NBER Working Paper 35275 (2026) looked at autonomous coding agents and saw commits rise 240%, projects 80%, and actual releases 30%.

Studies that find gains

The strongest case for gains comes from experiments run inside companies. Microsoft, Accenture, and an anonymous Fortune 100 electronics manufacturer each gave a random subset of developers GitHub Copilot, an assistant that suggests code completions. Researchers then pooled the results.

At Microsoft the split between groups lasted seven months. At Accenture it lasted four.

Each experiment is noisy and results vary, yet the pooled data shows a clear gain.

Less experienced developers adopted the tool more often and gained more. The tool in these trials was code completion, so newer agent tools were not part of the test.

Studies that find no gain or a slowdown

METR set up a different test. It recruited 16 developers with about five years of experience, and they completed 246 tasks on their own mature projects, each task randomly assigned to allow or disallow AI.

Afterward the developers estimated that AI had cut their completion time. The clock showed otherwise.

METR states that it does not claim its setting represents all software engineering.

Google Cloud’s DORA program, which studies DevOps performance, found that AI adoption raises individual productivity and flow, along with job satisfaction, while hurting delivery stability and throughput. DORA’s own takeaway is that small batch sizes and solid testing still matter.

Why the results diverge

These studies disagree mostly because they measure different things in different settings.

StudySetting and toolWhat it measured
Cui et al.Microsoft, Accenture, Fortune 100 company; Copilot completionsCompleted tasks
METRExperienced maintainers, own repositories; Cursor Pro with Claude 3.5/3.7 SonnetTime per issue
DORA 2024Global practitioner surveyDelivery throughput and stability
NBER 35275GitHub developer telemetry; three tool generationsCommits, projects, releases

NBER’s data shows gains at early stages like writing code getting absorbed by human bottlenecks further along, in reviewing changes and launching apps. Faster output ends up queued behind the code review process, which the authors read as a weak-link effect.

The tool generation separates the studies too. The Copilot trials tested completion, METR tested early-2025 interactive tools, and NBER tracks all three generations.

Put together, the studies suggest autocomplete helps on bounded tasks, while experienced developers in familiar mature code may gain little or even lose time. Whatever gain exists at the task level shrinks by the time software ships.

The gain in code written looks solid. How much of it survives into shipped software is still being measured.

What Are the Code Quality and Security Risks of AI-Generated Code?

Repositories that take in AI code show less reuse and more duplication, and bigger models have not made the security flaws go away. Delivery also gets less stable once change volume outruns testing. The evidence behind each of these differs, and two of the strands come from analytics and security vendors.

Code quality and technical debt

YouTube player

GitClear’s 2025 analysis of 211 million changed lines found refactoring-associated changes falling from 25% of changed lines in 2021 to under 10% in 2024.

Copy/pasted lines passed moved lines for the first time in that dataset, which runs from January 2020 through December 2024.

Moved and refactored lines are the signature of code reuse. When they shrink while cloning grows, long-lived repositories collect technical debt faster and become harder to maintain.

One caveat on the source. GitClear sells a cloud-based code review tool, and its report does not establish that AI use caused these shifts.

Security flaws in generated code

Veracode’s 2025 GenAI Code Security Report tested more than 100 large language models on 80 curated coding tasks, each designed around a common weakness class from MITRE’s CWE list. Vulnerabilities showed up in 45% of cases, and security performance stayed flat regardless of model size or training sophistication.

The tasks were built to expose known weaknesses, so 45% is not a defect rate for production code. Veracode also recommends its own remediation tooling in the report, so weigh the framing as well as the number.

OWASP’s Top 10 for LLM Applications covers the wider attack surface. The 2025 edition, published in November 2024, lists improper output handling and excessive agency among its ten risks, and the 2026 edition keeps prompt injection first while excessive agency moves up, according to the Cloud Security Alliance and CSO Online.

Model output should be treated as untrusted input, so sanitize and type-check it, and test it before it merges. Excessive agency adds a second rule for agents. It comes from granting more functionality, permissions or autonomy than the task needs, so grant less.

Delivery stability

DORA’s 2025 report reversed one finding from 2024.

It found a positive relationship between AI adoption and delivery throughput, where the 2024 report had not, but AI adoption continues to relate negatively to delivery stability.

DORA’s mechanism is that AI accelerates development and exposes weaknesses downstream. Teams without strong automated testing and mature version control, or without fast feedback loops, see more change volume turn into more instability.

The controls that follow are not exotic. Run automated tests and static analysis before any AI-assisted change merges. Keep change batches small. I’d review authentication and input handling by hand every time. And track churn and duplication in your own repositories instead of leaning on vendor averages.

Some teams add AI-powered code review tools as a first pass over pull requests. A human still approves the merge.

When Does Generative AI Not Help Developers?

It helps least in mature repositories a developer already knows well. Tightly coupled systems with slow feedback get little out of it too, as do teams with weak tests and version control, and anywhere code cannot leave the network.

ConditionWhat goes wrongSource
Familiar mature repositoryTime moves from writing code to prompting and reviewing outputMETR, 2025 trial
Tightly coupled system, slow feedbackLittle or no benefit from AI adoptionDORA, 2025
Weak tests and version controlMore change volume turns into instabilityDORA, 2025
Code cannot leave the networkHosted tools are barred; a self-hosted option is requiredTabnine documentation

Does the 2025 slowdown still hold?

METR re-ran its experiment in late 2025, and the slowdown did not repeat. The result is also too noisy to call a speedup.

Across 57 developers, 143 repositories, and more than 800 tasks, returning developers took an estimated 18% less time with AI and new recruits 4% less. Both confidence intervals include zero.

METR doesn’t fully trust that number either. Developers who did not want to work without AI declined to take part, and participants held back tasks they would not want to do without AI. Pay was also lower than in the original study, which likely raised the opt-out rate.

METR calls the result very weak evidence of any change since early 2025 and says its estimates probably understate the speedup. So the two METR studies disagree, and the later one cannot settle it.

Treat the 2025 slowdown as a documented failure in one setting, not a general law.

Where cloud tools are barred

Some teams cannot send source code to a hosted service, and that rules out most of the market.

Tabnine’s documentation covers private installations in a virtual private cloud or on premises, and it includes an air-gapped deployment guide. It also says Tabnine does not train on customer code.

Check this before buying anything. If policy says code stays inside the network, the shortlist shrinks to tools with a self-hosted option.

Which Type of Generative AI Coding Tool Fits Which Job?

YouTube player

Autocomplete is enough for functions you are already writing. Multi-file edits you want to steer step by step suit an interactive coding agent, and well-specified tickets that tests can verify are where autonomous agents make sense.

CategoryExample toolsFits bestMain limit
AutocompleteGitHub Copilot, TabnineBoilerplate and functions in the open fileHelps only on code you are already writing
Interactive agentCursor, Amazon Q DeveloperMulti-file edits you steer and reviewTime shifts to prompting and checking output
Autonomous agentClaude Code, DevinTickets with tests that verify the resultChange volume can outrun review and testing

The lines blur in practice. GitHub’s Copilot Pro plan bundles unlimited completions with agent mode and a cloud agent, plus code review.

Published prices and access, November 2026

  • GitHub Copilot Pro costs $10 per user per month, Pro+ costs $39, and Max costs $100.
  • Cursor’s Premium plan is $30 per month, and third-party models are billed at API list price.
  • Amazon Q Developer Pro runs $19 per user per month, with a free tier that allows 50 agentic requests per month.
  • Claude Code access needs a Claude subscription or an Anthropic Console account, per Anthropic’s documentation.

These come from vendor pricing pages read in November 2026. Plans and credit systems change often, so confirm before buying.

Pros and cons of agentic tools

Agents are the most capable category and the riskiest. Anthropic’s documentation describes agentic coding as reading the codebase, then editing files across the project and running commands.

On the upside, agents work across multiple files and run tests. They open commits and pull requests, and they can run inside CI pipelines. Through the Model Context Protocol (MCP) they also reach Jira, Slack, or Google Drive.

The downsides are real too. An agent can end up with more permissions and autonomy than the task needs, which is the excessive agency problem. Change volume can outrun tests and review. Either way, the output gets the same scrutiny as any other pull request.

For work that stays inside one file, completion is enough. The agent tier adds review load for little gain on that work.

Gemini Code Assist and tool churn

Google ended new purchases of Gemini Code Assist Standard and Enterprise on October 9, 2026, and moved agentic coding assistance to Antigravity.

Existing standalone subscriptions stay supported until the end of their contracts. The Code Assist entitlement bundled into existing Gemini Enterprise Standard and Plus subscriptions ends on March 31, 2027, which makes contract length part of the tool decision. For the current field, see this roundup of AI code generation tools.

How Should a Team Roll Out Generative AI Tools?

YouTube player

Start small, write the policy before anyone buys anything, and put every AI-assisted change behind tests and review. DORA’s 2025 research lists a clear AI policy among seven capabilities that amplify AI’s benefits.

  1. Start with one team on one repository that has fast tests. DORA found that loosely coupled architectures and fast feedback loops gain from AI, while tightly coupled, slow systems see little or none.
  2. Decide which plan tier is allowed, who opts out of training, and what happens to suggestions that match public code.
  3. Pick the tool using the category table above, and read the contract terms.
  4. Set up shared context. Keep repository instructions in version control, and restrict agents by repository and MCP access (Cursor’s Enterprise tier lists repository, model, and MCP access controls).
  5. Gate the merge with required automated checks and a human reviewer on every AI-assisted pull request.
  6. Train the team on prompting, on reviewing generated code, and on the policy itself.

A merge gate works best as a required continuous integration check, with tests and static analysis running before a reviewer sees the change.

The common failure is individual adoption with no policy. Washington State University now bars personal Copilot plans on institutional code unless AI training is disabled and written approval is on file.

Data privacy and plan tier

  • Since April 24, 2026, interaction data from GitHub Copilot Free, Pro, and Pro+ users trains GitHub’s models unless the user opts out under Privacy settings. Business and Enterprise plans are exempt.
  • Cursor states that with Privacy mode on, code data is not used for training by Cursor or its model providers.
  • Amazon Q Developer Pro is automatically opted out of data collection, while the free tier offers an opt-out.

Personal and company plans carry different data terms, which is why the policy comes before the purchase.

Licensing and intellectual property

Copilot checks suggestions, with about 150 characters of surrounding code, against an index of public code on GitHub.com. Matches typically occur in less than one percent of suggestions, and when one does, Copilot shows the matching code along with its repositories and licenses.

Whether to allow those matches is a policy setting inherited from the organization or enterprise.

Indemnity differs by plan. GitHub lists no IP indemnity on any individual Copilot plan, while Amazon Q Developer Pro includes it.

On ownership, the US Copyright Office’s January 2025 report concluded that generative AI outputs are protected only where a human author determined sufficient expressive elements, and that providing prompts alone does not qualify.

The report covers AI outputs in general, so ask counsel how it applies to code your company needs to own. Fold that question into your existing software compliance review.

FAQ About Generative AI in Software Development

Will generative AI replace software developers?

No. None of the studies in this article measure job replacement, and the tools still need a person to specify the work, review the output, and own the result. DORA’s 2025 report describes AI as an amplifier of existing team practices, not a substitute for them.

Do junior developers benefit more than senior developers?

Seniority alone does not settle it. Familiarity with the codebase seems to matter more, since METR’s trials used experienced developers working in repositories they already knew well, and results there were mixed. Test the tools with both groups on your own code.

Which programming languages work best with AI coding tools?

No vendor publishes comparable per-language accuracy figures that hold up, so a ranking would be a guess. Run a small pilot on your actual stack with real tickets and existing tests, then compare accepted suggestions against the ones you rewrote.

Can generative AI build a whole application?

It can produce a working first version, and agentic tools edit files across a project, run commands, and open pull requests. The output still needs the same review and tests as any other change.

Large generated changes are where review load and instability grow fastest.

Does using AI coding tools weaken a developer’s skills?

No study cited here measures skill erosion, so treat it as an open question and not a settled finding. A practical safeguard is to keep manual review of generated code mandatory, and to have developers write core modules themselves from time to time.

How to Tell Whether Generative AI Improves Your Delivery

Record your own delivery baseline before rollout, then track throughput and stability together afterward. Published studies disagree on direction, so only a team’s own numbers settle the question for that team.

Baseline comes first, meaning lead time and change failure rate, because pre-rollout history cannot be rebuilt once the tool is in use. After that comes one tool on one repository, and a comparison once a full release cycle has passed.

DORA’s 2025 pairing of higher throughput with lower stability means a speed metric alone misleads. METR’s follow-up across 57 developers still produced intervals that included zero, so a ten-person pilot yields wider intervals and reads as a signal, not a verdict.

The cost of this approach is time, since a verdict takes at least one release cycle and the tool may change before it arrives. This position was verified in November 2026, and a vendor-independent trial with intervals that exclude zero would change it.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.