Codex is a language model trained on natural language and billions of lines of source code to generate and assist with programming. It powered the original GitHub Copilot and supports multiple programming languages and code-related tasks. section 5.1.3 section 2.1
Codex supports programming assistance through:
- Generating code from natural-language prompts and surrounding code context. section 5.1.3
- Supporting languages including C#, Java, Python, JavaScript, SQL, Go, PHP, and Shell. section 2.1
- Enabling completion workflows that can fill missing code between existing content through fill-in-the-middle generation. section 5.1.3
- Helping with legacy-code understanding and unit-test generation through richer developer interactions. section 5.1.3
Figure 5.7 Copilot completion lifecycle
The completion lifecycle shows how Copilot combines prompts, the active code file, open tabs, and broader solution context before generating suggestions. section 5.1.3
Codex is now deprecated and retired; its learnings have been incorporated into mainline GPT models, while newer Copilot Chat versions use newer models. section 5.1.3

