ai4j
View on GitHubJava 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.
ai4j is a JDK 8+ Java agentic SDK giving one API across OpenAI, Anthropic, DashScope, DeepSeek, Ollama and more, plus Tool Calling, MCP, A2A, RAG, Agent Runtime and a built-in Coding Agent CLI/TUI/ACP.
Use Cases
Build Java AI agents with tool callingUnified multi-provider LLM accessAdd MCP tool/server integration to Java appsRAG pipelines over vector storesRun a built-in coding agent CLI/TUI/ACPA2A agent-to-agent communicationSpring Boot LLM integrationRerank and embedding workflowsConnect Ollama local modelsEmbed chat into Java 8 enterprise apps
Built With
- Language
- HTML
- Frameworks
- Spring Boot · Maven · Gradle · Apache Tika · A2A · MCP
Tags
java · jdk8 · agent-sdk · llm-abstraction · tool-calling · mcp · a2a · rag · coding-agent · cli · tui · spring-boot · vector-store · multi-provider · function-calling · ollama