io.helidon.integrations.langchain4j.AgentsConfig
Description
Configuration for a single LangChain4j agent
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
chat-model | String | Name of the dev.langchain4j.model.chat.ChatModel service to use for this agent | |
mcp-clients | List<String> | Names of dev.langchain4j.mcp.client.McpClient services to use for MCP-backed tools | |
input-guardrails | List<Class> | Input guardrail classes to apply to the agent | |
content-retriever | String | Name of the dev.langchain4j.rag.content.retriever.ContentRetriever service to use for this agent | |
description | String | Description of the agent | |
tools | List<Class> | Tool service classes to register with the agent | |
chat-memory | String | Name of the dev.langchain4j.memory.ChatMemory service to use for this agent | |
enabled | Boolean | true | If set to false, agent will not be available even if configured |
execute-tools-concurrently | Boolean | If true, the agent's tools can be invoked in a concurrent manner | |
chat-memory-provider | String | Name of the dev.langchain4j.memory.chat.ChatMemoryProvider service to use for this agent | |
tool-provider | String | Name of the dev.langchain4j.service.tool.ToolProvider service to use for this agent | |
async | Boolean | If true, the agent will be invoked in an asynchronous manner, allowing the workflow to continue without waiting for the agent's result | |
output-key | String | Key of the output variable that will be used to store the result of the agent's invocation | |
retrieval-augmentor | String | Name of the dev.langchain4j.rag.RetrievalAugmentor service to use for this agent | |
output-guardrails | List<Class> | Output guardrail classes to apply to the agent | |
name | String | Agent identifier used to label the agent in workflows and/or agent registries |
Usages
See the manifest for all available types.