Package dev.langchain4j.agentic.agent
package dev.langchain4j.agentic.agent
-
ClassDescriptionBuilds a decision agent: an agent of an agentic system whose implementation is a single call to a
DecisionModelinstead of a chat model.The invocation handler of the proxy of a decision agent: it implements the agent method with a call to the decision model, keeps the response of the model for the listeners, and answers theAgentInstancemethods.Gives access to the last response of the decision model of a decision agent, so that it can be reported to theAgentListeners together with the agent's output.