LangChain4j
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
A Java LLM application framework: unified model and vector-store interfaces, tool…
Local / self-hosted · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- Full current list of supported models and vector stores (not enumerated here)
- Official details of MCP integration
- Compatibility matrix with Spring Boot/Quarkus per release
A Java LLM application framework: unified model and vector-store interfaces, tool calling and MCP, embeddable in Quarkus, Spring Boot or Helidon services.
When to use it, when not to
Fits Java/Kotlin teams with existing Spring/Quarkus services who want LLMs and vector retrieval inside business code. Does not fit Python/TS teams, turnkey agents, or visual orchestration.
China availability domestic / direct access / CAC filing · snapshot 2026-11-03
- Origin
- foreign-made LangChain4j community (open source).
- Direct access
- direct OK Direct reachability from mainland not verified; Maven Central is available through mirrors.
- CAC filing
- not in filing list:Not in the CAC public registry (searched 2026-11-03); the open-source library does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
A unified Java interface over multiple LLMs and vector stores; the official docs list major commercial and open-source models. The current supported list follows official docs and is not enumerated here.
- Where it runs
Runs inside your JVM application; the official docs offer Quarkus, Spring Boot and Helidon integrations so LLM calls sit inside existing Java services.
- Local files
Files and vector stores are managed by the application; the framework hosts no data itself.
- Tasks after shutdown
A library with no built-in task queue; long-running work uses the application's own threads or message queue.
- Tools & extensions
Supports tool calling (letting the LLM call Java methods) and MCP integration; details follow official docs.
- Context & memory
Conversation memory and context are configured by the application; the framework offers memory abstractions while persistence is yours to attach.
- Permissions & limits
Runs in-process on the JVM; permissions come from the application and deployment environment, with no built-in multi-tenant isolation.
- Best for
Fits Java/Kotlin teams with existing Spring/Quarkus services who want LLMs and vector retrieval inside business code. Does not fit Python/TS teams, turnkey agents, or visual orchestration.
Licence and terms of use
Apache-2.0 (follow the repository LICENSE; dependency licences not verified line by line here).
Top misconception
- Treating LangChain4j as a port of Python LangChain — it is an independent Java implementation
- Assuming the framework ships a vector store — vector stores are separate dependencies you choose
- Ignoring JVM memory and threading — a local large model does not belong in the same JVM
Evidence sources
Checked 2026-11-03,Content updated 2026-11-03。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| docs | LangChain4j · official docs (Java integration, Quarkus/Spring Boot/Helidon) | https://docs.langchain4j.dev/ |
| repo | LangChain4j · GitHub repository | https://github.com/langchain4j/langchain4j |
| changelog | LangChain4j · Releases (official changelog) | https://github.com/langchain4j/langchain4j/releases |
Test notes
This site has not completed integration or performance tests; the conclusions cover the API and capabilities disclosed in official docs only.
Related entries
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| AG2 | Local / self-hosted | Open licence | 8 questions checked Active | The community continuation of AutoGen after the original repo stalled. T |
| AgentScope | Local / self-hosted | Open licence | 8 questions checked Active | AgentScope is the flagship domestic multi-agent framework (Apache-2.0, A |
| Agno (formerly Phidata) | Local / self-hosted | Open licence | 8 questions checked Active | Agno (formerly Phidata) ships framework + control plane as one: define a |
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.