CodeGPT
An AI-powered code assistant plugin for JetBrains IDEs (rebranded as ProxyAI) that supports multiple LLMs with custom API keys for code suggestions, debugging, and refactoring.
Last verified:
What is CodeGPT?
CodeGPT is an AI-powered coding assistant that integrates directly into JetBrains IDEs (including IntelliJ IDEA, PyCharm, WebStorm, and all other JetBrains development environments). The plugin brings large language models like GPT-3.5 Turbo, GPT-4, Claude 3, Code Llama, and others into your coding workflow, allowing you to chat with AI, generate code, explain code, debug issues, and create custom prompts without leaving your IDE.
Key features include Ask ChatGPT for asking anything, concurrent conversations across multiple tabs, conversation history with session restoration, predefined actions for creating custom code actions, custom prompts for selected code, stop/regenerate response capabilities, chat with multiple files, method name suggestions, commit message generation, and support for multiple AI providers including OpenAI, Anthropic, Azure, Mistral, and locally hosted models. The plugin also offers privacy settings and works offline with local models.
CodeGPT is designed for software engineers, development teams, and anyone using JetBrains IDEs who wants AI-powered coding assistance. It serves individual developers looking to streamline their workflow as well as enterprise teams needing collaborative AI tools with internal documentation access and shared AI assistants across organizations.
CodeGPT pricing
Pricing model: Free
CodeGPT offers a free tier with no credit card required to start. The plugin itself is free to download from JetBrains Marketplace. Users can use their own API keys from OpenAI, Anthropic, Azure, or other providers, meaning costs depend on the provider's pricing. For enterprise solutions, custom pricing is available by contacting sales. The free tier allows access to the plugin features while paying providers separately for API usage. This pay-per-use model avoids flat monthly subscriptions and aligns costs with actual usage.
CodeGPT pros
- Access to multiple state-of-the-art LLMs including GPT-4, Claude 3, and Code Llama
- Works with all JetBrains IDEs including IntelliJ, PyCharm, WebStorm, and Rider
- Concurrent conversations allow chatting in multiple tabs simultaneously
- Conversation history with session restoration to pick up where you left off
- Custom prompts for selected code with previous prompt memory
- Predefined actions let you create custom code actions or override existing ones
- Stop and regenerate response features for control over AI generation
- Chat with multiple files for repository-level understanding
- Method name suggestions to speed up coding
- Automated commit message generation
- Support for OpenAI, Anthropic, Azure, Mistral, and other providers
- Option to connect to locally hosted models for offline privacy
- No credit card required to start using the platform
- Custom AI assistant creation with marketplace options
- Team collaboration features including shared assistants and internal documentation
CodeGPT cons
- Requires API key configuration from OpenAI or other providers
- GPT-4 access requires waitlist approval process
- Learning curve for mastering custom AI assistant creation
- Limited comprehensive guides for advanced features
- Newer platform competing with established alternatives like GitHub Copilot
- Does not have an apply button like Cursor's Apply function
- Requires authentication via provider API keys for most models
- May take time to fully master creating and managing custom assistants
Frequently asked questions about CodeGPT
What is CodeGPT and what does it do?
CodeGPT is an AI-powered coding assistant that integrates into JetBrains IDEs and other development environments. It combines Large Language Models with intuitive tools to help developers write better code faster through chat functionality, code generation, code explanation, debugging assistance, and custom prompt creation.
Which JetBrains IDEs does CodeGPT support?
CodeGPT supports all JetBrains IDEs including IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, RubyMine, Rider, Android Studio, and more. You can install it directly from the JetBrains Plugin Marketplace by searching for 'CodeGPT' in the Plugins screen.
How do I configure CodeGPT after installation?
After installing the plugin, navigate to File | Settings/Preferences | Tools | CodeGPT. In the settings panel, click on the API key field, paste your API key obtained from OpenAI or another provider website, and click Apply/OK. You can also configure custom OpenAI services with different URLs and model settings.
What AI models are available in CodeGPT?
CodeGPT supports multiple models including Chat Completion models (GPT-3.5 Turbo as default, GPT-4.0 with waitlist approval), Text Completion models (Davinci as default, Curie, Babbage, Ada), and also supports Claude 3, Code Llama, and models from Anthropic, Azure, and Mistral providers.
Is CodeGPT free to use?
The CodeGPT JetBrains plugin is free to download and use. However, you need your own API key from OpenAI or other providers, and costs depend on the provider's pricing. There's no credit card required to start, and the pay-per-use model means you only pay for actual API usage rather than a flat monthly subscription.
Can I use CodeGPT offline or without API keys?
Yes, CodeGPT supports connecting to locally hosted models for a completely offline and transparent development experience. This allows you to use the plugin without external API keys while maintaining privacy, though you'll need appropriate hardware to run local models.
How does CodeGPT differ from GitHub Copilot?
CodeGPT gives users more control over AI models and prompts, plus the ability to create custom AI assistants and integrate with multiple platforms beyond coding environments including Discord, Slack, and MS Teams. It also supports multiple AI providers rather than being limited to one.
What are custom prompts and predefined actions?
Custom prompts let you create personalized prompts for your selected code, with the previous prompt remembered for subsequent questions. Predefined actions allow you to create your own code actions or override existing ones, saving time when rewriting the same prompts repeatedly for tasks like refactoring and optimization.
Can teams collaborate using CodeGPT?
Yes, teams can share AI assistants within organizations, access internal documentation easily, and collaborate through various integrated platforms like Slack, Discord, and MS Teams. CodeGPT includes organization management features for enterprise solutions with custom AI integration.
Does CodeGPT have an apply function like Cursor?
The original CodeGPT plugin does not have an apply button like Cursor's Apply function. However, CodeGPT recently introduced an 'Auto Apply' feature that enables instant code edits via chat, allowing you to specify changes and generate implementation to approve or decline, accessible to everyone without requiring an account.