Package dev.langchain4j.agentic.internal
package dev.langchain4j.agentic.internal
-
ClassDescriptionBuilder for creating A2A client proxies that communicate with remote agents over the Agent-to-Agent (A2A) protocol.The single place deciding whether an agent is active according to its activation condition.Locates the helper methods of a declarative agent: the static methods of the agent type, as declared on it or inherited, and the instance methods of its helper objects, searched in the class hierarchy of each object.The response of the model called by one invocation of an AI or decision agent, as reported to the agent's listeners after the invocation.The
PlanningContextof the planner calling a model on the current thread.Abstract base for responses that are deferred to an external actor (e.g., a human, a REST endpoint, a message queue) and must be explicitly completed viaDeferredResponse.complete(Object).A helper method of a declarative agent, with the object it is invoked on: a static method of the agent type, whose target isnull, or an instance method of a helper object.A value resolved lazily, the first time it is needed, from something that may be unavailable or slow, like the server of a remote agent.Thrown to a caller arriving after the deadline of an attempt whose thread has not ended yet: nothing was tried for this caller, since the value cannot be resolved again until that thread ends.Wraps an existingAgentInvokerto inject a specific item from a collection into the agent's invocation arguments.ADeferredResponsethat blocks the calling thread until completed.The parameters of a helper method of an agent, a static method declared on the agent type or an instance method of one of its helper objects, split once, when the agent is created, between the parameters provided by a registeredSupplierParameterResolverand the parameters provided by the agentic framework, like theAgenticScope, its state, the memory id or a value passed by the caller.ADeferredResponsethat suspends the agentic system instead of blocking.