LnYo-Cly/ai4j

一款JavaSDK用于快速接入AI大模型应用,整合多平台大模型,如OpenAi、智谱Zhipu(ChatGLM)、深度求索DeepSeek、月之暗面Moonshot(Kimi)、腾讯混元Hunyuan、零一万物(01)等等,提供统一的输入输出(对齐OpenAi)消除差异化,优化函数调用(Tool Call),优化RAG调用、支持向量数据库(Pinecone)、内置联网增强,并且支持JDK1.8,为用户提供快速整合AI的能力。

55
/ 100
Established

This project helps Java developers integrate various large AI models like OpenAI, Zhipu, DeepSeek, and Tencent Hunyuan into their applications quickly. It takes in plain Java code and model configurations, and outputs seamlessly integrated AI functionalities, including advanced agentic capabilities like tool calls and RAG. Developers building Java applications who need to add AI features, even on older JDK versions, would use this.

390 stars.

Use this if you are a Java developer building an application and need to integrate various large AI models, implement advanced AI agent features, or require support for older JDK versions (8+).

Not ideal if you are primarily working with Spring Boot 3.x and Java 17+, as Spring AI might offer more native integration for that specific stack.

Java development AI integration Application development Agentic AI Natural language processing
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

390

Forks

53

Language

Java

License

Apache-2.0

Last pushed

Feb 01, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/LnYo-Cly/ai4j"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.