Skip to main content

Agents

note

Please note that "Agent" is a very broad term with multiple definitions.

Agent

Most of the basic "agentic" functionality can be built using a high-level AI Service and Tool APIs.

If you need more flexibility, you can use the low-level ChatLanguageModel, ToolSpecification and ChatMemory APIs.

Multi-Agent

LangChain4j does not support high-level abstractions like "agent" in AutoGen or CrewAI to build multi-agent systems.

However, you can still build multi-agent systems by using the low-level ChatLanguageModel, ToolSpecification and ChatMemory APIs.

Examples