AI GLOSSARY · CODING AGENTS AND CODING TOOLS
AI pair programming
Definition
AI pair programming is working on code alongside an AI tool that suggests, explains and reviews code while you write it, the way a human partner would, with the person still deciding what goes in.
Also called: AI pair programmer, pair programming with AI, AI pair programming tools, pair programming AI.
In plain language
Pair programming normally means two people at one keyboard, one writing and one watching and questioning. In AI pair programming the second seat is an AI tool. It suggests the next lines as you type, answers questions about the code in a chat panel, and can look over a change and point out problems. You stay the driver: you accept, change or reject what it offers. Like a human partner it can be wrong, and it does not know your project's history unless it is shown the files. Accepting suggestions without reading them is the main risk. Some tools also carry a monthly or per-use cost, depending on the plan.
Technical definition
AI pair programming usually runs inside an editor or terminal. The tool sends the surrounding code and your request to a language model, which returns a completion, an answer or an edit that you review and apply. GitHub's documentation says Copilot suggests code as you type and can answer questions about files and repositories, and that available features depend on your plan, client and organization's policies. A 2023 arXiv paper by Peng and colleagues, a controlled experiment with developers, calls GitHub Copilot an AI pair programmer. The term differs from agentic modes, where the tool acts across several steps: in pairing, the person normally keeps the keyboard and the pace.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Coding tool · Illustrative, not executed
GitHub Copilot
- What you see
- According to GitHub's documentation, Copilot suggests code as you type, answers questions about files, repositories and development concepts, and can review code. You review and apply each suggestion.
- Why it exercises the concept
- The documentation describes the suggest, answer and review roles that a pairing partner plays, in the editor where you are writing.
Skill by Jesse Vincent · Illustrative, not executed
requesting-code-review 31/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A request for a review of finished work against the requirements before merging.
- Why it exercises the concept
- It models the reviewing half of pairing: a second reader checks finished work against what was asked, before it is merged.
Skill by Matt Pocock · Illustrative, not executed
tdd 30/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A feature built or a bug fixed test-first, in a red, green, refactor loop.
- Why it exercises the concept
- Test-first work gives a pair a shared rhythm of one failing test, then one change to pass it, so the person can read each small step.
Guide · Illustrative, not executed
AI Coding Assistant vs Coding Agent: What Each Can Change
- What you see
- A comparison of autocomplete, chat and an agent by what each may change, so you can tell when a pairing tool becomes one that acts on its own.
- Why it exercises the concept
- It marks the boundary between pairing, where you apply changes yourself, and an agent that edits files and runs commands.
How it shows up when you use agents
With a tool like GitHub Copilot, pairing happens in the editor: it offers completions while you type, and you ask the chat panel about a function or an error. You decide what to accept. With a terminal tool such as Claude Code you can also work in a pairing style, by asking for one small change at a time and reading each diff before the next request.
What breaks when it is misunderstood: accepting suggestions you have not read, so mistakes enter the code under your name, or expecting the partner to remember decisions from an earlier session. A large language model sees what is put in front of it, which is why instruction files and pointing it at the right files matter.
Next action: pick one habit from the example cards. Ask for a review of finished work with requesting-code-review, or work test-first with tdd, so a failing test, not a confident-sounding answer, tells you whether the change is right. When the tool starts editing many files and running commands on its own, you have moved from pairing toward a coding agent.
Common confusions
- AI pair programming versus a coding agent. In pairing, the person keeps the keyboard and applies each change. A coding agent takes a goal and acts across files and commands. See Coding agent.
- AI pair programming versus vibe coding. Pairing assumes you read and judge the code the partner offers. Vibe coding is usually described as accepting the output without close review. See Vibe coding.
- AI pair programming versus human pair programming. See Context window for what the AI partner can see.
- Myth. A suggestion that compiles is correct. The tool can produce code that runs and is still wrong, and tests and review are how you find out.
Related terms
Terms that mention AI pair programming
1 terms mention this one
More in Coding agents and coding tools
Sources
- About GitHub Copilot, GitHub (accessed 2026-11-24)
- The Impact of AI on Developer Productivity: Evidence from GitHub Copilot, arXiv (Peng et al.) (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (2)
- : First version.
- : Verifier pass: replaced unsourced context claims with a link.