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
git clone https://github.com/LnYo-Cly/ai4jSecurity 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
README
The repository's README runs to about 711 words, fetched yesterday. The original in the repository is authoritative.
Read full README