Gartner defines AI code assistants as tools that assist in generating and analyzing software code and configuration. The assistants use foundation models such as large language models (LLMs) that have been optionally fine-tuned for code, or program-understanding technologies, or a combination of both. Software developers prompt the code assistants to generate, analyze, debug, fix, and refactor code, to create documentation, and to translate code between languages. Code assistants integrate into developer tools like code editors, command-line terminals and chat interfaces. Some can be customized to an organization’s specific codebase and documentation.