Index

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

A

a2aBuilder(String) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an A2A client that can be used to interact with agents over the A2A protocol.
a2aBuilder(String, Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an A2A client that can be used to interact with agents over the A2A protocol.
a2aBuilder(String, Class) - Method in interface dev.langchain4j.agentic.internal.A2AService
 
a2aBuilder(String, Class) - Method in class dev.langchain4j.agentic.internal.A2AService.DummyA2AService
 
A2AClientAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an A2A client agent.
A2AClientBuilder<T> - Interface in dev.langchain4j.agentic.internal
 
a2aServerUrl() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
URL of the A2A server to which the requests will be sent.
A2AService - Interface in dev.langchain4j.agentic.internal
 
A2AService.DummyA2AService - Class in dev.langchain4j.agentic.internal
 
A2AService.Provider - Class in dev.langchain4j.agentic.internal
 
AbstractAgentInvocationHandler - Class in dev.langchain4j.agentic.internal
 
AbstractAgentInvocationHandler(AbstractService) - Constructor for class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
AbstractAgentInvocationHandler(AbstractService, DefaultAgenticScope) - Constructor for class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
AbstractService<T,S> - Class in dev.langchain4j.agentic.internal
 
AbstractService(Class, Method) - Constructor for class dev.langchain4j.agentic.internal.AbstractService
 
accept(AgenticScope) - Method in class dev.langchain4j.agentic.AgenticServices.AgenticScopeAction
 
accept(T) - Method in interface dev.langchain4j.agentic.AgenticServices.AgenticScopeAction.NonThrowingConsumer
 
accessChatMemory(String, Object) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
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.
afterAgentInvocation(Consumer) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
afterAgentInvocation(Consumer) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
afterAgentInvocation(Consumer) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
afterAgentInvocation(Consumer) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
afterAgentInvocation(Consumer) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
AfterAgentInvocation - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method to be executed after an agent invocation.
afterInvocation(AgentResponse) - Method in interface dev.langchain4j.agentic.internal.AgentSpecification
 
afterInvocation(AgentResponse) - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
 
afterInvocation(AgentResponse) - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
afterInvocation(AgentResponse) - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
afterListener - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
afterListener - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
agent() - Method in record class dev.langchain4j.agentic.internal.AgentExecutor
Returns the value of the agent record component.
Agent - Annotation Interface in dev.langchain4j.agentic
Java methods annotated with @Agent are considered agents that other agents can invoke.
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(Class, String) - Constructor for record class dev.langchain4j.agentic.internal.AgentUtil.AgentArgument
Creates an instance of a AgentArgument record 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 agentBuilder record component.
agentBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates an agent builder for the given agent service class.
AgentBuilder<T> - Class in dev.langchain4j.agentic.agent
 
AgentBuilder(Class, Method) - Constructor for class dev.langchain4j.agentic.agent.AgentBuilder
 
AgentExecutor - Record Class in dev.langchain4j.agentic.internal
 
AgentExecutor(AgentInvoker, Object) - Constructor for record class dev.langchain4j.agentic.internal.AgentExecutor
Creates an instance of a AgentExecutor record class.
agentExecutors() - Method in class dev.langchain4j.agentic.internal.AbstractService
 
AGENTIC_SCOPE_ARG_NAME - Static variable in class dev.langchain4j.agentic.internal.AgentUtil
 
agenticScope() - Method in record class dev.langchain4j.agentic.agent.AgentRequest
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns the value of the agenticScope record component.
agenticScope() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Returns the value of the agenticScope record component.
AgenticScope - Interface in dev.langchain4j.agentic.scope
The AgenticScope class represents a common environment where agents belonging to the same agentic system can share their state.
AgenticScopeAccess - Interface in dev.langchain4j.agentic.scope
Allow to access the AgenticScope of any agent extending it.
AgenticScopeContextGenerator(AgenticScope, Function) - Constructor for class dev.langchain4j.agentic.internal.Context.AgenticScopeContextGenerator
 
AgenticScopeJsonCodec - Interface in dev.langchain4j.agentic.scope
A codec for serializing and deserializing DefaultAgenticScope objects to and from JSON.
AgenticScopeKey - Record Class in dev.langchain4j.agentic.scope
 
AgenticScopeKey(String, Object) - Constructor for record class dev.langchain4j.agentic.scope.AgenticScopeKey
Creates an instance of a AgenticScopeKey record class.
AgenticScopeOwner - Interface in dev.langchain4j.agentic.internal
 
AgenticScopePersister - Enum Class in dev.langchain4j.agentic.scope
 
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.
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
 
agentId() - Method in record class dev.langchain4j.agentic.scope.AgenticScopeKey
Returns the value of the agentId record component.
AgentInvocation - Class in dev.langchain4j.agentic.supervisor
 
AgentInvocation - Record Class in dev.langchain4j.agentic.internal
 
AgentInvocation() - Constructor for class dev.langchain4j.agentic.supervisor.AgentInvocation
 
AgentInvocation(String, Map, Object) - Constructor for record class dev.langchain4j.agentic.internal.AgentInvocation
Creates an instance of a AgentInvocation record 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 AgentInvocationArguments record class.
AgentInvocationException - Exception Class in dev.langchain4j.agentic.agent
 
AgentInvocationException(Exception) - Constructor for exception class dev.langchain4j.agentic.agent.AgentInvocationException
 
AgentInvocationException(String) - Constructor for exception class dev.langchain4j.agentic.agent.AgentInvocationException
 
AgentInvocationException(String, Exception) - Constructor for exception class dev.langchain4j.agentic.agent.AgentInvocationException
 
AgentInvocationHandler - Class in dev.langchain4j.agentic.agent
 
agentInvocations(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 agentInvoker record component.
AgentInvoker - Interface in dev.langchain4j.agentic.internal
 
AgentMessage(String, String, ChatMessage) - Constructor for record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Creates an instance of a AgentMessage record class.
agentName() - Method in record class dev.langchain4j.agentic.agent.AgentRequest
Returns the value of the agentName record component.
agentName() - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Returns the value of the agentName record component.
agentName() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns the value of the agentName record component.
agentName() - Method in record class dev.langchain4j.agentic.internal.AgentInvocation
Returns the value of the agentName record component.
agentName() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns the value of the agentName record component.
AgentRequest - Record Class in dev.langchain4j.agentic.agent
 
AgentRequest(AgenticScope, String, Map) - Constructor for record class dev.langchain4j.agentic.agent.AgentRequest
Creates an instance of a AgentRequest record class.
AgentResponse - Record Class in dev.langchain4j.agentic.agent
 
AgentResponse(AgenticScope, String, Map, Object) - Constructor for record class dev.langchain4j.agentic.agent.AgentResponse
Creates an instance of a AgentResponse record class.
agentServiceClass - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
agentServiceClass() - Method in interface dev.langchain4j.agentic.AgenticServices.DeclarativeAgentCreationContext
 
agentServiceClass() - Method in record class dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeAgentCreationContext
Returns the value of the agentServiceClass record component.
agentSpecification() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Returns the value of the agentSpecification record component.
agentSpecification() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
Returns the value of the agentSpecification record component.
AgentSpecification - Interface in dev.langchain4j.agentic.internal
 
AgentSpecificationImpl - Record Class in dev.langchain4j.agentic.internal
 
AgentSpecificationImpl(String, String, String, String, boolean, Consumer, Consumer) - Constructor for record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Creates an instance of a AgentSpecificationImpl record class.
AgentSpecsProvider - Interface in dev.langchain4j.agentic.internal
 
agentsToExecutors(Object...) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentToExecutor(AgentSpecification) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentToExecutor(Object) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
agentUniqueName() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns the value of the agentUniqueName record component.
AgentUtil - Class in dev.langchain4j.agentic.internal
 
AgentUtil.AgentArgument - Record Class in dev.langchain4j.agentic.internal
 
apply(ChatRequest) - Method in class dev.langchain4j.agentic.internal.UserMessageRecorder
 
apply(ChatRequest, Object) - Method in interface dev.langchain4j.agentic.internal.UserMessageTransformer
 
argumentFromAgenticScope(AgenticScope, Class, String) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
argumentName() - Method in exception class dev.langchain4j.agentic.agent.MissingArgumentException
 
arguments() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Returns the value of the arguments record component.
argumentsFromMethod(Method) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
askUser(Object) - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
 
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 interface dev.langchain4j.agentic.internal.AgentSpecification
 
async() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the async record component.
async() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
async() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
async() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
async() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the async record 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

beforeAgentInvocation(Consumer) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
beforeAgentInvocation(Consumer) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
beforeAgentInvocation(Consumer) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
beforeAgentInvocation(Consumer) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
beforeAgentInvocation(Consumer) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
BeforeAgentInvocation - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a hook to be executed before an agent invocation.
beforeCall - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
beforeCall(Consumer) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
beforeCall(Consumer) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
beforeInvocation(AgentRequest) - Method in interface dev.langchain4j.agentic.internal.AgentSpecification
 
beforeInvocation(AgentRequest) - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
 
beforeInvocation(AgentRequest) - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
beforeInvocation(AgentRequest) - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
beforeListener - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
beforeListener - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
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.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() - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
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.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

CHAT_MEMORY - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Use only the supervisors ChatMemory (default).
CHAT_MEMORY_AND_SUMMARIZATION - Enum constant in enum class dev.langchain4j.agentic.supervisor.SupervisorContextStrategy
Use both the supervisor's ChatMemory and a summarization of the interaction of the supervisor with its sub-agents.
chatMemory(ChatMemory) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
chatMemoryProvider(ChatMemoryProvider) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
chatMemoryProvider(ChatMemoryProvider) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
chatMemoryProvider(ChatMemoryProvider) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
ChatMemoryProviderSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of the ChatMemoryProvider that an agent can utilize during its operation.
ChatMemorySupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of chat memory that an agent can utilize during its operation.
ChatMessagesAccess - Interface in dev.langchain4j.agentic.agent
 
chatModel(ChatModel) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
chatModel(ChatModel) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
chatModel(ChatModel) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
ChatModelSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of the chat model to be used by an agent.
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
 
completionListener() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the completionListener record component.
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.
ConditionalAgentService<T> - Interface in dev.langchain4j.agentic.workflow
 
ConditionalAgentServiceImpl<T> - Class in dev.langchain4j.agentic.workflow.impl
 
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
 
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.
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
 
createSubAgentWithAgenticScope(DefaultAgenticScope) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
createSubAgentWithAgenticScope(DefaultAgenticScope) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl.LoopInvocationHandler
 

D

DeclarativeUtil - Class in dev.langchain4j.agentic.declarative
 
DeclarativeUtil() - Constructor for class dev.langchain4j.agentic.declarative.DeclarativeUtil
 
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 DefaultDeclarativeAgentCreationContext record class.
delete(AgenticScopeKey) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeStore
Deletes a AgenticScope by its ID.
description - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
description - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
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.SequenceAgent
Description of the agent.
description() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Description of the agent.
description() - Method in interface dev.langchain4j.agentic.internal.AgentSpecification
 
description() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the description record component.
description() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
description() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
description() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
description() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the description record component.
description(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
description(String) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
description(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
description(String) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
description(String) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
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.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
 
doAgentAction(DefaultAgenticScope) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
doAgentAction(DefaultAgenticScope) - Method in class dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl.LoopInvocationHandler
 

E

EPHEMERAL - Enum constant in enum class dev.langchain4j.agentic.scope.DefaultAgenticScope.Kind
 
equals(Object) - Method in record class dev.langchain4j.agentic.agent.AgentRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Indicates whether some other object is "equal to" this one.
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 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.AgentInvocation
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 record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.internal.AgentUtil.AgentArgument
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
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.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.
ErrorContext - Record Class in dev.langchain4j.agentic.agent
 
ErrorContext(String, AgenticScope, AgentInvocationException) - Constructor for record class dev.langchain4j.agentic.agent.ErrorContext
Creates an instance of a ErrorContext record class.
errorHandler - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
errorHandler(Function) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
errorHandler(Function) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
errorHandler(Function) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
ErrorHandler - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as an error handler for a workflow agent.
ErrorRecoveryResult - Record Class in dev.langchain4j.agentic.agent
 
ErrorRecoveryResult(ErrorRecoveryResult.Type, Object) - Constructor for record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Creates an instance of a ErrorRecoveryResult record class.
ErrorRecoveryResult.Type - Enum Class in dev.langchain4j.agentic.agent
 
evict(Object) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
evictAgenticScope(Object) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeAccess
Evicts the AgenticScope with the given id.
exception() - Method in record class dev.langchain4j.agentic.agent.ErrorContext
Returns the value of the exception record component.
execute(DefaultAgenticScope) - 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(Executor) - Method in class dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl
 
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

fromJson(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeJsonCodec
Deserializes a JSON string to a DefaultAgenticScope object.
fromJson(String) - Static method in class dev.langchain4j.agentic.scope.AgenticScopeSerializer
Deserializes a JSON string into a AgenticScope object.
fromMethod(AgentSpecification, Method) - 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 AgenticScope with the given id for this AI service or null if such memory doesn't exist.
getAgentName() - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
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
 
getOrCreate(Object) - Method in class dev.langchain4j.agentic.scope.AgenticScopeRegistry
 
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
 

H

hallucinatedToolNameStrategy(Function) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
handleError(String, AgentInvocationException) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
hashCode() - Method in record class dev.langchain4j.agentic.agent.AgentRequest
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Returns a hash code value for this object.
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 record class dev.langchain4j.agentic.internal.AgentExecutor
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.internal.AgentInvocation
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 record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.internal.AgentUtil.AgentArgument
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
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.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.
hasOutputFunction() - Method in class dev.langchain4j.agentic.internal.AbstractService
 
hasState(String) - Method in interface dev.langchain4j.agentic.scope.AgenticScope
 
hasState(String) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
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) - Constructor for record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Creates an instance of a HumanInTheLoop record class.
HumanInTheLoop.HumanInTheLoopBuilder - Class in dev.langchain4j.agentic.workflow
 
humanInTheLoopBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing the human-in-the-loop pattern.
HumanInTheLoopBuilder() - Constructor for class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
HumanInTheLoopResponseSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of response for human-in-the-loop agent.

I

input() - Method in record class dev.langchain4j.agentic.internal.AgentInvocation
Returns the value of the input record component.
inputGuardrailClasses(Class...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
inputGuardrails(I...) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
inputGuardrailsConfig(InputGuardrailsConfig) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
inputName() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
inputName() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the inputName record component.
inputName(String) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
inputNames(String...) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
inputs() - Method in record class dev.langchain4j.agentic.agent.AgentRequest
Returns the value of the inputs record component.
inputs() - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Returns the value of the inputs record component.
INSTANCE - Enum constant in enum class dev.langchain4j.agentic.scope.AgenticScopePersister
 
INSTANCE - Enum constant in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
invocationListener() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the invocationListener record component.
invoke(AgenticScope, 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.AbstractAgentInvocationHandler
 
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
 
isPresent() - Method in class dev.langchain4j.agentic.internal.A2AService.DummyA2AService
 
isPresent() - Method in interface dev.langchain4j.agentic.internal.A2AService
 

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
 
load(AgenticScopeKey) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeStore
Loads a AgenticScope by its ID.
LOG - Static variable in interface dev.langchain4j.agentic.internal.AgentInvoker
 
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.LoopInvocationHandler - Class in dev.langchain4j.agentic.workflow.impl
 
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.

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 memoryId record component.
memoryId() - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
message() - Method in record class dev.langchain4j.agentic.scope.DefaultAgenticScope.AgentMessage
Returns the value of the message record component.
method() - Method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
method() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Returns the value of the method record component.
method() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
Returns the value of the method record component.
MethodAgentInvoker - Record Class in dev.langchain4j.agentic.internal
 
MethodAgentInvoker(Method, AgentSpecification, List) - Constructor for record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Creates an instance of a MethodAgentInvoker record class.
methodToAgentExecutor(AgentSpecification, Method) - Method in class dev.langchain4j.agentic.internal.A2AService.DummyA2AService
 
methodToAgentExecutor(AgentSpecification, 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
 

N

name - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
name - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
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.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.internal.AgentSpecification
 
name() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the name record component.
name() - Method in record class dev.langchain4j.agentic.internal.AgentUtil.AgentArgument
Returns the value of the name record component.
name() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
name() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
name(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
name(String) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
name(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
name(String) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
namedArgs() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Returns the value of the namedArgs record component.

O

optionalParameterName(Parameter) - Static method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
output - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
output() - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Returns the value of the output record component.
output() - Method in record class dev.langchain4j.agentic.internal.AgentInvocation
Returns the value of the output record component.
output(Function) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
output(Function) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
output(Function) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
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
 
outputName - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
outputName - Variable in class dev.langchain4j.agentic.internal.AbstractService
 
outputName() - Element in annotation interface dev.langchain4j.agentic.Agent
Name of the output variable that will be used to store the result of the agent's invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.A2AClientAgent
Name of the output variable that will be used to store the result of the agent's invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.ConditionalAgent
Name of the output variable that will hold the result of the agent invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.HumanInTheLoop
Name of the output variable that will be used to store the result of the agent's invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.LoopAgent
Name of the output variable that will hold the result of the agent invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.ParallelAgent
Name of the output variable that will hold the result of the agent invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.SequenceAgent
Name of the output variable that will hold the result of the agent invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.SubAgent
Name of the output variable that will hold the result of the agent invocation.
outputName() - Element in annotation interface dev.langchain4j.agentic.declarative.SupervisorAgent
Name of the output variable that will hold the result of the agent invocation.
outputName() - Method in interface dev.langchain4j.agentic.internal.AgentSpecification
 
outputName() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the outputName record component.
outputName() - Method in interface dev.langchain4j.agentic.internal.AgentSpecsProvider
 
outputName() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
outputName() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
outputName() - Method in record class dev.langchain4j.agentic.workflow.HumanInTheLoop
Returns the value of the outputName record component.
outputName(String) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
outputName(String) - Method in interface dev.langchain4j.agentic.internal.A2AClientBuilder
 
outputName(String) - Method in class dev.langchain4j.agentic.internal.AbstractService
 
outputName(String) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
outputName(String) - Method in class dev.langchain4j.agentic.workflow.HumanInTheLoop.HumanInTheLoopBuilder
 
outputName(String) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 

P

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
 
parallelBuilder() - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an untyped agent implementing a parallel workflow of its subagents.
parallelBuilder() - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
parallelBuilder() - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
parallelBuilder(Class) - Static method in class dev.langchain4j.agentic.AgenticServices
Creates a builder for an agent implementing a parallel workflow of its subagents that can be invoked in a strongly typed way through the provided agent service interface.
parallelBuilder(Class) - Method in enum class dev.langchain4j.agentic.workflow.impl.WorkflowAgentsBuilderImpl
 
parallelBuilder(Class) - Method in interface dev.langchain4j.agentic.workflow.WorkflowAgentsBuilder
 
ParallelExecutor - Annotation Interface in dev.langchain4j.agentic.declarative
Used in combination with ParallelAgent to specify the executor that will be used to run the sub-agents in parallel.
parameterName(Parameter) - Static method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
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
 
PlannerAgent - Interface in dev.langchain4j.agentic.supervisor
 
positionalArgs() - Method in record class dev.langchain4j.agentic.internal.AgentInvocationArguments
Returns the value of the positionalArgs record component.

R

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
 
registerAgentCall(AgentSpecification, Object, AgentInvocationArguments, 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
 
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 requestWriter record 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 responseReader record 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 result record component.
result() - Method in class dev.langchain4j.agentic.internal.AsyncResponse
 
result() - Method in record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Returns the value of the result record component.
result(DefaultAgenticScope, Object) - Method in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
result(Object) - Static method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
 
ResultWithAgenticScope<T> - Record Class in dev.langchain4j.agentic.scope
Holds the result of an agent invocation along with its associated AgenticScope.
ResultWithAgenticScope(AgenticScope, T) - Constructor for record class dev.langchain4j.agentic.scope.ResultWithAgenticScope
Creates an instance of a ResultWithAgenticScope record class.
retrievalAugmentor(RetrievalAugmentor) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
RetrievalAugmentorSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of a retrieval augmentor that an agent can utilize during its operation.
retry() - Static method in record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
 
RETRY - Enum constant in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
 
RETURN_RESULT - Enum constant in enum class dev.langchain4j.agentic.agent.ErrorRecoveryResult.Type
 
rootCallEnded(AgenticScopeRegistry) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
rootCallStarted(AgenticScopeRegistry) - Method in class dev.langchain4j.agentic.scope.DefaultAgenticScope
 
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
 
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
 
setAgentName(String) - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
setArguments(Map) - Method in class dev.langchain4j.agentic.supervisor.AgentInvocation
 
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.
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
 
SubAgent - Annotation Interface in dev.langchain4j.agentic.declarative
Defines a sub-agent of a workflow-based or supervisor agent.
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.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.AbstractService
 
subAgents(Object...) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
subAgents(Object...) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(Object...) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
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.AbstractService
 
subAgents(List) - Method in interface dev.langchain4j.agentic.supervisor.SupervisorAgentService
 
subAgents(List) - Method in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
subAgents(List) - Method in class dev.langchain4j.agentic.workflow.impl.ConditionalAgentServiceImpl
 
subAgents(List) - Method in interface dev.langchain4j.agentic.workflow.WorkflowService
 
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.declarative.SubAgent
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.SupervisorAgentServiceImpl
 
SUPERVISOR_CONTEXT_PREFIX - Static variable in class dev.langchain4j.agentic.supervisor.SupervisorAgentServiceImpl
 
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
 
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.
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) - 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
 
toCard() - Method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
toCard() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
toCard() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
toInvocationArguments(AgenticScope) - Method in interface dev.langchain4j.agentic.internal.AgentInvoker
 
toInvocationArguments(AgenticScope) - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
toInvocationArguments(AgenticScope) - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
toJson(DefaultAgenticScope) - Method in interface dev.langchain4j.agentic.scope.AgenticScopeJsonCodec
Serializes a DefaultAgenticScope object to a JSON string.
toJson(DefaultAgenticScope) - Static method in class dev.langchain4j.agentic.scope.AgenticScopeSerializer
Serializes a AgenticScope into a JSON string.
toolArgumentsErrorHandler(ToolArgumentsErrorHandler) - Method in class dev.langchain4j.agentic.agent.AgentBuilder
 
toolArgumentsErrorHandler(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
 
ToolsSupplier - Annotation Interface in dev.langchain4j.agentic.declarative
Marks a method as a supplier of tools that an agent can utilize during its operation.
toString() - Method in record class dev.langchain4j.agentic.agent.AgentRequest
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.agent.AgentResponse
Returns a string representation of this record class.
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 record class dev.langchain4j.agentic.internal.AgentExecutor
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.internal.AgentInvocation
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 record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.internal.AgentUtil.AgentArgument
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.agentic.internal.AsyncResponse
 
toString() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
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.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.
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 record class dev.langchain4j.agentic.agent.ErrorRecoveryResult
Returns the value of the type record component.
type() - Element in annotation interface dev.langchain4j.agentic.declarative.SubAgent
The class of the sub-agent.
type() - Method in record class dev.langchain4j.agentic.internal.AgentUtil.AgentArgument
Returns the value of the type record component.

U

uniqueAgentName(String) - Static method in class dev.langchain4j.agentic.internal.AgentUtil
 
uniqueName - Variable in class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
uniqueName() - Method in interface dev.langchain4j.agentic.internal.AgentSpecification
 
uniqueName() - Method in record class dev.langchain4j.agentic.internal.AgentSpecificationImpl
Returns the value of the uniqueName record component.
uniqueName() - Method in record class dev.langchain4j.agentic.internal.MethodAgentInvoker
 
uniqueName() - Method in record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
 
UntypedAgent - Interface in dev.langchain4j.agentic
 
UntypedAgentInvoker - Record Class in dev.langchain4j.agentic.internal
 
UntypedAgentInvoker(Method, AgentSpecification) - Constructor for record class dev.langchain4j.agentic.internal.UntypedAgentInvoker
Creates an instance of a UntypedAgentInvoker record class.
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.
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.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.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 class dev.langchain4j.agentic.internal.AbstractAgentInvocationHandler
 
withAgenticScope(DefaultAgenticScope) - Method in interface dev.langchain4j.agentic.internal.AgenticScopeOwner
 
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
 
WorkflowService<T,W> - Interface in dev.langchain4j.agentic.workflow
 
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
 
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form