concept

AI pair programming

AI pair programming is the practice of working alongside an AI coding assistant continuously — sharing intent, reviewing suggestions, accepting / rejecting / refining — instead of using AI for occasional one-off tasks.

AI pair programming emerged from GitHub Copilot's autocomplete-first model and matured in 2024-2026 with chat-driven assistants (Cursor, Cline, Windsurf, Claude Code). The practice: maintain a conversation with the AI about what you're building, share files and errors, accept good suggestions and refine bad ones, treat the AI like a junior pair who needs context. Engineers who internalised this practice report 30-50% productivity gains on greenfield work. Where it underperforms: codebases with strong local conventions the AI doesn't know, edge cases the AI hasn't seen, refactors requiring deep system understanding.

When to use ai pair programming

Common mistakes

FAQ

What is ai pair programming?

AI pair programming is the practice of working alongside an AI coding assistant continuously — sharing intent, reviewing suggestions, accepting / rejecting / refining — instead of using AI for occasional one-off tasks.

When should I use ai pair programming?

Greenfield development. Boilerplate-heavy work. Routine refactoring and test writing.

What are the most common mistakes with ai pair programming?

Accepting AI suggestions without reading them — quality varies. Skipping verification because AI 'sounded confident'.

Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/ai-pair-programming.md.