1. Conduid
  2. AI
  3. Ai4j
MCP server · AI

Ai4j

Java 8+ agentic SDK: unified LLM access (OpenAI/Anthropic/DashScope/Doubao/DeepSeek...),unified AI service(image/video/audio...), Tool Calling, MCP, RAG, SKILLS,Agent Runtime, A2A, agent blueprint, agent harness, and a built-in Coding Agent CLI/TUI/ACP.

47Fair

Scored 19 hours ago · breakdown

About Ai4j

Ai4j is an MCP server published by LnYo-Cly in the AI category: java 8+ agentic SDK: unified LLM access (OpenAI/Anthropic/DashScope/Doubao/DeepSeek...),unified AI service(image/video/audio...), Tool Calling, MCP, RAG, SKILLS,Agent Runtime, A2A, agent blueprint, agent harness, and a built-in Coding Agent CLI/TUI/ACP. No package is published for it, so it installs from a source checkout.

The repository has 443 stars and 56 forks, is licensed Apache-2.0, and its last commit was on 23 Nov 2026. The latest release is v2.8.1 (25 Sep 2026): ai4j 2.8.1 RAG capability expansion, new vector stores, starter wiring fixes, harness presets — plus the CLI fat-jar move to GitHub Releases. It follows v2.8.0 (23 Sep 2026), and the 5 most recent releases go back to v2.4.1 (21 Jul 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include ai4j, deepseek, embedding, chatgpt-api, hunyuan and chatglm.

Install

From source
git clone https://github.com/LnYo-Cly/ai4j

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 711 words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by ai4j-flowgram-webapp-demo/package-lock.json and docs-site/package-lock.json.
  • !No dynamic code executionScanned 1.8K source files and found 4 calls to eval or shell execution, in ai4j-coding/src/main/java/io/github/lnyocly/ai4j/coding/tool/BashToolExecutor.java:72, ai4j-coding/src/main/java/io/github/lnyocly/ai4j/coding/tool/BashToolExecutor.java:90 and ai4j/src/main/java/io/github/lnyocly/ai4j/tool/BuiltInToolExecutor.java:178 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdioai4j-mcp/src/main/java/io/github/lnyocly/ai4j/mcp/transport/McpTransportFactory.java:102
Starts other programs
8 callsai4j-mcp/src/main/java/io/github/lnyocly/ai4j/mcp/transport/StdioTransport.java:84, ai4j-cli/src/main/java/io/github/lnyocly/ai4j/cli/hook/ProcessHookCommandRunner.java:21, ai4j-coding/src/main/java/io/github/lnyocly/ai4j/coding/process/SessionProcessRegistry.java:48
Outbound network calls
140 callsai4j-mcp/src/main/java/io/github/lnyocly/ai4j/mcp/transport/SseTransport.java:30, ai4j-mcp/src/main/java/io/github/lnyocly/ai4j/mcp/transport/SseTransport.java:58, ai4j-mcp/src/main/java/io/github/lnyocly/ai4j/mcp/transport/SseTransport.java:82
Writes or deletes files
70 callsai4j-agent/src/main/java/io/github/lnyocly/ai4j/agent/replay/JsonlIoCaptureSink.java:37, ai4j-agent/src/main/java/io/github/lnyocly/ai4j/agent/replay/ResumeCache.java:99, ai4j-agent/src/main/java/io/github/lnyocly/ai4j/agent/replay/ResumeCache.java:101
Lockfile
ai4j-flowgram-webapp-demo/package-lock.json and docs-site/package-lock.json

Pattern matches on the source text of 1761 files: places to read, not proof of what the code does at run time.

Releases

v2.8.1v2.8.1 · 25 Sep 2026ai4j 2.8.1 RAG capability expansion, new vector stores, starter wiring fixes, harness presets — plus the CLI fat-jar move to GitHub Releases. Highlights New vector stores: `ElasticsearchVectorStore` (ES `_bulk`/`knn`/`_delete_by_query`,…
v2.8.0v2.8.0 · 23 Sep 2026ai4j-sdk 2.8.0 Highlights MinerU cloud document parsing in core `ai4j` (`io.github.lnyocly.ai4j.document.mineru`): `MinerUService` covers the authenticated v4 precise API (URL tasks, batch tasks, presigned local-file upload, result-zip…
v2.5.0v2.5.0 · 19 Sep 2026Full Changelog: https://github.com/LnYo-Cly/ai4j/compare/v2.4.2...v2.5.0
v2.4.2ai4j 2.4.2 · 23 Jul 2026Highlights Added LLM-as-reranker support for RAG via `IChatService`, including a live Anthropic/GLM smoke path. Added server-side fixed filters to `RagTool` so tool callers cannot override tenant/security constraints from tool input. Added…
v2.4.1ai4j 2.4.1 · 21 Jul 2026ai4j 2.4.1 This release supersedes v2.4.0 and publishes the consistent Maven Central artifacts for the 2.4.x line. Maven: <dependency> <groupId>io.github.lnyo-cly</groupId> <artifactId>ai4j</artifactId> <version>2.4.1</version>…

README

The repository's README runs to about 711 words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Ai4j

How do I install Ai4j?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Ai4j safe to use with an AI agent?

Its trust score is 47 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 1.8K source files found that it serves MCP over stdio, starts other programs (8 calls), makes outbound network calls (140 calls) and writes or deletes files (70 calls). Its dependencies are pinned by ai4j-flowgram-webapp-demo/package-lock.json and docs-site/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ai4j still maintained?

Yes — the latest release is v2.8.1 (25 Sep 2026), and the last commit was 8 days ago. The repository has 443 stars and 5 open issues.

What license is Ai4j released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v2.8.1, as well.