Skip to content

UltraCodeAI is an innovative AI-powered IntelliJ plugin that transforms coding with seamless assistance. It supports local/cloud LLMs like Ollama, OpenAI, and Groq for context-aware prompts, auto code error analysis, and RAG-enhanced insights. Features includes tabbed UI for chat, diagnostics, and recommendations; hover explanations; design pattern

License

Notifications You must be signed in to change notification settings

vishnupriyanpr/UltraCodeAI

Repository files navigation

ULTRACODEAI - IntelliJ AI Assistant (Ultra-fast, Local + Cloud LLMs)

An IDE-first AI copilot for IntelliJ IDEA with chat, diagnostics, and project-aware insights.

Built on - Python Built with Java17 UI License


πŸš€ Overview

UltraCodeAI is an IntelliJ IDEA plugin that embeds an AI coding copilot directly in the IDE:

  • Multi-model chat with streaming responses
  • Real‑time Diagnostics tab powered by IntelliJ inspections
  • Project‑aware Insights (RAG-ready structure)
  • One clean, native, tabbed tool window: Chat β€’ Diagnostics β€’ Insights

It works with both local models (privacy-first) and cloud models (frontier capabilities), and is built 100% in Java for deep IntelliJ integration.


🌟 Key Features

Feature Description
πŸ€– Unified Chat UI A single, tabbed interface for AI chat, code diagnostics, and project insights. No more cluttered windows.
πŸ”Œ Multi-LLM Support Connect to local LLMs for privacy or cloud LLMs for power. Switch between them effortlessly.
⚑ Streaming Responses Get token-by-token responses for a real-time, interactive chat experience.
πŸ” Live Code Diagnostics The "Diagnostics" tab automatically analyzes your open file, providing AI-powered explanations and fixes for errors and warnings.
πŸ’‘ Hover-to-Explain Simply hover over any piece of codeβ€”a variable, function, or classβ€”to get an instant AI-generated explanation.
🧠 Context-Aware Prompts Easily add files, directories, or code snippets to your prompt context. The AI knows what you're working on.
πŸ› οΈ RAG-Enhanced Insights Built with a Retrieval-Augmented Generation architecture to provide project-aware insights and more accurate answers.
🎨 Native Look & Feel A beautiful UI built with JetBrains Swing components that respects your IDE theme and feels like a part of IntelliJ.

Folder hints (typical layout):

UltraCodeAI πŸ“‚/
β”œβ”€β”€ .gradle πŸ“‚/                  
β”œβ”€β”€ .idea πŸ“‚/                    
β”œβ”€β”€ gradle πŸ“‚/                   
β”œβ”€β”€ src πŸ“‚/
β”‚   β”œβ”€β”€ main πŸ“‚/
β”‚   β”‚   β”œβ”€β”€ java πŸ“‚/
β”‚   β”‚   β”‚   └── com πŸ“‚/
β”‚   β”‚   β”‚       └── ultracodeai/
β”‚   β”‚   β”‚           β”œβ”€β”€ action/             # IntelliJ actions (e.g., menu items, toolbar buttons)
β”‚   β”‚   β”‚           β”œβ”€β”€ ui/
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ toolwindow/     # UI for tool windows
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ panel/          # Reusable UI panels
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ settings/       # Settings UI
β”‚   β”‚   β”‚           β”‚   └── component/      # Reusable UI components
β”‚   β”‚   β”‚           β”œβ”€β”€ service/            # Core business logic
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ chatmodel/      # Abstraction for AI providers (e.g., OpenAI, Ollama)
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ prompt/         # Prompt generation & execution
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ diagnostics/    # Live analysis services
β”‚   β”‚   β”‚           β”‚   β”œβ”€β”€ rag/            # Retrieval Augmented Generation services
β”‚   β”‚   β”‚           β”‚   └── util/           # General utility classes
β”‚   β”‚   β”‚           β”œβ”€β”€ listener/           # Event listeners
β”‚   β”‚   β”‚           └── model/              # Data models
β”‚   β”‚   └── resources πŸ“‚/
β”‚   β”‚       β”œβ”€β”€ META-INF/
β”‚   β”‚       β”‚   └── plugin.xml          # Plugin descriptor file
β”‚   β”‚       └── icons/                  # Plugin icons
β”‚   └── test πŸ“‚/
β”‚       └── java/
β”‚           └── com/
β”‚               └── ultracodeai/
β”œβ”€β”€ build.gradle              # Gradle build script
└── README.md                 # Project README file

πŸ“¦ Installation

From source:

  git clone [https://github.com/vishnupriyanpr/UltraCodeAI.git](https://github.com/vishnupriyanpr/UltraCodeAI.git)
  cd UltraCodeAI
  ./gradlew buildPlugin

Install into IDE:

  • Open IntelliJ β†’ Settings β†’ Plugins β†’ Install from Disk
  • Select zip from build/distributions/ Dev run:
  ./gradlew clean
  ./gradlew buildPlugin

Requirements:

  • IntelliJ IDEA 2023.3.4+ recommended
  • Java 17+

πŸš€ Features & Tech


Configuration & Setup πŸ› οΈ

  • Settings: UltraCodeAI β†’ provider selection (local/cloud) β†’ API keys β†’ appearance/cost/context preferences β†’ MCP/Web Search/RAG toggles
  • Access: : View β†’ Tool Windows β†’ UltraCodeAI

Core Usage 🎯

Chat: Open tool window β†’ type prompt + code context β†’ real-time streaming
Context: Right-click files β†’ "Add To Conversation" β†’ directory/token calculation
Diagnostics: Auto-populate from IntelliJ analyzer β†’ click navigation
Insights: RAG-powered contextual recommendations


Architecture Components 🏒

  • UltraCodeAIToolWindowFactory:** 3-tab UI + Chat send-button β†’ PromptExecutionService.executePrompt()
  • PromptExecutionService: Command processing β†’ strategy selection β†’ execution β†’ cancellation β†’ cleanup
  • ResponseListener:** onTokenReceived + onComplete interface
  • UltraCodeAIDiagnosticsService: IntelliJ daemon analyzer β†’ Diagnostics tab callback

Extension Points πŸ”—

Providers: Custom local/cloud services (chatmodel/) - Strategies: New PromptExecutionStrategy variants - RAG: Indexer/retriever for Insights - WebView: JCEF/HTML+Prism rendering - Actions: Editor/project context integration


Roadmap πŸ—ΊοΈ

Click-navigate diagnostics - AI fix suggestions - Rich JCEF chat rendering - Provider presets - Smart model recommendations - Full RAG + local embeddings


🀝 Contributing

PRs welcome! Suggested flow:

  1. Fork and branch: feature/<name>
  2. Code + tests
  3. ./gradlew buildPlugin
  4. Open PR with a clear description and screenshots/GIFs for UI changes shrink it to 3topics and give me it into 3 topiccs

πŸ“œ License

MitLicense-2.0 (see LICENSE in the repo)


πŸ™Œ Acknowledgments & Core Team

This project is crafted with passion by MeshMinds. We are deeply grateful to our core contributors who poured their expertise and dedication into building UltraCodeAI from the ground up.

Vishnupriyan P R
Vishnupriyan P R
Sanjit M
Sanjit M
Vivek K K
Vivek K K
Akshaya K
Akshaya K

Crafted with passion and Java by the MeshMinds team

About

UltraCodeAI is an innovative AI-powered IntelliJ plugin that transforms coding with seamless assistance. It supports local/cloud LLMs like Ollama, OpenAI, and Groq for context-aware prompts, auto code error analysis, and RAG-enhanced insights. Features includes tabbed UI for chat, diagnostics, and recommendations; hover explanations; design pattern

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5