Pure Java • Open Source • Apache Licensed

The Autonomous AI Agent Engine for the JVM.

Inhabit the runtime. Master the ecosystem. Build AI Agents that don't just talk about code—they execute it. Specially engineered for the Google Gemini API.

Developer Cognitive Upgrades
Java 8+
Gemini Gemini Optimized
NetBeans NetBeans Ready
The Desktop App

Your Personal AI Butler

The purest expression of Anahata. A high-performance, zero-overhead companion that brings autonomous JVM intelligence to your system. No IDE required—just you, the engine, and the infinite potential of Gemini.

Download Latest Release
The Plugin

Give NetBeans Superpowers

The cognitive upgrade for developers. Don't just use an AI; inhabit your code with a partner that understands your architecture as well as you do. Transform NetBeans into an autonomous refactoring powerhouse that executes complex tasks while you stay in the flow.

Anahata in NetBeans
The SDK

The Architect's Choice

Build your own agents. Extend your own applications. The same engine that powers our flagship plugin is available as a lightweight, annotation-driven SDK for any Java project. Transform any Swing or headless app into an intelligent, self-extending system.

<dependency>
  <groupId>uno.anahata</groupId>
  <artifactId>gemini-java-client</artifactId>
  <version>1.1.0</version>
</dependency>
Getting Started Guide
The Core Engine

Autonomous AI Execution & Hot-Reload

Transform your Java application into an intelligent, self-extending environment.

Any Java Code, Any Framework

The core RunningJVM tool allows the AI Agent to pull any Java framework in existence from Maven Central or any other website at runtime and execute LLM-generated code immediately.

  • JIT Compilation: In-memory compilation of AI-generated classes.
  • Dynamic Classloading: Child-first classloader for instant hot-reloads.
  • Full JVM Access: Introspect threads, memory, and application state.
  • Extra Classpath: Augment the agents runtime with external JARs or directories on any turn.

Agent Prompts:

  • "Change the logging level of 'org.apache.http' to DEBUG and show me the logs."
  • "Perform a thread dump, analyze it, and look for any potential deadlocks."
  • "Take a heap dump, download Eclipse MAT from Maven, and perform a leak analysis."
  • "Set the context window threshold to 200K tokens and prune aggressively as you go."
  • "Scan the JVM for all loaded classes that implement 'java.io.Serializable' but lack a 'serialVersionUID'."
  • "Write a Swing script to visualize the current memory usage in a real-time chart."
Visual Intelligence

The Agent in Action

A deep dive into the framework's context-aware capabilities and native integration.

Seamless Interaction

The embeddable ChatPanel providing a rich, multi-part conversation interface.

Token Precision

Visualizing context window usage and pruning status in real-time.

Augmented Context

Feeding real-time system state directly into the model.

Live Workspace

The agent's view of the active conversation and resources.

Tool Documentation

Automatic discovery and documentation of all available AI tools.

Java to JSON Schema

Automatic generation of precise JSON schemas from Java types.

Schema Annotations

Using standard annotations to enrich the AI's understanding of tools.

Easy RAG

Seamless integration of local knowledge and documentation.

Easy Tools

Defining complex tool chains with minimal code.

Live Screen Capture

Giving the agent eyes to see the application's UI.

Creative Flow

Integrated media tools to keep the developer in the zone.

Google Search Integration

Connecting the agent to the world's information.

Core Framework Features

Everything you need to build a production-grade AI Agent in Java.

Annotation-Driven Tools

Turn any Java method into an AI-callable function with a single @AIToolMethod annotation. Automatic JSON schema generation included.

Natural language Context Window management

Advanced context management where both the user and the model can manage the context window to maximize efficiency.

Easy RAG Integration

Built-in support for augmenting the model's knowledge with local files, documentation, and real-time system state.

Easy Tools API

Define complex, multi-step tool chains with minimal code. Let the agent orchestrate your application's internal logic.

Embeddable Swing UI

A complete, high-performance ChatPanel that can be dropped into any Swing application with zero boilerplate.

Session Persistence

Fast, reliable session saving and loading using Kryo serialization. Resume conversations instantly across restarts.

Real-World Agency

Universal Integration

The engine can be dropped in to any Java Swing application, headless Java application, or run standalone as a generic AI assistant.

IoT & Hardware Orchestration

By leveraging LocalShell and network introspection, the agent can discover and control physical devices on your LAN.

  • LAN Discovery: Find TVs, servers, and IoT devices.
  • IoT control: Take screenshots and send remote commands via ADB.
  • Security Auditing: Perform network assessments and do a vulnerability audit on any devices on this LAN.

"Explore my LAN, find the TCL TV, turn down the volume, and play a Gal Gadot video."

Hardware Insider

The agent combines shell with LLM generated java code to bridge the gap between LLM logic and physical hardware.