LnYo-Cly/ai4j

Java 8+ agentic SDK: unified LLM access (OpenAI/Anthropic/DashScope/Doubao/DeepSeek...), Tool Calling, MCP, RAG, Agent Runtime, and a built-in Coding Agent CLI/TUI/ACP.

What it solves

It provides a unified Java-based development kit for building AI agents, eliminating the need to write platform-specific code when switching between different large language model (LLM) providers.

How it works

The SDK offers a standardized interface for model access, tool calling, and agent runtimes. It abstracts the complexities of various AI platforms (such as OpenAI, Anthropic, and DeepSeek) into a consistent API, allowing developers to change providers by simply updating the configuration and platform type.

Who it’s for

Java developers using JDK 8 or newer who want to integrate LLMs, RAG, and agentic workflows into their applications without being locked into a single AI vendor.

Highlights

  • Broad Platform Support: Compatible with OpenAI, Anthropic, DeepSeek, Ollama, and many others.
  • Agentic Capabilities: Built-in support for Tool Calling, Model Context Protocol (MCP), and Agent-to-Agent (A2A) communication.
  • Integrated RAG: Includes built-in Retrieval-Augmented Generation support and integration with vector stores like Pinecone, Milvus, and Redis.
  • Developer Tools: Comes with a built-in Coding Agent available via CLI, TUI, and ACP.

Related

  • Project
  • Project
  • Project
  • Project
  • Project