Code Generation
AI generates, explains, refactors, and tests code inside software development workflows.
Business impact
- coding productivity — AT&T reported coding-productivity gains averaging between 25% and 50%.
- development effort — Accenture said Amazon CodeWhisperer reduced development effort by up to 30%.
- pull request velocity — Microsoft’s field experiment found 12.92% to 21.83% more pull requests per week.
- acceptance rate for AI-generated code — AMD reported acceptance rates in some projects over 50%.
- time to production — Zillow reported code reaching production about 40% faster than in the past.
Data requirements
- source code (text) — Existing repository code gives the model context for edits and completions.
- software requirements and prompts (text) — Natural-language instructions describe the code to produce or change.
- documentation and API references (text) — Docs and APIs help the model generate code that fits the system.
- test and build feedback (text) — Execution results and failures help refine generated code.
AI methods and techniques
- code generation — The system drafts new code from prompts or specifications.
- code completion — The system suggests continuations while developers type.
- test generation — The system writes or helps write tests for the code being developed.
- refactoring — The system suggests revisions and rewrites for existing code.
- code explanation — The system explains codebases and existing code to developers.
- retrieval-augmented generation — Some implementations ground generation in private codebases and documentation.
AI models and model families
Claude Code, GitHub Copilot, Cursor, Gemini Code Assist, Amazon CodeWhisperer
Industries
Real-world evidence
70 documented case studies on record.
Companies using this: AT&T, Accenture, Adobe, AMD, Airbnb, Amazon, American Express, Atlassian, Autodesk, BMW, Baidu, Bank of America, Barclays, CNH Industrial, Capgemini and 55 more.
View the full profile with evidence, implementation detail, and comparison tools
Explore full use case →
Explore full use case →