Anahata ASI Studio - IntelliJ
IntellijAsiContainer and its native IntelliJ toolkits are currently in Beta stage. Curious enthusiasts are encouraged to check out the sources, try the latest snapshot builds, and share their enthusiasm with Arslan on the Anahata Discord.
Downloads & Official Update Repositories
Choose your preferred channel: configure our Custom Plugin Repository in IntelliJ IDEA to receive 1-click automatic updates, or download standalone .zip distribution archives.
https://asi.anahata.uno/intellij/plugins.xml
Multi-IDE Parity with NetBeans
The anahata-asi-intellij module provides complete feature parity with NetBeans ASI Studio. Powered by IntelliJ's Program Structure Interface (PSI), Virtual File System (VFS), and OpenAPI refactoring engines, Anahata operates natively inside JetBrains IDEs without external Node.js bridges or electron overlays.
WriteCommandAction with 100% undo/redo fidelity and comment preservation.DumbService so background AI execution threads never throw IndexNotReadyException or return stale PSI elements.IntelliJ Native Architecture Highlights
DiffRequestPanel. Features overlaid comic-style speech bubbles on the gutter and full two-way write-back so developers can tweak proposed code in PENDING state before execution.● AGI markers and adds per-session context curation popup menus to the Project explorer.How to Install the IntelliJ Plugin
You can install Anahata ASI in IntelliJ IDEA, Android Studio, or any JetBrains IDE via our Custom Repository (recommended for 1-click updates) or directly from disk:
Method A: Via Custom Plugin Repository (Recommended)
https://asi.anahata.uno/intellij/plugins.xml (or dev-plugins.xml for dev snapshots), then click OK.Method B: Manual Install from Disk (.zip)
.zip file, click OK, and restart the IDE. The Anahata ASI tool window will appear in your right-hand sidebar!IntellijJava Toolkit (1 Tool)
An IntelliJ-aware JIT compilation engine that compiles and executes model-generated Java code against the project's live OrderEnumerator classpath with child-first classloader prioritization.
Compiles and runs Java scripts against an open project's compiled module outputs and dependencies.
BatchCodeRefiner Toolkit (1 Tool)
Advanced structural Java refinement engine utilizing PSI AST-guided batch operations. Injects, updates, deletes, or moves entire class members atomically within a single undoable write command.
Executes an atomic batch of structural member modifications on a Java source file and returns a unified diff.
CodeRefiner Toolkit (4 Tools)
AST-based maintenance operations for Java files: structural import insertion, import optimization, IDE reformatting, and member annotations.
Structurally adds imports by resolving FQNs against the project classpath.
Shortens FQNs to simple names and cleans up unused imports.
Reformats a file using the project's active IDE code-style rules.
Adds an annotation to a class, method, or field identified by its canonical FQN.
CodeModel Toolkit (16 Tools)
High-performance PSI type index exploration: type discovery, member browsing, source retrieval, Javadoc inspection, and hierarchy resolution.
Index-based search across all open projects (IntelliJ Ctrl+N).
Registers a type's source file as a managed resource.
One-shot source loading for known class FQNs.
Retrieves the Javadoc documentation for a given type.
Javadoc retrieval for known class FQNs.
Retrieves source code for a specific Java member.
Source loading for known member FQNs.
Retrieves Javadoc documentation for a specific member.
Javadoc retrieval for known member FQNs.
Lists fields, constructors, methods, and inner classes.
Jump straight to members of a known class FQN.
Scans a package for types with optional recursion.
Explores implementations and subclasses for a JavaType.
Builds recursive implementation trees by FQN.
Explores inheritance base classes and interfaces for a JavaType.
Builds recursive inheritance trees by FQN.
Refactor Toolkit (14 Tools)
Transactional refactoring tools driven by IntelliJ's JavaRefactoringFactory and ReferencesSearch engines.
Safe rename of a top-level class updating all workspace references.
Renames a class member across all open projects.
Verifies remaining usages before deleting a class.
Finds all references/usages of a class in all open projects.
Finds all usages of a specific class member.
Moves a class to a different package, updating references.
Moves static members to another class.
Copies a class to another package, fixing package statements.
Pulls members up to a superclass.
Pushes members down to subclasses.
Inlines a method, replacing call sites with its body.
Updates name and return type, preserving parameters.
Extracts a new superclass from existing class.
Extracts a new interface with declared members.
Debugger Toolkit (13 Tools)
Platform-agnostic debugger automation built on IntelliJ's XDebuggerManager. Manages line breakpoints, drives debug sessions, steps through code, inspects frame variables, and evaluates expressions asynchronously with bounded synchronous waits.
Lists all line breakpoints configured across open projects (file, line, enabled state, condition).
Sets a line breakpoint at the specified 1-based line number for any JVM language.
Removes any line breakpoint at the given file and 1-based line number.
Removes all line breakpoints across all open projects in a single shot.
Lists active debug sessions and their current state (running, stopped, paused at location).
Launches a run configuration under the debugger; optionally awaits breakpoint hit or termination.
Resumes execution in the current paused debug session.
Steps over the current line in the active debug session.
Steps into the call at the current line in the active debug session.
Steps out of the current method in the active debug session.
Terminates the active debug session.
Evaluates an expression in the top frame of the paused debug session.
Lists visible variables (name and evaluated value) in the top frame of the paused session.
Gradle Toolkit (2 Tools)
Interacts with Gradle projects linked to IntelliJ's external-system framework. Discovers linked Gradle project structures and executes Gradle tasks with bounded latch waits and streaming output in the IDE Run window.
Lists all Gradle projects linked to open IntelliJ projects.
Runs one or more Gradle tasks (e.g. ['clean','build']) and waits synchronously for completion.
Hints Toolkit (2 Tools)
On-demand inspection and code analysis via DaemonCodeAnalyzerImpl with programmatic quick-fix application.
Lists inspection/annotator highlights (errors, warnings) with line numbers.
Applies an inspection quick-fix on a given line automatically.
IntellijMaven Toolkit (5 Tools)
Deep Maven integration via MavenProjectsManager, MavenRunner, and native MavenDomProjectModel. Features atomic XML dependency manipulation, synchronous goal execution with EventSpy telemetry, and unified repository index searches.
Lists resolved dependencies grouped by scope representing the actual runtime classpath.
Ultra-compact list of dependencies directly declared in pom.xml grouped by scope and groupId.
Executes Maven goals synchronously, streaming stdout/stderr to tool logs and saving full log to disk.
The definitive super-tool for adding dependencies with relative positioning and dependencyManagement support.
Unified Maven repository index search supporting exact coordinate lookup, groupId navigation, and keyword matching.
IntellijProjects Toolkit (10 Tools)
Workspace and lifecycle management for IntelliJ projects. Provides open/close controls, synchronous project compilation via CompilerManager, and comprehensive Project SDK detection and configuration.
Returns absolute paths of all currently open projects in the IDE.
Opens a project directory programmatically in the IntelliJ IDE.
Closes specified open projects in the IDE.
Compiles (make) or rebuilds a project synchronously and returns error/warning diagnostics.
Saves all unsaved editor documents across the IDE to disk.
Returns the currently configured Project SDK name, version, and home path.
Lists all configured SDKs in IntelliJ and available system JDK home paths.
Configures the project SDK by registered name or by JDK home directory path.
Automatically detects and configures the best available JDK for the project.
Enables or disables the project context provider in the prompt.
RunConfigurations Toolkit (2 Tools)
Discovers and launches IntelliJ run, debug, and test configurations directly. When executed with a timeout, captures structured test results (passed/failed/ignored) via the platform test-event bus.
Lists all configured run/debug/test configurations across open projects.
Launches a run/test configuration by name with optional synchronous execution wait.
IntellijVCS Toolkit (22 Tools)
Universal Version Control and Local History automation suite powered by IntelliJ's Git4Idea and ChangeListManager. Full repository lifecycle management from status inspection and diffing to branching, stashing, and commit dialog activation.
Gets fine-grained Git status (branch, tracking, modified/untracked files) for a repository or file.
Provider-agnostic VCS status reporting all local changes grouped by change list.
Generates a unified diff for a file against repository base or a specific revision.
Generates a Git diff between two branches or revisions, optionally comparing against working copy.
Retrieves the commit history log for a Git repository, branch, or revision.
Reads and returns the content of a file from a specific Git revision without switching branches.
Retrieves line-by-line authorship and commit history (Git Blame) for a file.
Gets the Version Control metadata and repository root for a file or directory.
Queries unified chronological history combining VCS commits and IntelliJ Local History.
Lists local and remote tracking branches in a Git repository.
Initializes a new Git repository in the specified directory.
Stages one or more files into the Git index.
Commits changes headlessly in a single shot (auto-stages files if specified).
Opens the native IntelliJ Commit tool window with pre-filled message and selected files.
Pushes committed revisions to a remote Git repository.
Fetches updates from a remote repository into local tracking branches without modifying working files.
Pulls changes from a remote repository into the active branch (fetch and merge).
Checks out a Git branch or revision, optionally creating the branch if missing.
Creates a new Git branch at a specified revision or current HEAD.
Deletes a local Git branch.
Merges a branch or revision into the current active branch.
Discards unstaged modifications in a file, reverting to the pristine base revision.
Terminals Toolkit (3 Tools)
Integrated terminal management via TerminalToolWindowManager.
Opens a local terminal tab and returns its tracking ID.
Types and executes a command sequence in a terminal tab.
Closes a tracked terminal tab by ID.
Editor & IDE Toolkits (6 Tools)
Direct editor navigation, log monitoring, and tool window queries.
Opens a file in the editor and optionally scrolls to line.
Lists all open editor tabs and their modification state.
Closes all files currently open in the editor.
Tails the idea.log stream with optional grep filtering.
Reveals and selects a file/folder in the Project view, Structure view, or OS file manager.
Returns a Markdown report of all registered tool windows.
Shared Core & Platform Toolkits
Every IntelliJ AGI session inherits the full suite of foundation toolkits from anahata-asi-core and anahata-asi-swing:
AsiContainer
Manages sub-AGI sessions, active model registries, and executes single-shot multimodal media generation (images, audio, video).
Resources
URI-centric resource management, surgical text replacements with byte-level checksums, and optimistic locking validation.
Session
Maintains the active session task dashboard/summary, toggles toolkits dynamically, and manages context provider prompt inclusion.
History
Controls the revolutionary Context Window Garbage Collector (CwGC), bulk-pins critical code blocks, and prunes stale turns.
Shell
Cross-platform headless process execution across Bash, PowerShell, and CMD with separate stdout and stderr streaming.
Screens
High-resolution screen captures and live rectangular region sharing streamed directly to multimodal model turns.
Audio
Audio recording from selected host input devices and audio playback across local output lines.
Host
OS-level process management, active PID inspection, and process termination controls.
Context Providers
The sensory array of the ASI in IntelliJ. These providers feed the RAG prompt with high-salience workspace metadata on every turn:
Project Overview
Injects authoritative project metadata, Maven packaging, and automatically synchronizes project-specific behavioral instructions from anahata.md.
Project Structure
Source-root-aware map built from IntelliJ's ProjectRootManager and ProjectFileIndex, distinguishing production vs test packages.
Project Alerts
Real-time compiler diagnostics via WolfTheProblemSolver, alerting the model to unresolved symbols and compilation errors.
Open Editors & Snippets
Renders a live table of open files, the focused editor's caret line, active text selections, and currently visible viewport lines.
Tool Windows
Real-time snapshot of every registered tool window across all open projects, reporting on visibility and active focus.