anahata-netbeans-ai

Sponsor anahata-os

🚀 Anahata AI Assistant for NetBeans: Code from the Heart

Elevate your coding experience with a true AI partner that understands your workflow.

Anahata is an unprecedented, deeply integrated AI assistant for the Apache NetBeans IDE, powered by Google’s Gemini models. It’s more than a chatbot—it’s a harmonious extension of your creative process, designed to bring flow and intelligence directly to your work.

Visit our new website: anahata.uno

✨ Why Anahata is the Future of IDE Assistance

Traditional AI assistants are disconnected. Anahata is built from the ground up to be a native part of your IDE, giving it unparalleled context and capability.

1. Deep, Real-Time Context Awareness (The Architectural Advantage)

Anahata doesn’t guess. On every request, it receives a live, structured data payload that includes:

2. Programmatic IDE Control (NetBeans-Specific Tools)

Anahata can execute high-level IDE actions and perform deep code analysis with a simple natural language command:

Feature Tooling Capability
Code Introspection JavaIntrospection, JavaSources, JavaDocs Inspect Java types, list members, and retrieve paginated, filterable, and truncated source code and Javadoc for any class or method.
IDE Interaction IDE, Output Read the main IDE log and interact with the Output Window, with powerful support for pagination, regex filtering, and line truncation to manage large outputs.
Dependency Management Maven Trigger Maven goals (clean, install), download missing dependency sources, and resolve Javadoc URLs.
Project Lifecycle Projects Open/close projects, invoke high-level actions (build, run), and query project structure.
Code Modification Coding Use the proposeChange tool to receive code patches via a NetBeans modal diff dialog for secure, explicit user approval.
Live Workspace ScreenCapture, TopComponents The AI can “see” the IDE by taking screenshots of all open JFrames and listing all open IDE components (windows, tabs).
Runtime Execution NetBeansProjectJVM Compile and execute arbitrary Java code directly within the IDE’s running JVM, enabling hot-reload testing and complex runtime tasks.
System Interaction LocalShell, LocalFiles Run native shell commands and perform context-aware file operations (read, write, delete).
Editor Control Editor Open files in the NetBeans editor and scroll to specific line numbers.

3. Advanced Text Processing & Safety

To ensure a smooth and efficient workflow, Anahata’s core tools have been refactored with a powerful, centralized text processing engine. This provides:

This makes interacting with large codebases and log files safer, faster, and more intelligent.

4. Core Gemini Client Features (Efficiency & Transparency)

Anahata is built on the gemini-java-client, inheriting powerful features for managing the conversation and token budget:


Powered by the Gemini Java Client

The Anahata AI Assistant is the premier showcase for the gemini-java-client, our powerful, enterprise-ready library for integrating Google Gemini into any Java application.

The client features a robust tool-calling framework, built-in Swing UI components, and a flexible configuration system. It is available under a dual-license model (AGPLv3 for open-source, commercial for proprietary use).

Getting Started

(Instructions to be added once the plugin is packaged for distribution).

Licensing: Open Core Model

This project is available under a dual-license model to accommodate both open-source and commercial needs.