Blog post
Introducing IBM Granite.Code - Unlocking the Power of the Granite large language model
Accelerate software development tasks with AI-powered capabilities including context-aware code generation, explanation, documentation, translation, and unit test generationIBM Granite.Code offers developers a powerful AI coding companion in a single, lightweight extension. This companion is built to work with IBM's cutting-edge Granite Large Language Model (LLM) for code and is available at no charge for individual developers. IBM Granite.Code provides robust, context-aware AI support directly in the developer's environment.
Features and benefits of IBM Granite.Code
As a transformative tool for developers, IBM Granite.Code features comprehensive programming language support powered by IBM's Granite 8b code LLM with a context window size of 128K and trained on 116 languages, including Go, C, C++, Python, Java, JavaScript, TypeScript and more. With a flexible self-hosting option, developers can deploy the Granite LLM on their own workstation using Ollama, allowing for greater control and flexibility.
Granite.Code empowers developers by accelerating software development tasks with AI-powered capabilities, including context-aware code generation, explanation, documentation, translation, and unit test generation. Seamlessly integrated with the popular Visual Studio Code development environment, Granite.Code offers real-time code assistance with its integrated chat interface and intelligent code completions in the code editor. Developers benefit from instant feedback, error detection, and improvements, with support for single-line, multi-line, and comment-to-code completions, making it an essential tool for optimizing coding workflows.
See Granite.Code in action
See these great features in action:
- Code generation using integrated chat
- Code explanation using integrated chat
- Comment-to-code in the editor
- Single-Line code completion in the editor
- Test case generation using integrated chat and file referencing
- Code translation using integrated chat and file referencing
Code Generation using Integrated Chat

Code Explanation using Integrated Chat

Comment-to-Code in Editor

Single-Line Code Completion in Editor

Test Case Generation using Integrated Chat and File Referencing

Code Translation using Integrated Chat and File Referencing

Try IBM Granite.Code today!
Are you ready to experience the power of AI-driven coding using the Granite code model? Download the IBM Granite.Code extension for Visual Studio Code to unlock its full potential.