Index
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(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 condition 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(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
- agent - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
- agent() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
-
Returns the value of the
agentrecord 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
agentrecord component. - agent() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
-
Returns the value of the
agentrecord component. - agent() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
-
Returns the value of the
agentrecord component. - Agent - Annotation Interface in dev.langchain4j.agentic
-
Java methods annotated with
@Agentare 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
AgentArgumentrecord class. - agentBuilder() - Method in interface dev.langchain4j.agentic.AgenticServices.DeclarativeAgentCreationContext
- agentBuilder() - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
-
Returns the value of the
agentBuilderrecord component. - agentBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
-
Creates an agent builder for the given agent service class.
- AgentBuilder<T> - Class in dev.langchain4j.agentic.agent
- AgentBuilder(Class, Method) - 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
AgentExecutorrecord 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
agenticScoperecord component. - agenticScope() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
- agenticScope() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
-
Returns the value of the
agenticScoperecord component. - agenticScope() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
-
Returns the value of the
agenticScoperecord component. - agenticScope() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
-
Returns the value of the
agenticScoperecord component. - agenticScope() - Method in class dev.langchain4j.agentic.observability.MonitoredExecution
- agenticScope() - Method in record class dev.langchain4j.agentic.planner.InitPlanningContext
-
Returns the value of the
agenticScoperecord component. - agenticScope() - Method in record class dev.langchain4j.agentic.planner.PlanningContext
-
Returns the value of the
agenticScoperecord component. - agenticScope() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
-
Returns the value of the
agenticScoperecord 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
AgenticScopeof any agent extending it. - AgenticScopeContextGenerator(AgenticScope, Function) - Constructor for class dev.langchain4j.agentic.internal.Context.AgenticScopeContextGenerator
- AgenticScopeJsonCodec - Interface in dev.langchain4j.agentic.scope
-
A codec for serializing and deserializing
DefaultAgenticScopeobjects 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
AgenticScopeKeyrecord class. - AgenticScopeOwner - Interface in dev.langchain4j.agentic.internal
- AgenticScopePersister - Enum Class in dev.langchain4j.agentic.scope
- 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.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.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
agentIdrecord component. - agentId() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
-
Returns the value of the
agentIdrecord component. - AgentInstance - Interface in dev.langchain4j.agentic.planner
- 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
AgentInvocationrecord class. - 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
AgentInvocationArgumentsrecord 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
AgentInvocationErrorrecord 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
- AgentInvocationListener - Interface in dev.langchain4j.agentic.internal
- agentInvocations() - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- agentInvocations() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- agentInvocations(Class) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- agentInvocations(Class) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- agentInvocations(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- 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
agentInvokerrecord 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.
- AgentListenerProvider - Interface in dev.langchain4j.agentic.observability
- 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
AgentMessagerecord class. - AgentMonitor - Class in dev.langchain4j.agentic.observability
- AgentMonitor() - Constructor for class dev.langchain4j.agentic.observability.AgentMonitor
- agentName() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
-
Returns the value of the
agentNamerecord 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
agentNamerecord component. - agentName() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
-
Returns the value of the
agentNamerecord 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
AgentRequestrecord class. - AgentResponse - Record Class in dev.langchain4j.agentic.observability
- AgentResponse(AgenticScope, AgentInstance, Map, Object) - Constructor for record class dev.langchain4j.agentic.observability.AgentResponse
-
Creates an instance of a
AgentResponserecord 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
agentServiceClassrecord 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
agentTyperecord component. - AgentUtil - Class in dev.langchain4j.agentic.internal
- 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(ChatRequest) - Method in class dev.langchain4j.agentic.internal.UserMessageRecorder
- 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
- argumentsFromMethod(Method) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
- argumentsFromMethod(Method, Map) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
- askUser(Object) - 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() - 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
asyncrecord component. - async(boolean) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
- async(boolean) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
- 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
- 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
- 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.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.SequentialAgentServiceImpl
- 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
- 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.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.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
ChatMemoryand 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
ChatMemoryProviderthat 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.
- checkArguments(Method, Class...) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
- checkReturnType(Method, Class) - Static method in class dev.langchain4j.agentic.declarative.DeclarativeUtil
- clearInMemory() - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
- 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
- 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.
- conditionalAgents() - Method in record class dev.langchain4j.agentic.workflow.impl.ConditionalPlanner
-
Returns the value of the
conditionalAgentsrecord component. - 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
ConditionalPlannerrecord class. - 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
- 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
- contextAsConversation(Object...) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- contextAsConversation(String...) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- 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.
- 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
- DefaultDeclarativeAgentCreationContext(Class, AgentBuilder) - Constructor for record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
-
Creates an instance of a
DefaultDeclarativeAgentCreationContextrecord class. - defaultKeyValue(Class, K) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
- defaultKeyValue(String, Object) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
- 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
defaultValuerecord component. - 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.ConditionalAgent
-
Description of the agent.
- 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.ParallelAgent
-
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
descriptionrecord component. - 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
- 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.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.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.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
errorrecord 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
ErrorContextrecord 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
ErrorRecoveryResultrecord 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
AgenticScopewith the given id. - exception() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
-
Returns the value of the
exceptionrecord component. - execute(DefaultAgenticScope, AgentInvocationListener) - 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
- 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
- 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 condition for a loop in a loop-based agent.
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.ParallelPlanner
- fromJson(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeJsonCodec
-
Deserializes a JSON string to a
DefaultAgenticScopeobject. - 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
- get() - Static method in interface dev.langchain4j.agentic.internal.A2AService
- get(Object) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
- getAgenticScope(Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeAccess
-
Returns the
AgenticScopewith the given id for this AI service or null if such memory doesn't exist. - getAgentName() - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
- getAllAgenticScopeKeys() - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
- 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.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.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.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
- hasState(Class) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- hasState(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- hasState(String) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- hasVariableName(Parameter) - Method in class dev.langchain4j.agentic.internal.AgenticParameterNameResolver
- 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, String, Consumer, boolean, Supplier, AgentListener) - Constructor for record class dev.langchain4j.agentic.workflow.HumanInTheLoop
-
Creates an instance of a
HumanInTheLooprecord 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
- HumanInTheLoopResponseSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
-
Marks a method as a supplier of response for human-in-the-loop agent.
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
- 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.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
InitPlanningContextrecord class. - input() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
-
Returns the value of the
inputrecord 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() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
- inputKey() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
-
Returns the value of the
inputKeyrecord component. - inputKey(String) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
- inputKeys(String...) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
- inputs() - Method in class dev.langchain4j.agentic.observability.AgentInvocation
- inputs() - Method in record class dev.langchain4j.agentic.observability.AgentInvocationError
-
Returns the value of the
inputsrecord component. - inputs() - Method in record class dev.langchain4j.agentic.observability.AgentRequest
-
Returns the value of the
inputsrecord component. - inputs() - Method in record class dev.langchain4j.agentic.observability.AgentResponse
-
Returns the value of the
inputsrecord component. - 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.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
- isPresent() - Method in class dev.langchain4j.agentic.internal.A2AService.DummyA2AService
- isPresent() - Method in interface dev.langchain4j.agentic.internal.A2AService
K
- K - Annotation Interface in dev.langchain4j.agentic.declarative
-
A parameter of an agentic method is annotated with
@Kto 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).
- lastUserMessage() - Method in interface dev.langchain4j.agentic.agent.ChatMessagesAccess
- lastUserMessage() - Method in class dev.langchain4j.agentic.internal.UserMessageRecorder
- leaf() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
- listener() - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
- listener() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
- listener() - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
- listener() - Method in interface dev.langchain4j.agentic.observability.AgentListenerProvider
- listener() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- listener() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
-
Returns the value of the
listenerrecord 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.planner.AgenticService
- listener(AgentListener) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
- ListenerNotifierUtil - Class in dev.langchain4j.agentic.observability
- 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 condition is met or a maximum number of iterations is reached.
- 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) - Constructor for class dev.langchain4j.agentic.workflow.impl.LoopPlanner
M
- 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() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
-
Maximum number of iterations the loop will execute.
- 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
- MEMORY_ID_ARG_NAME - Static variable in class dev.langchain4j.agentic.internal.AgentUtil
- memoryId() - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- memoryId() - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
-
Returns the value of the
memoryIdrecord 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
messagerecord 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
- MissingArgumentException - Exception Class in dev.langchain4j.agentic.agent
- MissingArgumentException(String) - Constructor for exception class dev.langchain4j.agentic.agent.MissingArgumentException
- 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.ParallelAgent
-
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.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
namerecord component. - name() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
- 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
namedArgsrecord 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.ParallelPlanner
- nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
- NonAiAgentInstance - Class in dev.langchain4j.agentic.internal
- NonAiAgentInstance(Class, String, String, Type, String, boolean, List, AgentListener) - Constructor for class dev.langchain4j.agentic.internal.NonAiAgentInstance
- 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
- onAgentInvoked(AgentInvocation) - Method in interface dev.langchain4j.agentic.internal.AgentInvocationListener
- 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
- 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
outputrecord component. - output() - Method in record class dev.langchain4j.agentic.scope.AgentInvocation
-
Returns the value of the
outputrecord 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.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.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.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
outputKeyrecord component. - 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.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
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
ParallelAgentto specify the executor that will be used to run the sub-agents in parallel. - 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
- 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
plannerAgentrecord 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.
- PlannerSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
-
Marks a method as a supplier of the planner for a planner based agent.
- 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
PlanningContextrecord class. - positionalArgs() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
-
Returns the value of the
positionalArgsrecord component. - previousAgentInvocation() - Method in record class dev.langchain4j.agentic.planner.PlanningContext
-
Returns the value of the
previousAgentInvocationrecord component.
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
- readState(Class) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- readState(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- readState(String) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- readState(String, T) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- 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
- registry() - Method in interface dev.langchain4j.agentic.internal.AgenticScopeOwner
- replaceListener(AgentListener) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- requestGenerator(Function) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
- requestGenerator(Function) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
- requestWriter() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
-
Returns the value of the
requestWriterrecord component. - requestWriter(Consumer) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
- ResponseAgent - Interface in dev.langchain4j.agentic.supervisor
- responseReader() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
-
Returns the value of the
responseReaderrecord component. - responseReader(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
- result() - Method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
-
Returns the value of the
resultrecord component. - result() - Method in class dev.langchain4j.agentic.internal.AsyncResponse
- 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
resultrecord 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
ResultWithAgenticScoperecord 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
- rootCallEnded(AgenticScopeRegistry) - 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
- 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
- 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.SequentialAgentServiceImpl
- setAgentName(String) - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
- setArguments(Map) - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
- setListener(AgentListener) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- setParent(AgentInstance) - Method in class dev.langchain4j.agentic.agent.AgentInvocationHandler
- setParent(AgentInstance) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvoker
- setParent(AgentInstance) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
- setParent(AgentInstance) - Method in interface dev.langchain4j.agentic.internal.InternalAgent
- setParent(AgentInstance) - Method in class dev.langchain4j.agentic.internal.NonAiAgentInstance
- setParent(AgentInstance) - Method in class dev.langchain4j.agentic.internal.PlannerBasedInvocationHandler
- 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.
- SINGLE_AGENT - Enum constant in enum class dev.langchain4j.agentic.planner.AgenticSystemTopology
- 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
- state() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- 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
subagentsrecord component. - 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(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
- 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, AgentInvocationListener) - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
- systemMessageProvider(Function) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
T
- testExitAtLoopEnd() - Element in annotation interface dev.langchain4j.agentic.declarative.ExitCondition
-
If true, the exit condition will be tested only at the end of each loop iteration.
- 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.MethodAgentInvoker
- toInvocationArguments(AgenticScope) - Method in class dev.langchain4j.agentic.internal.UntypedAgentInvoker
- toJson(DefaultAgenticScope) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeJsonCodec
-
Serializes a
DefaultAgenticScopeobject to a JSON string. - toJson(DefaultAgenticScope) - Static method in class dev.langchain4j.agentic.scope.AgenticScopeSerializer
-
Serializes a AgenticScope into a JSON string.
- toolArgumentsErrorHandler(ToolArgumentsErrorHandler) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
- toolExecutionErrorHandler(ToolExecutionErrorHandler) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
- toolProvider(ToolProvider) - 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 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.ParallelPlanner
- topology() - Method in class dev.langchain4j.agentic.workflow.impl.SequentialPlanner
- 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.UntypedAgentInvoker
- 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 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.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.
- 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
typerecord 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
typerecord component. - type() - Method in interface dev.langchain4j.agentic.planner.AgentInstance
- 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.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.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
- 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
- UserMessageRecorder - Class in dev.langchain4j.agentic.internal
- UserMessageRecorder() - Constructor for class dev.langchain4j.agentic.internal.UserMessageRecorder
- 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
- 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
- value() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
-
Description of the agent.
- value() - Element in annotation interface dev.langchain4j.agentic.declarative.K
- 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
- writeState(Class, T) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- writeState(String, Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- writeState(String, Object) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
- writeStates(Map) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
- writeStates(Map) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form