Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

a2aBuilder(String) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an A2A client that can be used to interact with agents over the A2A protocol.
a2aBuilder(String, Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an A2A client that can be used to interact with agents over the A2A protocol.
a2aBuilder(String, Class) - Method in interface dev.langchain4j.agentic.internal.A2AService
 
a2aBuilder(String, Class) - Method in class dev.langchain4j.agentic.internal.A2AService.DummyA2AService
 
A2AClientAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an A2A client agent.
A2AClientBuilder<T> - Interface in dev.langchain4j.agentic.internal
 
a2aServerUrl() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
URL of the A2A server to which the requests will be sent.
A2AService - Interface in dev.langchain4j.agentic.internal
 
A2AService.DummyA2AService - Class in dev.langchain4j.agentic.internal
 
A2AService.Provider - Class in dev.langchain4j.agentic.internal
 
AbstractAgentInvoker - Class in dev.langchain4j.agentic.internal
 
AbstractAgentInvoker(Method, InternalAgent) - Constructor for class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
AbstractServiceBuilder<T,S> - Class in dev.langchain4j.agentic.internal
 
AbstractServiceBuilder(Class, Method) - Constructor for class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
accept(AgenticScope) - Method in class dev.langchain4j.agentic.AgenticServices.AgenticScopeAction
 
accept(AgenticScope) - Method in class dev.langchain4j.agentic.AgenticServices.AgenticScopeFunction
 
accept(T) - Method in interface dev.langchain4j.agentic.AgenticServices.AgenticScopeAction.NonThrowingConsumer
 
Action - Interface in dev.langchain4j.agentic.planner
 
Action.AgentCallAction - Class in dev.langchain4j.agentic.planner
 
Action.DoneAction - Class in dev.langchain4j.agentic.planner
 
Action.DoneWithResultAction - Class in dev.langchain4j.agentic.planner
 
Action.NoOpAction - Class in dev.langchain4j.agentic.planner
 
ActivationCondition - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an activation predicate for one or more sub-agents of a conditional agent.
addListener(AgentListener) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
afterAgenticScopeCreated(AgentListener, AgenticScope) - Static method in class dev.langchain4j.agentic.observability.ListenerNotifierUtil
 
afterAgenticScopeCreated(AgenticScope) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
afterAgenticScopeCreated(AgenticScope) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
afterAgentInvocation(AgentListener, AgenticScope, AgentInstance, Map, Object) - Static method in class dev.langchain4j.agentic.observability.ListenerNotifierUtil
 
afterAgentInvocation(AgentListener, AgenticScope, AgentInstance, Map, Object, ChatRequest, ChatResponse) - Static method in class dev.langchain4j.agentic.observability.ListenerNotifierUtil
 
afterAgentInvocation(AgentResponse) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
afterAgentInvocation(AgentResponse) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
afterAgentInvocation(AgentResponse) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
afterAgentToolExecution(AfterAgentToolExecution) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
afterAgentToolExecution(AfterAgentToolExecution) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
afterAgentToolExecution(AfterAgentToolExecution) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
AfterAgentToolExecution - Record Class in dev.langchain4j.agentic.observability
 
AfterAgentToolExecution(AgentInstance, ToolExecution) - Constructor for record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
Creates an instance of a AfterAgentToolExecution record class.
agent - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
agent() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
Returns the value of the agent record component.
agent() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
agent() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Returns the value of the agent record component.
agent() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
Returns the value of the agent record component.
agent() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns the value of the agent record component.
Agent - Annotation Interface in dev.langchain4j.agentic
Java methods annotated with @Agent are considered agents that other agents can invoke.
Agent.NoTypedKey - Class in dev.langchain4j.agentic
 
agentAction(AgenticServices.AgentAction.NonThrowingRunnable) - Static method in class dev.langchain4j.agentic.AgenticServices
Wraps a runnable into an agent action that can be executed within the context of an agent.
agentAction(AgenticServices.AgenticScopeAction.NonThrowingConsumer) - Static method in class dev.langchain4j.agentic.AgenticServices
Wraps a consumer of the AgenticScope into an agent action that can be executed within the context of an agent.
AgentArgument - Record Class in dev.langchain4j.agentic.planner
 
AgentArgument(Type, String) - Constructor for record class dev.langchain4j.agentic.planner.AgentArgument
 
AgentArgument(Type, String, Object) - Constructor for record class dev.langchain4j.agentic.planner.AgentArgument
Creates an instance of a AgentArgument record class.
agentBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an agent builder for untyped agents.
agentBuilder() - Method in interface dev.langchain4j.agentic.AgenticServices.DeclarativeAgentCreationContext
 
agentBuilder() - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Returns the value of the agentBuilder record component.
agentBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an agent builder for the given agent service class.
AgentBuilder<T,B> - Class in dev.langchain4j.agentic.agent
 
AgentBuilder(Class) - Constructor for class dev.langchain4j.agentic.agent.AgentBuilder
 
AgentCallAction(AgentInstance...) - Constructor for class dev.langchain4j.agentic.planner.Action.AgentCallAction
 
AgentCallAction(List) - Constructor for class dev.langchain4j.agentic.planner.Action.AgentCallAction
 
agentError(AgentListener, AgenticScope, AgentInstance, Map, Throwable) - Static method in class dev.langchain4j.agentic.observability.ListenerNotifierUtil
 
AgentExecutor - Record Class in dev.langchain4j.agentic.internal
 
AgentExecutor(AgentInvoker, Object) - Constructor for record class dev.langchain4j.agentic.internal.AgentExecutor
Creates an instance of a AgentExecutor record class.
AGENTIC_SCOPE_ARG_NAME - Static variable in class dev.langchain4j.agentic.internal.AgentUtil
 
agenticMethod - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
AgenticParameterNameResolver - Class in dev.langchain4j.agentic.internal
 
AgenticParameterNameResolver() - Constructor for class dev.langchain4j.agentic.internal.AgenticParameterNameResolver
 
agenticScope() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
 
agenticScope() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
agenticScope() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
 
agenticScope() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
agenticScope() - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.planner.PlanningContext
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Returns the value of the agenticScope record component.
AgenticScope - Interface in dev.langchain4j.agentic.scope
The AgenticScope class represents a common environment where agents belonging to the same agentic system can share their state.
AgenticScopeAccess - Interface in dev.langchain4j.agentic.scope
Allow to access the AgenticScope of any agent extending it.
AgenticScopeContextGenerator(AgenticScope, Function) - Constructor for class dev.langchain4j.agentic.internal.Context.AgenticScopeContextGenerator
 
agenticScopeFunction(Method, Class) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
AgenticScopeJsonCodec - Interface in dev.langchain4j.agentic.scope
A codec for serializing and deserializing DefaultAgenticScope objects to and from JSON.
AgenticScopeKey - Record Class in dev.langchain4j.agentic.scope
 
AgenticScopeKey(String, Object) - Constructor for record class dev.langchain4j.agentic.scope.AgenticScopeKey
Creates an instance of a AgenticScopeKey record class.
AgenticScopeOwner - Interface in dev.langchain4j.agentic.internal
 
AgenticScopePersister - Enum Class in dev.langchain4j.agentic.scope
 
agenticScopePredicate(Method) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
AgenticScopeRegistry - Class in dev.langchain4j.agentic.scope
Singleton registry for managing AgenticScope instances.
AgenticScopeRegistry(String) - Constructor for class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
AgenticScopeSerializer - Class in dev.langchain4j.agentic.scope
Utility class for serializing AgenticScope objects to JSON format.
AgenticScopeStore - Interface in dev.langchain4j.agentic.scope
Service Provider Interface for AgenticScope persistence.
AgenticService<T,A> - Interface in dev.langchain4j.agentic.planner
 
AgenticServices - Class in dev.langchain4j.agentic
Provides static factory methods to create and configure various types of agent services.
AgenticServices.AgentAction - Class in dev.langchain4j.agentic
 
AgenticServices.AgentAction.NonThrowingRunnable - Interface in dev.langchain4j.agentic
 
AgenticServices.AgenticScopeAction - Class in dev.langchain4j.agentic
 
AgenticServices.AgenticScopeAction.NonThrowingConsumer<T> - Interface in dev.langchain4j.agentic
 
AgenticServices.AgenticScopeFunction<T> - Class in dev.langchain4j.agentic
 
AgenticServices.AgenticScopeFunction.NonThrowingFunction<A,B> - Interface in dev.langchain4j.agentic
 
AgenticServices.DeclarativeAgentCreationContext<T> - Interface in dev.langchain4j.agentic
 
AgenticServices.DefaultDeclarativeAgentCreationContext<T> - Record Class in dev.langchain4j.agentic
 
AgenticSystemConfigurationException - Exception Class in dev.langchain4j.agentic.planner
 
AgenticSystemConfigurationException(Exception) - Constructor for exception class dev.langchain4j.agentic.planner.AgenticSystemConfigurationException
 
AgenticSystemConfigurationException(String) - Constructor for exception class dev.langchain4j.agentic.planner.AgenticSystemConfigurationException
 
AgenticSystemConfigurationException(String, Exception) - Constructor for exception class dev.langchain4j.agentic.planner.AgenticSystemConfigurationException
 
agenticSystemDataTypes(AgentInstance) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
AgenticSystemTopology - Enum Class in dev.langchain4j.agentic.planner
 
agentId() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
agentId() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
agentId() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
agentId() - Method in class dev.langchain4j.agentic.internal.MapperAgentInvoker
 
agentId() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
agentId() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
agentId() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
 
agentId() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
 
agentId() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
 
agentId() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
agentId() - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
Returns the value of the agentId record component.
agentId() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns the value of the agentId record component.
agentId() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns the value of the agentId record component.
agentId() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
agentId() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
agentInstance() - Method in record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
Returns the value of the agentInstance record component.
agentInstance() - Method in record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
Returns the value of the agentInstance record component.
AgentInstance - Interface in dev.langchain4j.agentic.planner
 
agentInstances() - Method in record class dev.langchain4j.agentic.workflow.ConditionalAgent
Returns the value of the agentInstances record component.
AgentInvocation - Class in dev.langchain4j.agentic.observability
 
AgentInvocation - Class in dev.langchain4j.agentic.supervisor
 
AgentInvocation - Record Class in dev.langchain4j.agentic.scope
 
AgentInvocation() - Constructor for class dev.langchain4j.agentic.supervisor.AgentInvocation
 
AgentInvocation(Class, String, String, Map, Object) - Constructor for record class dev.langchain4j.agentic.scope.AgentInvocation
Creates an instance of a AgentInvocation record class.
agentInvocationArguments(AgenticScope, Method) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentInvocationArguments(AgenticScope, List) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentInvocationArguments(AgenticScope, List, Map) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
AgentInvocationArguments - Record Class in dev.langchain4j.agentic.internal
 
AgentInvocationArguments(Map, Object[]) - Constructor for record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Creates an instance of a AgentInvocationArguments record class.
AgentInvocationError - Record Class in dev.langchain4j.agentic.observability
 
AgentInvocationError(AgenticScope, AgentInstance, Map, Throwable) - Constructor for record class dev.langchain4j.agentic.observability.AgentInvocationError
Creates an instance of a AgentInvocationError record class.
AgentInvocationException - Exception Class in dev.langchain4j.agentic.agent
 
AgentInvocationException(Exception) - Constructor for exception class dev.langchain4j.agentic.agent.AgentInvocationException
 
AgentInvocationException(String) - Constructor for exception class dev.langchain4j.agentic.agent.AgentInvocationException
 
AgentInvocationException(String, Exception) - Constructor for exception class dev.langchain4j.agentic.agent.AgentInvocationException
 
AgentInvocationHandler - Class in dev.langchain4j.agentic.agent
 
agentInvocations() - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns all agent invocations recorded in this scope, in execution order.
agentInvocations() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
agentInvocations(Class) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns all agent invocations for agents of the given type.
agentInvocations(Class) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
agentInvocations(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns all agent invocations for the agent with the given name.
agentInvocations(String) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
agentInvoker() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
Returns the value of the agentInvoker record component.
AgentInvoker - Interface in dev.langchain4j.agentic.internal
 
agentListener - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
agentListener - Variable in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
AgentListener - Interface in dev.langchain4j.agentic.observability
Listener interface for monitoring agent invocations.
AgentListenerSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of a listener for this agent.
AgentMessage(String, String, ChatMessage) - Constructor for record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Creates an instance of a AgentMessage record class.
agentMonitor() - Method in interface dev.langchain4j.agentic.observability.MonitoredAgent
Returns the AgentMonitor automatically registered for this agent.
AgentMonitor - Class in dev.langchain4j.agentic.observability
Monitors agent executions and provides observability for the LangChain4j Agentic system.
AgentMonitor() - Constructor for class dev.langchain4j.agentic.observability.AgentMonitor
 
agentName() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns the value of the agentName record component.
agentName() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
 
agentName() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
 
agentName() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
 
agentName() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns the value of the agentName record component.
agentName() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns the value of the agentName record component.
AgentRequest - Record Class in dev.langchain4j.agentic.observability
 
AgentRequest(AgenticScope, AgentInstance, Map) - Constructor for record class dev.langchain4j.agentic.observability.AgentRequest
Creates an instance of a AgentRequest record class.
AgentResponse - Record Class in dev.langchain4j.agentic.observability
 
AgentResponse(AgenticScope, AgentInstance, Map, Object, ChatRequest, ChatResponse) - Constructor for record class dev.langchain4j.agentic.observability.AgentResponse
Creates an instance of a AgentResponse record class.
agentServiceClass - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
agentServiceClass() - Method in interface dev.langchain4j.agentic.AgenticServices.DeclarativeAgentCreationContext
 
agentServiceClass() - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Returns the value of the agentServiceClass record component.
AgentSpecsProvider - Interface in dev.langchain4j.agentic.internal
 
agentsToCall() - Method in class dev.langchain4j.agentic.planner.Action.AgentCallAction
 
agentsToExecutors(Object...) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentToExecutor(InternalAgent) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentToExecutor(Object) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentType() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns the value of the agentType record component.
AgentUtil - Class in dev.langchain4j.agentic.internal
 
AI_AGENT - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
allExecutionsFor(AgenticScope) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
Returns all executions (successful, failed, and ongoing) for a given memory ID.
allExecutionsFor(Object) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
Returns all executions (successful, failed, and ongoing) for a given memory ID.
allMemoryIds() - Method in class dev.langchain4j.agentic.observability.AgentMonitor
Returns the set of all memory IDs that have been tracked by this monitor, including successful, failed, and ongoing executions.
allowChatMemory() - Method in interface dev.langchain4j.agentic.internal.InternalAgent
 
allowChatMemory() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
allowStreamingOutput() - Method in interface dev.langchain4j.agentic.internal.InternalAgent
 
allowStreamingOutput() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
appendId(String) - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
appendId(String) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
appendId(String) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
appendId(String) - Method in interface dev.langchain4j.agentic.internal.InternalAgent
 
appendId(String) - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
appendId(String) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
apply(A) - Method in interface dev.langchain4j.agentic.AgenticServices.AgenticScopeFunction.NonThrowingFunction
 
apply(ChatRequest, Object) - Method in interface dev.langchain4j.agentic.internal.UserMessageTransformer
 
argumentName() - Method in exception class dev.langchain4j.agentic.agent.MissingArgumentException
 
arguments() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
arguments() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
arguments() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
arguments() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
arguments() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
arguments() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
arguments() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
arguments() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
argumentsFromMethod(Method) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
argumentsFromMethod(Method, Map) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
as(Class) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
as(Class) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
as(Class) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
as(Class) - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
as(Class) - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
as(Class) - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
as(Class, AgentInstance) - Method in interface dev.langchain4j.agentic.planner.Planner
 
as(Class, AgentInstance) - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
 
as(Class, AgentInstance) - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
askUser(AgenticScope) - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
 
async() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
async() - Element in annotation interface dev.langchain4j.agentic.Agent
If true, the agent will be invoked in an asynchronous manner, allowing the workflow to continue without waiting for the agent's result.
async() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
If true, the agent will be invoked in an asynchronous manner, allowing the workflow to continue without waiting for the agent's result.
async() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
If true, the agent will be invoked in an asynchronous manner, allowing the workflow to continue without waiting for the agent's result.
async() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
If true, the agent will be invoked in an asynchronous manner, allowing the workflow to continue without waiting for the agent's result.
async() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
async() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
async() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
async() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
async() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
async() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
async() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the async record component.
async() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
async() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
async(boolean) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
async(boolean) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
async(boolean) - Method in interface dev.langchain4j.agentic.internal.McpClientBuilder
 
async(boolean) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
AsyncResponse<T> - Class in dev.langchain4j.agentic.internal
 
AsyncResponse(Supplier) - Constructor for class dev.langchain4j.agentic.internal.AsyncResponse
 

B

beforeAgenticScopeDestroyed(AgentListener, AgenticScope) - Static method in class dev.langchain4j.agentic.observability.ListenerNotifierUtil
 
beforeAgenticScopeDestroyed(AgenticScope) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
beforeAgenticScopeDestroyed(AgenticScope) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
beforeAgentInvocation(AgentListener, AgenticScope, AgentInstance, Map) - Static method in class dev.langchain4j.agentic.observability.ListenerNotifierUtil
 
beforeAgentInvocation(AgentRequest) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
beforeAgentInvocation(AgentRequest) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
beforeAgentInvocation(AgentRequest) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
beforeAgentToolExecution(BeforeAgentToolExecution) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
beforeAgentToolExecution(BeforeAgentToolExecution) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
BeforeAgentToolExecution - Record Class in dev.langchain4j.agentic.observability
 
BeforeAgentToolExecution(AgentInstance, BeforeToolExecution) - Constructor for record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
Creates an instance of a BeforeAgentToolExecution record class.
beforeCall - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
beforeCall(Consumer) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
beforeCall(Consumer) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
blockingGet() - Method in class dev.langchain4j.agentic.internal.AsyncResponse
 
blockingGet() - Method in interface dev.langchain4j.agentic.internal.DelayedResponse
 
blockingGet() - Method in class dev.langchain4j.agentic.internal.PendingResponse
 
blockingGet() - Method in class dev.langchain4j.agentic.internal.StreamingResponse
 
blockingGet(long, TimeUnit) - Method in class dev.langchain4j.agentic.internal.PendingResponse
Waits for the response with a timeout.
build() - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
build() - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
build() - Method in interface dev.langchain4j.agentic.internal.McpClientBuilder
 
build() - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
build() - Method in class dev.langchain4j.agentic.planner.PlannerBasedServiceImpl
 
build() - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
build() - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
build() - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
build() - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
build() - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
build() - Method in class dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl
 
build() - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
build() - Method in class dev.langchain4j.agentic.workflow.impl.SequentialAgentServiceImpl
 
build(DefaultAgenticScope, AiServiceContext, AiServices) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
build(DefaultAgenticScope, AiServiceContext, AiServices) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
build(InvocationHandler) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
build(Supplier) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
buildAgent(Class, InvocationHandler) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
buildAgentFeatures(Class, AgenticService) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
builder() - Static method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
builder() - Static method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
builder() - Static method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
builder() - Static method in class dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl
 
builder() - Static method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
builder() - Static method in class dev.langchain4j.agentic.workflow.impl.SequentialAgentServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.planner.PlannerBasedServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
builder(Class) - Static method in class dev.langchain4j.agentic.workflow.impl.SequentialAgentServiceImpl
 

C

call(AgentInstance...) - Method in interface dev.langchain4j.agentic.planner.Planner
 
call(List) - Method in interface dev.langchain4j.agentic.planner.Planner
 
CHAT_MEMORY - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Use only the supervisors ChatMemory (default).
CHAT_MEMORY_AND_SUMMARIZATION - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Use both the supervisor's ChatMemory and a summarization of the interaction of the supervisor with its sub-agents.
chatMemory(ChatMemory) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
chatMemoryAccess(AgenticScope) - Method in interface dev.langchain4j.agentic.planner.ChatMemoryAccessProvider
 
chatMemoryAccess(AgenticScope) - Method in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
ChatMemoryAccessProvider - Interface in dev.langchain4j.agentic.planner
 
chatMemoryProvider(ChatMemoryProvider) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
chatMemoryProvider(ChatMemoryProvider) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
chatMemoryProvider(ChatMemoryProvider) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
ChatMemoryProviderSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of the ChatMemoryProvider that an agent can utilize during its operation.
ChatMemorySupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of chat memory that an agent can utilize during its operation.
ChatMessagesAccess - Interface in dev.langchain4j.agentic.agent
 
chatModel(ChatModel) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
chatModel(ChatModel) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
chatModel(ChatModel) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
ChatModelSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of the chat model to be used by an agent.
chatRequest() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns the value of the chatRequest record component.
chatResponse() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns the value of the chatResponse record component.
checkArguments(Method, Class...) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
checkpoint(AgenticScopeRegistry) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
Checkpoints the current state of this scope by persisting it to the store.
checkReturnType(Method, Class) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
clearInMemory() - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
complete(T) - Method in class dev.langchain4j.agentic.internal.PendingResponse
Completes this pending response with the given value.
completeExceptionally(Throwable) - Method in class dev.langchain4j.agentic.internal.PendingResponse
Completes this pending response exceptionally.
completePendingResponse(String, Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Completes a PendingResponse stored in this scope's state.
completePendingResponse(String, Object) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
ComposedAgentListener - Class in dev.langchain4j.agentic.observability
 
ComposedAgentListener(AgentListener...) - Constructor for class dev.langchain4j.agentic.observability.ComposedAgentListener
 
composeWithInherited(AgentListener, AgentListener) - Static method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
condition() - Method in record class dev.langchain4j.agentic.workflow.ConditionalAgent
Returns the value of the condition record component.
ConditionalAgent - Record Class in dev.langchain4j.agentic.workflow
 
ConditionalAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of a conditional agent, generally used to route the agentic workflow toward one or more sub-agents according to the verification of their activation conditions.
ConditionalAgent(String, Predicate, List) - Constructor for record class dev.langchain4j.agentic.workflow.ConditionalAgent
Creates an instance of a ConditionalAgent record class.
ConditionalAgentInstance - Interface in dev.langchain4j.agentic.workflow
 
conditionalAgents - Variable in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
ConditionalAgentService<T> - Interface in dev.langchain4j.agentic.workflow
 
ConditionalAgentServiceImpl<T> - Class in dev.langchain4j.agentic.workflow.impl
 
ConditionalAgentServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
conditionalBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an untyped agent implementing a conditional workflow of its subagents.
conditionalBuilder() - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
conditionalBuilder() - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
conditionalBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing a conditional workflow of its subagents that can be invoked in a strongly typed way through the provided agent service interface.
conditionalBuilder(Class) - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
conditionalBuilder(Class) - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
ConditionalPlanner - Record Class in dev.langchain4j.agentic.workflow.impl
 
ConditionalPlanner(List) - Constructor for record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
Creates an instance of a ConditionalPlanner record class.
conditionalSubagents() - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentInstance
 
conditionalSubagents() - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
Returns the value of the conditionalSubagents record component.
conditionalSubagents() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
configureAgent(Class, AgentBuilder) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
configureAgent(Class, ChatModel, AgentBuilder, Consumer) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
configureOutput(Class, AgenticService) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
contains(AgentListener) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
contentRetriever(ContentRetriever) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
ContentRetrieverSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of content retriever that an agent can utilize during its operation.
context() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
context(Function) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
Context - Class in dev.langchain4j.agentic.internal
 
Context() - Constructor for class dev.langchain4j.agentic.internal.Context
 
Context.AgenticScopeContextGenerator - Class in dev.langchain4j.agentic.internal
 
Context.ContextSummarizer - Interface in dev.langchain4j.agentic.internal
 
Context.Summarizer - Class in dev.langchain4j.agentic.internal
 
Context.Summary - Class in dev.langchain4j.agentic.internal
 
contextAsConversation(Object...) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns the conversation context as a human-readable string, optionally filtered by agent instances.
contextAsConversation(Object...) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
contextAsConversation(String...) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns the conversation context as a human-readable string, optionally filtered by agent names.
contextAsConversation(String...) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
contextGenerationStrategy(SupervisorContextStrategy) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
contextGenerationStrategy(SupervisorContextStrategy) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
contextStrategy() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Strategy for providing context to the supervisor agent.
create(Object) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
createAgenticSystem(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an instance of an agentic system defined through the declarative API.
createAgenticSystem(Class, ChatModel) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an instance of an agentic system defined through the declarative API and using the provided ChatModel.
createAgenticSystem(Class, ChatModel, Consumer) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an instance of an agentic system defined through the declarative API and using the provided ChatModel.
createAgenticSystem(Class, Consumer) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an instance of an agentic system defined through the declarative API.
createBuiltInAgentExecutor(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
 
createEphemeralAgenticScope() - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 

D

DeclarativeUtil - Class in dev.langchain4j.agentic.declarative
 
DefaultAgenticScope - Class in dev.langchain4j.agentic.scope
 
DefaultAgenticScope.AgentMessage - Record Class in dev.langchain4j.agentic.scope
 
DefaultAgenticScope.Kind - Enum Class in dev.langchain4j.agentic.scope
 
DefaultConditionalAgentInstance - Class in dev.langchain4j.agentic.workflow.impl
 
DefaultConditionalAgentInstance(AgentInstance, ConditionalPlanner) - Constructor for class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
DefaultDeclarativeAgentCreationContext(Class, AgentBuilder) - Constructor for record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Creates an instance of a DefaultDeclarativeAgentCreationContext record class.
defaultKeyValue(Class, K) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
defaultKeyValue(String, Object) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
DefaultLoopAgentInstance - Class in dev.langchain4j.agentic.workflow.impl
 
DefaultLoopAgentInstance(AgentInstance, LoopPlanner) - Constructor for class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
defaultValue() - Method in interface dev.langchain4j.agentic.declarative.TypedKey
Returns the default value for this state.
defaultValue() - Method in record class dev.langchain4j.agentic.planner.AgentArgument
Returns the value of the defaultValue record component.
DelayedResponse<T> - Interface in dev.langchain4j.agentic.internal
 
delete(AgenticScopeKey) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeStore
Deletes a AgenticScope by its ID.
description - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
description() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
description() - Element in annotation interface dev.langchain4j.agentic.Agent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.ActivationCondition
Description of the activation condition.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.ConditionalAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.ExitCondition
Description of the exit condition.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelMapperAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.PlannerAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.SequenceAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Description of the agent.
description() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
description() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
description() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
description() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
description() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
description() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
description() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the description record component.
description() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
description() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
description(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
description(String) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
description(String) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
description(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
description(String) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
dev.langchain4j.agentic - package dev.langchain4j.agentic
 
dev.langchain4j.agentic.agent - package dev.langchain4j.agentic.agent
 
dev.langchain4j.agentic.declarative - package dev.langchain4j.agentic.declarative
 
dev.langchain4j.agentic.internal - package dev.langchain4j.agentic.internal
 
dev.langchain4j.agentic.observability - package dev.langchain4j.agentic.observability
 
dev.langchain4j.agentic.planner - package dev.langchain4j.agentic.planner
 
dev.langchain4j.agentic.scope - package dev.langchain4j.agentic.scope
 
dev.langchain4j.agentic.supervisor - package dev.langchain4j.agentic.supervisor
 
dev.langchain4j.agentic.workflow - package dev.langchain4j.agentic.workflow
 
dev.langchain4j.agentic.workflow.impl - package dev.langchain4j.agentic.workflow.impl
 
done() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
done() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
done() - Method in interface dev.langchain4j.agentic.planner.Planner
 
done(Object) - Method in interface dev.langchain4j.agentic.planner.Planner
 
DoneAction() - Constructor for class dev.langchain4j.agentic.planner.Action.DoneAction
 
DoneWithResultAction(Object) - Constructor for class dev.langchain4j.agentic.planner.Action.DoneWithResultAction
 
duration() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 

E

EPHEMERAL - Enum constant in enum class dev.langchain4j.agentic.scope.DefaultAgenticScope.Kind
 
ephemeralAgenticScope() - Static method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
equals(Object) - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
equals(Object) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
equals(Object) - Method in record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.observability.AgentRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.planner.AgentArgument
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.planner.PlanningContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.workflow.ConditionalAgent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
Indicates whether some other object is "equal to" this one.
error() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Returns the value of the error record component.
error() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
ErrorContext - Record Class in dev.langchain4j.agentic.agent
 
ErrorContext(String, AgenticScope, AgentInvocationException) - Constructor for record class dev.langchain4j.agentic.agent.ErrorContext
Creates an instance of a ErrorContext record class.
errorHandler - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
errorHandler(Function) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
errorHandler(Function) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
errorHandler(Function) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
ErrorHandler - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an error handler for a workflow agent.
ErrorRecoveryResult - Record Class in dev.langchain4j.agentic.agent
 
ErrorRecoveryResult(ErrorRecoveryResult.Type, Object) - Constructor for record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Creates an instance of a ErrorRecoveryResult record class.
ErrorRecoveryResult.Type - Enum Class in dev.langchain4j.agentic.agent
 
evict(Object, AgentListener) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
evictAgenticScope(Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeAccess
Evicts the AgenticScope with the given id.
exception() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns the value of the exception record component.
execute(DefaultAgenticScope, PlannerExecutor) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
executeToolsConcurrently() - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
executeToolsConcurrently(Executor) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
executionState() - Method in interface dev.langchain4j.agentic.planner.Planner
Returns the planner's current execution state as a map of serializable values.
executionState() - Method in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
executionState() - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
executionState() - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
executor - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
executor(Executor) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
executor(Executor) - Method in interface dev.langchain4j.agentic.workflow.ParallelAgentService
 
executor(Executor) - Method in interface dev.langchain4j.agentic.workflow.ParallelMapperService
 
exitCondition - Variable in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
exitCondition() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
exitCondition() - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
exitCondition() - Method in interface dev.langchain4j.agentic.workflow.LoopAgentInstance
 
exitCondition(String, BiPredicate) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
exitCondition(String, BiPredicate) - Method in interface dev.langchain4j.agentic.workflow.LoopAgentService
 
exitCondition(String, Predicate) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
exitCondition(String, Predicate) - Method in interface dev.langchain4j.agentic.workflow.LoopAgentService
 
exitCondition(BiPredicate) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
exitCondition(BiPredicate) - Method in interface dev.langchain4j.agentic.workflow.LoopAgentService
 
exitCondition(Predicate) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
exitCondition(Predicate) - Method in interface dev.langchain4j.agentic.workflow.LoopAgentService
 
ExitCondition - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an exit predicate for a loop in a loop-based agent.
exitConditionDescription - Variable in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 

F

failedExecutions() - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
failedExecutionsFor(AgenticScope) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
failedExecutionsFor(Object) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
finishTime() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
firstAction(PlanningContext) - Method in interface dev.langchain4j.agentic.planner.Planner
 
firstAction(PlanningContext) - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
 
firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperPlanner
 
firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelPlanner
 
fromJson(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeJsonCodec
Deserializes a JSON string to a DefaultAgenticScope object.
fromJson(String) - Static method in class dev.langchain4j.agentic.scope.AgenticScopeSerializer
Deserializes a JSON string into a AgenticScope object.
fromMethod(InternalAgent, Method) - Static method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
fromSpec(AgentSpecsProvider, Method, String) - Static method in interface dev.langchain4j.agentic.internal.AgentInvoker
 

G

generateReport(AgentMonitor) - Static method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
 
generateReport(AgentMonitor, Object) - Static method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
 
generateReport(AgentMonitor, Object, Path) - Static method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
 
generateReport(AgentMonitor, Path) - Static method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
 
generateTopology(Object) - Static method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
 
generateTopology(Object, Path) - Static method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
 
get() - Static method in interface dev.langchain4j.agentic.internal.A2AService
 
get() - Static method in interface dev.langchain4j.agentic.internal.McpService
 
get(Object) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
getAgenticScope(Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeAccess
Returns the AgenticScope with the given id for this AI service or null if such memory doesn't exist.
getAgentName() - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
getAllAgenticScopeKeysInMemory() - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
getAllKeys() - Method in interface dev.langchain4j.agentic.scope.AgenticScopeStore
Gets all available AgenticScope .
getAnnotatedMethodOnClass(Class, Class) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
getArguments() - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
getOrCreateAgent(String, Function) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
getScore1() - Method in class dev.langchain4j.agentic.supervisor.ResponseScore
 
getScore2() - Method in class dev.langchain4j.agentic.supervisor.ResponseScore
 
getSummary() - Method in class dev.langchain4j.agentic.internal.Context.Summary
 
getVariableName(Parameter) - Method in class dev.langchain4j.agentic.internal.AgenticParameterNameResolver
 

H

hallucinatedToolNameStrategy(Function) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
handleError(String, AgentInvocationException) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
hasError() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
hashCode() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Returns a hash code value for this object.
hashCode() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
hashCode() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Returns a hash code value for this object.
hashCode() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
hashCode() - Method in record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.planner.AgentArgument
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.planner.PlanningContext
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.workflow.ConditionalAgent
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
Returns a hash code value for this object.
hasState(Class) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Checks whether the shared state contains a non-blank value for the given typed key.
hasState(Class) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
hasState(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Checks whether the shared state contains a non-blank value for the given key.
hasState(String) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
hasVariableName(Parameter) - Method in class dev.langchain4j.agentic.internal.AgenticParameterNameResolver
 
HtmlReportGenerator - Record Class in dev.langchain4j.agentic.observability
Generates HTML reports for agent executions.
HtmlReportGenerator(AgentMonitor, AgentInstance, Object) - Constructor for record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Creates an instance of a HtmlReportGenerator record class.
HUMAN_IN_THE_LOOP - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
HumanInTheLoop - Record Class in dev.langchain4j.agentic.workflow
 
HumanInTheLoop - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a human-in-the-loop agent.
HumanInTheLoop(String, String, boolean, Function, AgentListener) - Constructor for record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Creates an instance of a HumanInTheLoop record class.
HumanInTheLoop.HumanInTheLoopBuilder - Class in dev.langchain4j.agentic.workflow
 
humanInTheLoopBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing the human-in-the-loop pattern.
HumanInTheLoopBuilder() - Constructor for class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 

I

inheritedBySubagents() - Method in interface dev.langchain4j.agentic.observability.AgentListener
Indicates whether this listener should be used only to the agent where it is registered (default) or also inherited by its subagents.
inheritedBySubagents() - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
inheritedBySubagents() - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
init(InitPlanningContext) - Method in interface dev.langchain4j.agentic.planner.Planner
 
init(InitPlanningContext) - Method in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
init(InitPlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
init(InitPlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperPlanner
 
init(InitPlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelPlanner
 
init(InitPlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
InitPlanningContext - Record Class in dev.langchain4j.agentic.planner
 
InitPlanningContext(AgenticScope, AgentInstance, List) - Constructor for record class dev.langchain4j.agentic.planner.InitPlanningContext
Creates an instance of a InitPlanningContext record class.
input() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns the value of the input record component.
inputGuardrailClasses(Class...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
inputGuardrails(I...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
inputGuardrailsConfig(InputGuardrailsConfig) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
inputKey(Class, String) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
inputKeys(Class, String, Class, String) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
inputKeys(Class, String, Class, String, Class, String) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
inputKeys(Class, String, Class, String, Class, String, Class, String) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
inputKeys(String...) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
inputKeys(String...) - Method in interface dev.langchain4j.agentic.internal.McpClientBuilder
 
inputs() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
inputs() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Returns the value of the inputs record component.
inputs() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
Returns the value of the inputs record component.
inputs() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns the value of the inputs record component.
inputs(AgentArgument...) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
INSTANCE - Enum constant in enum class dev.langchain4j.agentic.scope.AgenticScopePersister
 
INSTANCE - Enum constant in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
InternalAgent - Interface in dev.langchain4j.agentic.internal
 
invoke(DefaultAgenticScope, Object, AgentInvocationArguments) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
invoke(DefaultAgenticScope, Object, AgentInvocationArguments) - Method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
invoke(Object, Method, Object[]) - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
invoke(Object, Method, Object[]) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
invoke(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgent
 
invoke(Map) - Method in interface dev.langchain4j.agentic.UntypedAgent
 
invokeStatic(Method, Object...) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
invokeWithAgenticScope(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgent
 
invokeWithAgenticScope(Map) - Method in interface dev.langchain4j.agentic.UntypedAgent
 
isDone() - Method in class dev.langchain4j.agentic.internal.AsyncResponse
 
isDone() - Method in interface dev.langchain4j.agentic.internal.DelayedResponse
 
isDone() - Method in class dev.langchain4j.agentic.internal.PendingResponse
 
isDone() - Method in class dev.langchain4j.agentic.internal.StreamingResponse
 
isDone() - Method in class dev.langchain4j.agentic.planner.Action.AgentCallAction
 
isDone() - Method in class dev.langchain4j.agentic.planner.Action.DoneAction
 
isDone() - Method in class dev.langchain4j.agentic.planner.Action.DoneWithResultAction
 
isDone() - Method in interface dev.langchain4j.agentic.planner.Action
 
itemsProvider() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelMapperAgent
Variable name referencing a collection in the agentic scope.
itemsProvider(String) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
itemsProvider(String) - Method in interface dev.langchain4j.agentic.workflow.ParallelMapperService
 
iterationIndex() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
Returns the zero-based iteration index when this invocation is part of a loop, or -1 otherwise.

K

K - Annotation Interface in dev.langchain4j.agentic.declarative
A parameter of an agentic method is annotated with @K to indicate that it is populated with the value of a key representing a specific typed state in the agentic system.
keyDefaultValue(Class) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
keyName(Class) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 

L

LAST - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorResponseStrategy
Return only the final response of the last invoked sub-agent (default).
lastChatRequest(Object) - Method in interface dev.langchain4j.agentic.agent.ChatMessagesAccess
 
lastChatResponse(Object) - Method in interface dev.langchain4j.agentic.agent.ChatMessagesAccess
 
lastUserMessage(Object) - Method in interface dev.langchain4j.agentic.agent.ChatMessagesAccess
 
leaf() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
leaf() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
leaf() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
listener() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
listener() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
listener() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
listener() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
listener() - Method in interface dev.langchain4j.agentic.internal.InternalAgent
 
listener() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
listener() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
listener() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the listener record component.
listener(AgentListener) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
listener(AgentListener) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
listener(AgentListener) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
listener(AgentListener) - Method in interface dev.langchain4j.agentic.internal.McpClientBuilder
 
listener(AgentListener) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
listener(AgentListener) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
listener(AgentListener) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
ListenerNotifierUtil - Class in dev.langchain4j.agentic.observability
 
listenerOfType(AgentListener, Class) - Static method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
listeners() - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
load(AgenticScopeKey) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeStore
Loads a AgenticScope by its ID.
LOOP - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
LOOP_COUNTER_ARG_NAME - Static variable in class dev.langchain4j.agentic.internal.AgentUtil
 
LoopAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of a loop agent, used to orchestrate the agentic workflow by invoking a series of sub-agents in a loop until a certain predicate is met or a maximum number of iterations is reached.
LoopAgentInstance - Interface in dev.langchain4j.agentic.workflow
 
LoopAgentService<T> - Interface in dev.langchain4j.agentic.workflow
 
LoopAgentServiceImpl<T> - Class in dev.langchain4j.agentic.workflow.impl
 
LoopAgentServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
loopBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an untyped agent implementing a loop workflow of its subagents.
loopBuilder() - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
loopBuilder() - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
loopBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing a loop workflow of its subagents that can be invoked in a strongly typed way through the provided agent service interface.
loopBuilder(Class) - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
loopBuilder(Class) - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
LoopCounter - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a parameter that will receive the current loop iteration count in a loop-based agent.
LoopPlanner - Class in dev.langchain4j.agentic.workflow.impl
 
LoopPlanner(int, boolean, BiPredicate, String) - Constructor for class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 

M

MapperAgentInvoker - Class in dev.langchain4j.agentic.internal
Wraps an existing AgentInvoker to inject a specific item from a collection into the agent's invocation arguments.
MapperAgentInvoker(AgentInvoker, Object, int) - Constructor for class dev.langchain4j.agentic.internal.MapperAgentInvoker
 
maxAgentsInvocations() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Maximum number of sub-agent invocations allowed during a single supervisor agent execution.
maxAgentsInvocations(int) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
maxAgentsInvocations(int) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
maxIterations - Variable in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
maxIterations() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Maximum number of iterations the loop will execute.
maxIterations() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
maxIterations() - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
maxIterations() - Method in interface dev.langchain4j.agentic.workflow.LoopAgentInstance
 
maxIterations(int) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
maxIterations(int) - Method in interface dev.langchain4j.agentic.workflow.LoopAgentService
 
maxSequentialToolsInvocations(int) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
mcpBuilder(Object, Class) - Method in class dev.langchain4j.agentic.internal.McpService.DummyMcpService
 
mcpBuilder(Object, Class) - Method in interface dev.langchain4j.agentic.internal.McpService
 
McpClientAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an MCP client agent that wraps a single MCP tool as a non-AI agent.
McpClientBuilder<T> - Interface in dev.langchain4j.agentic.internal
 
McpClientSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a static method that returns the McpClient instance for declarative MCP client agents.
McpService - Interface in dev.langchain4j.agentic.internal
 
McpService.DummyMcpService - Class in dev.langchain4j.agentic.internal
 
McpService.Provider - Class in dev.langchain4j.agentic.internal
 
MEMORY_ID_ARG_NAME - Static variable in class dev.langchain4j.agentic.internal.AgentUtil
 
memoryId() - Method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Returns the value of the memoryId record component.
memoryId() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
Returns the memory ID that identifies the session this execution belongs to.
memoryId() - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns the unique memory identifier for this scope.
memoryId() - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
Returns the value of the memoryId record component.
memoryId() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
message() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns the value of the message record component.
method - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
method() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
method() - Method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
MethodAgentInvoker - Class in dev.langchain4j.agentic.internal
 
MethodAgentInvoker(Method, InternalAgent) - Constructor for class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
methodToAgentExecutor(InternalAgent, Method) - Method in class dev.langchain4j.agentic.internal.A2AService.DummyA2AService
 
methodToAgentExecutor(InternalAgent, Method) - Method in interface dev.langchain4j.agentic.internal.A2AService
 
methodToAgentExecutor(InternalAgent, Method) - Method in class dev.langchain4j.agentic.internal.McpService.DummyMcpService
 
methodToAgentExecutor(InternalAgent, Method) - Method in interface dev.langchain4j.agentic.internal.McpService
 
MissingArgumentException - Exception Class in dev.langchain4j.agentic.agent
 
MissingArgumentException(String) - Constructor for exception class dev.langchain4j.agentic.agent.MissingArgumentException
 
monitor() - Method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Returns the value of the monitor record component.
MonitoredAgent - Interface in dev.langchain4j.agentic.observability
Interface that agent service interfaces can extend to automatically register an AgentMonitor as a listener.
MonitoredExecution - Class in dev.langchain4j.agentic.observability
Represents a monitored execution of an agentic system, tracking the top-level agent invocation and any other nested invocations, along with all the invocation currently in progress and any errors that occur during execution.

N

name - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
name() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
name() - Element in annotation interface dev.langchain4j.agentic.Agent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.ConditionalAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelMapperAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.PlannerAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.SequenceAgent
Name of the agent.
name() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Name of the agent.
name() - Method in interface dev.langchain4j.agentic.declarative.TypedKey
Returns the name of this state used inside the agentic system and for prompt templating.
name() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
name() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
name() - Method in class dev.langchain4j.agentic.internal.MapperAgentInvoker
 
name() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
name() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
name() - Method in record class dev.langchain4j.agentic.planner.AgentArgument
Returns the value of the name record component.
name() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
name() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
name() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
name(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
name(String) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
name(String) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
name(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
namedArgs() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Returns the value of the namedArgs record component.
nestedInvocations() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
nextAction(PlanningContext) - Method in interface dev.langchain4j.agentic.planner.Planner
 
nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
nextAction(PlanningContext) - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
 
nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperPlanner
 
nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelPlanner
 
nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
NON_AI_AGENT - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
NonAiAgentInstance - Class in dev.langchain4j.agentic.internal
 
NonAiAgentInstance(Class, String, String, Type, String, boolean, List, AgentListener) - Constructor for class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
nonAiAgentInvoker(Method, String, String, String, boolean) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
nonAiAgentToExecutor(Object, Method) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
noOp() - Method in interface dev.langchain4j.agentic.planner.Planner
 
NoOpAction() - Constructor for class dev.langchain4j.agentic.planner.Action.NoOpAction
 
NoTypedKey() - Constructor for class dev.langchain4j.agentic.Agent.NoTypedKey
 

O

onAgentInvocationError(AgentInvocationError) - Method in interface dev.langchain4j.agentic.observability.AgentListener
 
onAgentInvocationError(AgentInvocationError) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
onAgentInvocationError(AgentInvocationError) - Method in class dev.langchain4j.agentic.observability.ComposedAgentListener
 
ongoingExecutionFor(AgenticScope) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
ongoingExecutionFor(Object) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
ongoingExecutions() - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
ongoingInvocations() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
onSubagentInvoked(AgentInvocation) - Method in interface dev.langchain4j.agentic.internal.PlannerExecutor
 
optional() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
optional() - Element in annotation interface dev.langchain4j.agentic.Agent
If true, the agent's execution will be silently skipped when any of its arguments is missing in the agentic scope, instead of making the agentic system's execution fail.
optional() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
optional() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
optional() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
optional(boolean) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
optionalParameterName(Parameter) - Static method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
output - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
output() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
output() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns the value of the output record component.
output() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns the value of the output record component.
output(Function) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
output(Function) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
output(Function) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
Output - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as the output definition of a workflow agent, generally combining results from different states of the AgenticScope.
outputGuardrailClasses(Class...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
outputGuardrails(O...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
outputGuardrailsConfig(OutputGuardrailsConfig) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
outputKey - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
outputKey() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
outputKey() - Element in annotation interface dev.langchain4j.agentic.Agent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.ConditionalAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelMapperAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.PlannerAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.SequenceAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Key of the output variable that will be used to store the result of the agent's invocation.
outputKey() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
outputKey() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
outputKey() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
outputKey() - Method in class dev.langchain4j.agentic.internal.MapperAgentInvoker
 
outputKey() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
outputKey() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
outputKey() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
outputKey() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the outputKey record component.
outputKey() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
outputKey() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
outputKey(Class) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
outputKey(Class) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
outputKey(Class) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
outputKey(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
outputKey(String) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
outputKey(String) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
outputKey(String) - Method in interface dev.langchain4j.agentic.internal.McpClientBuilder
 
outputKey(String) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
outputKey(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
outputKey(String) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
outputKey(String, Class) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
outputType() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
outputType() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
outputType() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
outputType() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
outputType() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
outputType() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
outputType() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
outputType() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 

P

PARALLEL - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
ParallelAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of a parallel agent, used to orchestrate the agentic workflow by invoking a series of sub-agents in parallel.
ParallelAgentService<T> - Interface in dev.langchain4j.agentic.workflow
 
ParallelAgentServiceImpl<T> - Class in dev.langchain4j.agentic.workflow.impl
 
ParallelAgentServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl
 
parallelBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an untyped agent implementing a parallel workflow of its subagents.
parallelBuilder() - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
parallelBuilder() - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
parallelBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing a parallel workflow of its subagents that can be invoked in a strongly typed way through the provided agent service interface.
parallelBuilder(Class) - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
parallelBuilder(Class) - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
ParallelExecutor - Annotation Interface in dev.langchain4j.agentic.declarative
Used in combination with ParallelAgent to specify the executor that will be used to run the sub-agents in parallel.
ParallelMapperAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of a parallel multi-instance agent, used to orchestrate the agentic workflow by creating multiple instances of the same sub-agent, one for each item in a collection read from the agentic scope.
parallelMapperBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an untyped agent implementing a parallel mapper workflow that creates multiple instances of the same sub-agent, one per item in a collection.
parallelMapperBuilder() - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
parallelMapperBuilder() - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
parallelMapperBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing a parallel mapper workflow that creates multiple instances of the same sub-agent, one per item in a collection, and can be invoked in a strongly typed way through the provided agent service interface.
parallelMapperBuilder(Class) - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
parallelMapperBuilder(Class) - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
ParallelMapperPlanner - Class in dev.langchain4j.agentic.workflow.impl
 
ParallelMapperPlanner(String, boolean, Class) - Constructor for class dev.langchain4j.agentic.workflow.impl.ParallelMapperPlanner
 
ParallelMapperService<T> - Interface in dev.langchain4j.agentic.workflow
 
ParallelMapperServiceImpl<T> - Class in dev.langchain4j.agentic.workflow.impl
 
ParallelMapperServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
ParallelPlanner - Class in dev.langchain4j.agentic.workflow.impl
 
ParallelPlanner() - Constructor for class dev.langchain4j.agentic.workflow.impl.ParallelPlanner
 
parameterName(Parameter) - Static method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
parent() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
parent() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
parent() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
parent() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
parent() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
parent() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
parent() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
parent() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
PendingResponse<T> - Class in dev.langchain4j.agentic.internal
A DelayedResponse that can be completed externally, without spawning a background thread.
PendingResponse(String) - Constructor for class dev.langchain4j.agentic.internal.PendingResponse
Creates a new pending response with the given unique identifier.
pendingResponseIds() - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns the identifiers of all PendingResponse instances stored in this scope's state that have not yet been completed.
pendingResponseIds() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
PERSISTENT - Enum constant in enum class dev.langchain4j.agentic.scope.DefaultAgenticScope.Kind
 
plan(Object, String, String, String, String) - Method in interface dev.langchain4j.agentic.supervisor.PlannerAgent
 
planner(Supplier) - Method in interface dev.langchain4j.agentic.planner.PlannerBasedService
 
planner(Supplier) - Method in class dev.langchain4j.agentic.planner.PlannerBasedServiceImpl
 
Planner - Interface in dev.langchain4j.agentic.planner
 
plannerAgent() - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
Returns the value of the plannerAgent record component.
PlannerAgent - Interface in dev.langchain4j.agentic.supervisor
 
PlannerAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of an agent based on a custom planner.
PlannerBasedInvocationHandler - Class in dev.langchain4j.agentic.internal
 
PlannerBasedInvocationHandler(AbstractServiceBuilder, Supplier) - Constructor for class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
PlannerBasedService<T> - Interface in dev.langchain4j.agentic.planner
 
PlannerBasedServiceImpl<T> - Class in dev.langchain4j.agentic.planner
 
PlannerBasedServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.planner.PlannerBasedServiceImpl
 
plannerBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for a customizable planner agent service.
plannerBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for a customizable planner agent service.
PlannerExecutor - Interface in dev.langchain4j.agentic.internal
 
PlannerSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of the planner for a planner based agent.
plannerType() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
plannerType() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
plannerType() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
plannerType() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
plannerType() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
plannerType() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
plannerType() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
plannerType() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
PlanningContext - Record Class in dev.langchain4j.agentic.planner
 
PlanningContext(AgenticScope, AgentInvocation) - Constructor for record class dev.langchain4j.agentic.planner.PlanningContext
Creates an instance of a PlanningContext record class.
positionalArgs() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Returns the value of the positionalArgs record component.
predicate() - Method in record class dev.langchain4j.agentic.workflow.ConditionalAgent
Returns the value of the predicate record component.
predicateMethod(Class, Predicate) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
previousAgentInvocation() - Method in record class dev.langchain4j.agentic.planner.PlanningContext
Returns the value of the previousAgentInvocation record component.
propagateStreaming() - Method in interface dev.langchain4j.agentic.internal.PlannerExecutor
 

R

rawType() - Method in record class dev.langchain4j.agentic.planner.AgentArgument
 
rawType(Type) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
readState(Class) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Reads the value associated with the given typed key from the shared state.
readState(Class) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
readState(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Reads the value associated with the given key from the shared state.
readState(String) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
readState(String, T) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Reads the value associated with the given key from the shared state, returning a default value if the key is not present.
readState(String, T) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
registerAgentInvocation(AgentInvocation, Object) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
REGISTERED - Enum constant in enum class dev.langchain4j.agentic.scope.DefaultAgenticScope.Kind
 
registerInheritedParentListener(AgentListener) - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
registerInheritedParentListener(AgentListener) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
registerInheritedParentListener(AgentListener) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
registerInheritedParentListener(AgentListener) - Method in interface dev.langchain4j.agentic.internal.InternalAgent
 
registerInheritedParentListener(AgentListener) - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
registerInheritedParentListener(AgentListener) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
registry() - Method in interface dev.langchain4j.agentic.internal.AgenticScopeOwner
 
removeLastResponseEvent(Object) - Method in interface dev.langchain4j.agentic.agent.ChatMessagesAccess
 
requestGenerator(Function) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
requestGenerator(Function) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
ResponseAgent - Interface in dev.langchain4j.agentic.supervisor
 
responseId() - Method in class dev.langchain4j.agentic.internal.PendingResponse
Returns the unique identifier for this pending response.
responseProvider() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the responseProvider record component.
responseProvider(Function) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
responseProvider(Supplier) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
ResponseScore - Class in dev.langchain4j.agentic.supervisor
 
ResponseScore() - Constructor for class dev.langchain4j.agentic.supervisor.ResponseScore
 
responseStrategy() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Strategy to decide which response the supervisor agent should return.
responseStrategy(SupervisorResponseStrategy) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
responseStrategy(SupervisorResponseStrategy) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
restoreExecutionState(Map) - Method in interface dev.langchain4j.agentic.planner.Planner
Restores the planner's execution state from a previously saved map.
restoreExecutionState(Map) - Method in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
restoreExecutionState(Map) - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
restoreExecutionState(Map) - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
result() - Method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Returns the value of the result record component.
result() - Method in interface dev.langchain4j.agentic.internal.DelayedResponse
 
result() - Method in class dev.langchain4j.agentic.planner.Action.DoneWithResultAction
 
result() - Method in interface dev.langchain4j.agentic.planner.Action
 
result() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Returns the value of the result record component.
result(Object) - Static method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
 
ResultWithAgenticScope<T> - Record Class in dev.langchain4j.agentic.scope
Holds the result of an agent invocation along with its associated AgenticScope.
ResultWithAgenticScope(AgenticScope, T) - Constructor for record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Creates an instance of a ResultWithAgenticScope record class.
retrievalAugmentor(RetrievalAugmentor) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
RetrievalAugmentorSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of a retrieval augmentor that an agent can utilize during its operation.
retry() - Static method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
 
RETRY - Enum constant in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
 
RETURN_RESULT - Enum constant in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
 
returnType - Variable in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
returnType(Class) - Method in class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
rootAgent() - Method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Returns the value of the rootAgent record component.
rootCallEnded(AgenticScopeRegistry, AgentListener) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
rootCallStarted(AgenticScopeRegistry) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
ROUTER - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
run() - Method in interface dev.langchain4j.agentic.AgenticServices.AgentAction.NonThrowingRunnable
 
run() - Method in class dev.langchain4j.agentic.AgenticServices.AgentAction
 

S

save(AgenticScopeKey, DefaultAgenticScope) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeStore
Saves or updates a AgenticScope instance.
SCORED - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorResponseStrategy
Use an internal LLM to score the last response and the summarization of the interaction of the supervisor with its sub-agents against the original user request, and return the one with the higher score.
scoreResponses(String, String, String) - Method in interface dev.langchain4j.agentic.supervisor.ResponseAgent
 
selectMethod(Class, Predicate) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
SEQUENCE - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
SequenceAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of a sequence agent, used to orchestrate the agentic workflow by invoking a series of sub-agents in a predefined order.
sequenceBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an untyped agent implementing a workflow sequence of its subagents.
sequenceBuilder() - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
sequenceBuilder() - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
sequenceBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing a workflow sequence of its subagents that can be invoked in a strongly typed way through the provided agent service interface.
sequenceBuilder(Class) - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
sequenceBuilder(Class) - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
SequentialAgentService<T> - Interface in dev.langchain4j.agentic.workflow
 
SequentialAgentServiceImpl<T> - Class in dev.langchain4j.agentic.workflow.impl
 
SequentialAgentServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.workflow.impl.SequentialAgentServiceImpl
 
SequentialPlanner - Class in dev.langchain4j.agentic.workflow.impl
 
SequentialPlanner() - Constructor for class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
SERVICE_TYPE - Static variable in class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
serviceType() - Method in class dev.langchain4j.agentic.planner.PlannerBasedServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperServiceImpl
 
serviceType() - Method in class dev.langchain4j.agentic.workflow.impl.SequentialAgentServiceImpl
 
setAgentName(String) - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
setArguments(Map) - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
setParent(InternalAgent) - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
setParent(InternalAgent) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
setParent(InternalAgent) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
setParent(InternalAgent) - Method in interface dev.langchain4j.agentic.internal.InternalAgent
 
setParent(InternalAgent) - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
setParent(InternalAgent) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
setRootAgent(AgentInstance) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
setScore1(double) - Method in class dev.langchain4j.agentic.supervisor.ResponseScore
 
setScore2(double) - Method in class dev.langchain4j.agentic.supervisor.ResponseScore
 
setStore(AgenticScopeStore) - Static method in enum class dev.langchain4j.agentic.scope.AgenticScopePersister
Explicitly set a persistence provider.
setSummary(String) - Method in class dev.langchain4j.agentic.internal.Context.Summary
 
setWorkflowAgentsBuilder(WorkflowAgentsBuilder) - Static method in class dev.langchain4j.agentic.AgenticServices
Explicitly set a WorkflowAgentsBuilder.
STAR - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
 
startTime() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
state() - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Returns a live view of the entire shared state map.
state() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
streamingChatModel(StreamingChatModel) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
StreamingChatModelSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of the streaming chat model to be used by an agent.
StreamingResponse - Class in dev.langchain4j.agentic.internal
 
StreamingResponse(TokenStream) - Constructor for class dev.langchain4j.agentic.internal.StreamingResponse
 
subAgent() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelMapperAgent
The sub-agent class that will be instantiated for each item in the collection.
subAgent(String, Predicate, AgentExecutor) - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentService
 
subAgent(String, Predicate, AgentExecutor) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgent(Predicate, AgentExecutor) - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentService
 
subAgent(Predicate, AgentExecutor) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subagents - Variable in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
subagents() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
subagents() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
subagents() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
subagents() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
subagents() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
subagents() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
subagents() - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
Returns the value of the subagents record component.
subagents() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
subagents() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
subAgents() - Element in annotation interface dev.langchain4j.agentic.declarative.ConditionalAgent
Sub-agents that can be conditionally activated by this agent.
subAgents() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Array of sub-agents that will be invoked in parallel.
subAgents() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelAgent
Array of sub-agents that will be invoked in parallel.
subAgents() - Element in annotation interface dev.langchain4j.agentic.declarative.PlannerAgent
Array of sub-agents that will be invoked in sequence.
subAgents() - Element in annotation interface dev.langchain4j.agentic.declarative.SequenceAgent
Array of sub-agents that will be invoked in sequence.
subAgents() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Array of sub-agents that can be invoked by the supervisor agent.
subAgents(Object...) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
subAgents(Object...) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
subAgents(Object...) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
subAgents(Object...) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(String, Predicate, Object...) - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentService
 
subAgents(String, Predicate, Object...) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(String, Predicate, List) - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentService
 
subAgents(String, Predicate, List) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(Predicate, Object...) - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentService
 
subAgents(Predicate, Object...) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(Predicate, List) - Method in interface dev.langchain4j.agentic.workflow.ConditionalAgentService
 
subAgents(Predicate, List) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(List) - Method in class dev.langchain4j.agentic.internal.AbstractServiceBuilder
 
subAgents(List) - Method in interface dev.langchain4j.agentic.planner.AgenticService
 
subAgents(List) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
subAgents(List) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
successfulExecutions() - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
successfulExecutionsFor(AgenticScope) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
successfulExecutionsFor(Object) - Method in class dev.langchain4j.agentic.observability.AgentMonitor
 
SUMMARIZATION - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Use only a summarization of the interaction of the supervisor with its sub-agents.
summarize(String) - Method in interface dev.langchain4j.agentic.internal.Context.ContextSummarizer
 
summarizedContext() - Element in annotation interface dev.langchain4j.agentic.Agent
Names of other agents participating in the definition of the context of this agent.
summarizedContext(String...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
Summarizer(AgenticScope, ChatModel, String...) - Constructor for class dev.langchain4j.agentic.internal.Context.Summarizer
 
Summary() - Constructor for class dev.langchain4j.agentic.internal.Context.Summary
 
SUMMARY - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorResponseStrategy
Return a summarization of the interaction of the supervisor with its sub-agents.
SUPERVISOR_CONTEXT_KEY - Static variable in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
SUPERVISOR_CONTEXT_PREFIX - Static variable in class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
SupervisorAgent - Interface in dev.langchain4j.agentic.supervisor
 
SupervisorAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supervisor agent that can autonomously coordinate and invoke multiple sub-agents.
SupervisorAgentService<T> - Interface in dev.langchain4j.agentic.supervisor
 
SupervisorAgentServiceImpl<T> - Class in dev.langchain4j.agentic.supervisor
 
SupervisorAgentServiceImpl(Class, Method) - Constructor for class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
SupervisorAgentServiceImpl(Class, Method, ChatModel) - Constructor for class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
supervisorBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for a supervisor agent service that can be used to manage and supervise other agents.
supervisorBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for a supervisor agent service that can be used to manage and supervise other agents.
supervisorContext(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
supervisorContext(String) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
SupervisorContextStrategy - Enum Class in dev.langchain4j.agentic.supervisor
Strategy for providing context to the supervisor agent.
SupervisorPlanner - Class in dev.langchain4j.agentic.supervisor
 
SupervisorPlanner(ChatModel, ChatMemoryProvider, int, SupervisorContextStrategy, SupervisorResponseStrategy, Function, String, Function) - Constructor for class dev.langchain4j.agentic.supervisor.SupervisorPlanner
 
SupervisorRequest - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a definition of the request that will be sent to the supervisor.
SupervisorResponseStrategy - Enum Class in dev.langchain4j.agentic.supervisor
Strategy to decide which response the supervisor agent should return.
syncExecute(DefaultAgenticScope, PlannerExecutor) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
systemMessage(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
systemMessageProvider(Function) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
systemMessageTransformer(BiFunction) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
systemMessageTransformer(UnaryOperator) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 

T

terminated() - Method in interface dev.langchain4j.agentic.planner.Planner
 
terminated() - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
 
terminated() - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
testExitAtLoopEnd - Variable in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
testExitAtLoopEnd() - Element in annotation interface dev.langchain4j.agentic.declarative.ExitCondition
If true, the exit predicate will be tested only at the end of each loop iteration.
testExitAtLoopEnd() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
testExitAtLoopEnd() - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
testExitAtLoopEnd() - Method in interface dev.langchain4j.agentic.workflow.LoopAgentInstance
 
testExitAtLoopEnd(boolean) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl
 
testExitAtLoopEnd(boolean) - Method in interface dev.langchain4j.agentic.workflow.LoopAgentService
 
THROW_EXCEPTION - Enum constant in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
 
throwException() - Static method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
 
toInvocationArguments(AgenticScope) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
toInvocationArguments(AgenticScope) - Method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
toInvocationArguments(AgenticScope) - Method in class dev.langchain4j.agentic.internal.MapperAgentInvoker
 
toInvocationArguments(AgenticScope) - Method in class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
toInvocationArguments(AgenticScope) - Method in class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
toJson(DefaultAgenticScope) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeJsonCodec
Serializes a DefaultAgenticScope object to a JSON string.
toJson(DefaultAgenticScope) - Static method in class dev.langchain4j.agentic.scope.AgenticScopeSerializer
Serializes a AgenticScope into a JSON string.
tokenUsage() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
toolArgumentsErrorHandler(ToolArgumentsErrorHandler) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
toolExecution() - Method in record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
Returns the value of the toolExecution record component.
toolExecution() - Method in record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
Returns the value of the toolExecution record component.
toolExecutionErrorHandler(ToolExecutionErrorHandler) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
toolExecutions() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
toolName() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
Name of the MCP tool to bind and invoke as non-AI agent.
toolName(String) - Method in interface dev.langchain4j.agentic.internal.McpClientBuilder
 
toolProvider(ToolProvider) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
toolProviders(ToolProvider...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
toolProviders(Collection) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
ToolProviderSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of a tool provider that an agent can utilize during its operation.
tools(Object...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
tools(Map) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
tools(Map, Set) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
ToolsSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of tools that an agent can utilize during its operation.
topLevelInvocations() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
topology() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
topology() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
topology() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
topology() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
topology() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
topology() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
topology() - Method in interface dev.langchain4j.agentic.planner.Planner
 
topology() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
topology() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
topology() - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
 
topology() - Method in class dev.langchain4j.agentic.workflow.impl.LoopPlanner
 
topology() - Method in class dev.langchain4j.agentic.workflow.impl.ParallelMapperPlanner
 
topology() - Method in class dev.langchain4j.agentic.workflow.impl.ParallelPlanner
 
topology() - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
 
toString() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
toString() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
toString() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.internal.AsyncResponse
 
toString() - Method in class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
toString() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
toString() - Method in class dev.langchain4j.agentic.internal.PendingResponse
 
toString() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
toString() - Method in class dev.langchain4j.agentic.internal.StreamingResponse
 
toString() - Method in class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
toString() - Method in record class dev.langchain4j.agentic.observability.AfterAgentToolExecution
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
toString() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.observability.BeforeAgentToolExecution
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.observability.HtmlReportGenerator
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
 
toString() - Method in class dev.langchain4j.agentic.planner.Action.AgentCallAction
 
toString() - Method in class dev.langchain4j.agentic.planner.Action.DoneAction
 
toString() - Method in class dev.langchain4j.agentic.planner.Action.DoneWithResultAction
 
toString() - Method in record class dev.langchain4j.agentic.planner.AgentArgument
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.planner.PlanningContext
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
toString() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
toString() - Method in class dev.langchain4j.agentic.supervisor.ResponseScore
 
toString() - Method in record class dev.langchain4j.agentic.workflow.ConditionalAgent
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
Returns a string representation of this record class.
totalTokenCount() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
 
transformUserMessage(String, Object) - Method in class dev.langchain4j.agentic.internal.Context.AgenticScopeContextGenerator
 
transformUserMessage(String, Object) - Method in interface dev.langchain4j.agentic.internal.UserMessageTransformer
 
type() - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
 
type() - Method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Returns the value of the type record component.
type() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
 
type() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
 
type() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
 
type() - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
type() - Method in record class dev.langchain4j.agentic.planner.AgentArgument
Returns the value of the type record component.
type() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
 
type() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultConditionalAgentInstance
 
type() - Method in class dev.langchain4j.agentic.workflow.impl.DefaultLoopAgentInstance
 
TypedKey<T> - Interface in dev.langchain4j.agentic.declarative
A class implementing this interface represents the input or output key of an agent in a strongly typed way.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.Agent
 
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.ConditionalAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelMapperAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.PlannerAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.SequenceAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.
typedOutputKey() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Strongly typed key of the output variable that will be used to store the result of the agent's invocation.

U

UntypedAgent - Interface in dev.langchain4j.agentic
 
UntypedAgentBuilder - Class in dev.langchain4j.agentic.agent
 
UntypedAgentBuilder() - Constructor for class dev.langchain4j.agentic.agent.UntypedAgentBuilder
 
UntypedAgentInvoker - Class in dev.langchain4j.agentic.internal
 
UntypedAgentInvoker(Method, InternalAgent) - Constructor for class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
update(DefaultAgenticScope) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
userMessage(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
userMessageProvider(Function) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
UserMessageTransformer - Interface in dev.langchain4j.agentic.internal
 

V

validateAgentClass(Class) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
validateAgentClass(Class, boolean) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
validateAgentClass(Class, boolean, Class) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
value() - Element in annotation interface dev.langchain4j.agentic.Agent
Description of the agent.
value() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
Description of the agent.
value() - Element in annotation interface dev.langchain4j.agentic.declarative.ActivationCondition
One or more sub-agent classes that this activation condition applies to.
value() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
Description of the agent.
value() - Element in annotation interface dev.langchain4j.agentic.declarative.K
 
value() - Element in annotation interface dev.langchain4j.agentic.declarative.McpClientAgent
Description of the agent.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.scope.AgenticScopePersister
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.scope.DefaultAgenticScope.Kind
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.supervisor.SupervisorResponseStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.agentic.scope.AgenticScopePersister
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.agentic.scope.DefaultAgenticScope.Kind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.agentic.supervisor.SupervisorResponseStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
Returns an array containing the constants of this enum class, in the order they are declared.

W

withAgenticScope(DefaultAgenticScope) - Method in interface dev.langchain4j.agentic.internal.AgenticScopeOwner
 
withAgenticScope(DefaultAgenticScope) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
 
withErrorHandler(Function) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
WorkflowAgentsBuilder - Interface in dev.langchain4j.agentic.workflow
 
WorkflowAgentsBuilderImpl - Enum Class in dev.langchain4j.agentic.workflow.impl
 
writeState(Class, T) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Writes a value into the shared state using a strongly typed key.
writeState(Class, T) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
writeState(String, Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Writes a value into the shared state under the given key.
writeState(String, Object) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
writeStates(Map) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
Writes multiple key-value pairs into the shared state at once.
writeStates(Map) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form