一款JavaSDK用于快速接入AI大模型应用,整合多平台大模型,如OpenAi、Ollama、智谱Zhipu(ChatGLM)、深度求索DeepSeek、月之暗面Moonshot(Kimi)、腾讯混元Hunyuan、零一万物(01)、MiniMax、百川Baichuan等等,提供统一的输入输出(对齐OpenAi)消除差异化,优化函数调用(Tool Call),优化RAG调用、支持向量数据库(Pinecone),并且支持JDK1.8,为用户提供快速整合AI的能力。支持MCP协议,支持STDIO,SSE,Streamable HTTP; 支持MCP Server与MCP Client; 支持MCP网关; 支持自定义MCP数据源; 支持MCP自动重连
| License | Apache 2.0 |
|---|---|
| Tags | githubai |
| HomePage | https://github.com/LnYo-Cly/ai4j 🔍 Inspect URL |
| Date | Aug 08, 2025 |
| Files | pom (10 KB) jar (585 KB) View All |
| Repositories | Central |
| Ranking | #210717 in MvnRepository (See Top Artifacts) |
| Used By | 2 artifacts |
Compile Dependencies (14)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
| JSON Lib Apache 2.0 | com.alibaba.fastjson2 » fastjson2 | 2.0.43 | 2.0.60 | |
| JWT Lib MIT | com.auth0 » java-jwt | 4.4.0 | 4.5.0 | |
| Annotation Lib Apache 2.0 | com.fasterxml.jackson.core » jackson-annotations | 2.16.0 | 2.20 | |
| Core Utils Apache 2.0 | com.google.guava » guava | 33.0.0-jre | 33.5.0-jre | |
MIT | com.knuddels » jtokkit | 1.1.0 | ✔ | |
| HTTP Clients Apache 2.0 | com.squareup.okhttp3 » okhttp | 4.12.0 | 5.3.1 | |
| HTTP Clients Apache 2.0 | com.squareup.okhttp3 » okhttp-sse | 4.12.0 | 5.3.1 | |
Apache 2.0 | com.squareup.okhttp3 » logging-interceptor | 4.12.0 | 5.3.1 | |
Apache 2.0 | org.apache.tika » tika-core | 2.9.2 | 3.2.3 | |
Apache 2.0 | org.apache.tika » tika-parsers-standard-package | 2.8.0 | 3.2.3 | |
| CodeGen MIT | org.projectlombok » lombok | 1.18.30 | 1.18.42 | |
| Reflection Apache 2.0 | org.reflections » reflections | 0.10.2 | ✔ | |
| Logging MIT | org.slf4j » slf4j-simple | 1.7.30 | 2.0.17 | |
| Logging MIT | org.slf4j » slf4j-api | 1.7.30 | 2.0.17 |
Test Dependencies (1)
Licenses
| License | URL |
|---|---|
| The Apache Software License, Version 2.0 | http://www.apache.org/licenses/LICENSE-2.0.txt |
Developers
| Name | Dev Id | Roles | Organization | |
|---|---|---|---|---|
| LnYo-Cly | lnyocly<at>gmail.com | LnYo-Cly |
Related Books
| Applied AI for Enterprise Java Development: Leveraging Generative AI, LLMs, and Machine Learning in the Java Enterprise (2025) by Bueno, Alex Soto, Eisele, Markus, Vinto, Natale | |
| AI for Everyday IT: Accelerate workplace productivity (2025) by LeMaire, Chrissy, Abshire, Brandon | |
| The AI Engineering Bible: The Complete and Up-to-Date Guide to Build, Develop and Scale Production Ready AI Systems (2025) by Caldwell, Thomas R. | |
| AI Engineering: Building Applications with Foundation Models (2025) by Huyen, Chip | |
| AI and Machine Learning for Coders: A Programmer's Guide to Artificial Intelligence (2020) by Moroney, Laurence |