Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addOutput(DependencyGraphSearch.Node) - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
- agentOfType(Class) - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that unconditionally selects the candidate matching
agentType, ornullif no candidate of that type is present. - agentOfType(Class, Predicate) - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that selects the candidate matching
agentTypeonly whenconditionis satisfied, ornullotherwise. - agentWithName(String) - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that unconditionally selects the candidate matching
agentName, ornullif no candidate with that name is present. - agentWithName(String, Predicate) - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that selects the candidate matching
agentNameonly whenconditionis satisfied, ornullotherwise. - aggregate(Collection) - Method in interface dev.langchain4j.agentic.patterns.voting.VotingStrategy
- average() - Static method in interface dev.langchain4j.agentic.patterns.voting.VotingStrategy
B
- BlackboardPlanner - Class in dev.langchain4j.agentic.patterns.blackboard
-
A blackboard planner that activates agents based on data availability in the shared scope.
- BlackboardPlanner() - Constructor for class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- BlackboardPlanner(ConflictResolutionStrategy) - Constructor for class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- BlackboardPlanner(Predicate) - Constructor for class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- BlackboardPlanner(Predicate, int) - Constructor for class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- BlackboardPlanner(Predicate, int, ConflictResolutionStrategy) - Constructor for class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- BlackboardPlanner(Predicate, ConflictResolutionStrategy) - Constructor for class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
C
- ConflictResolutionStrategy - Interface in dev.langchain4j.agentic.patterns.blackboard
-
Strategy for resolving conflicts when multiple agents can fire simultaneously on the blackboard.
D
- DECLARATION_ORDER - Static variable in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Selects the first candidate, preserving the declaration order used in the
subAgentsmethod. - declarationOrder() - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that selects the first candidate in declaration order.
- DependencyGraphSearch - Class in dev.langchain4j.agentic.patterns.goap
-
Modified A* Search for Dependency Graphs
- DependencyGraphSearch() - Constructor for class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch
- DependencyGraphSearch.Node - Class in dev.langchain4j.agentic.patterns.goap
-
Represents a node with multiple inputs and a single output
- dev.langchain4j.agentic.patterns.blackboard - package dev.langchain4j.agentic.patterns.blackboard
- dev.langchain4j.agentic.patterns.goap - package dev.langchain4j.agentic.patterns.goap
- dev.langchain4j.agentic.patterns.p2p - package dev.langchain4j.agentic.patterns.p2p
- dev.langchain4j.agentic.patterns.voting - package dev.langchain4j.agentic.patterns.voting
E
- equals(Object) - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
- executionState() - Method in class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- executionState() - Method in class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- extractVariables(String, Collection) - Method in interface dev.langchain4j.agentic.patterns.p2p.VariablesExtractorAgent
F
- firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.goap.GoalOrientedPlanner
- firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- firstAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.voting.VotingPlanner
G
- getId() - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
- getInputNodes() - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
- getOutputNodes() - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
- GoalOrientedPlanner - Class in dev.langchain4j.agentic.patterns.goap
- GoalOrientedPlanner() - Constructor for class dev.langchain4j.agentic.patterns.goap.GoalOrientedPlanner
- GoalOrientedSearchGraph - Class in dev.langchain4j.agentic.patterns.goap
- GoalOrientedSearchGraph(List) - Constructor for class dev.langchain4j.agentic.patterns.goap.GoalOrientedSearchGraph
H
- hashCode() - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
- highest() - Static method in interface dev.langchain4j.agentic.patterns.voting.VotingStrategy
I
- init(InitPlanningContext) - Method in class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- init(InitPlanningContext) - Method in class dev.langchain4j.agentic.patterns.goap.GoalOrientedPlanner
- init(InitPlanningContext) - Method in class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- init(InitPlanningContext) - Method in class dev.langchain4j.agentic.patterns.voting.VotingPlanner
- invoke(String) - Method in interface dev.langchain4j.agentic.patterns.p2p.P2PAgent
- invokeWithAgenticScope(String) - Method in interface dev.langchain4j.agentic.patterns.p2p.P2PAgent
M
- majority() - Static method in interface dev.langchain4j.agentic.patterns.voting.VotingStrategy
N
- nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.goap.GoalOrientedPlanner
- nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- nextAction(PlanningContext) - Method in class dev.langchain4j.agentic.patterns.voting.VotingPlanner
- Node(String) - Constructor for class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
O
- or(ConflictResolutionStrategy) - Method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Chains this strategy with a fallback: if this strategy returns
null, theotherstrategy is applied instead.
P
- P2P_REQUEST_KEY - Static variable in interface dev.langchain4j.agentic.patterns.p2p.P2PAgent
- P2PAgent - Interface in dev.langchain4j.agentic.patterns.p2p
- P2PPlanner - Class in dev.langchain4j.agentic.patterns.p2p
- P2PPlanner() - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- P2PPlanner(int) - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- P2PPlanner(int, BiPredicate) - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- P2PPlanner(int, Predicate) - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- P2PPlanner(ChatModel, int, BiPredicate) - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- P2PPlanner(ChatModel, int, Predicate) - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- P2PPlanner(Predicate) - Constructor for class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
R
- resolve(AgenticScope, List) - Method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
- restoreExecutionState(Map) - Method in class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- restoreExecutionState(Map) - Method in class dev.langchain4j.agentic.patterns.goap.GoalOrientedPlanner
-
GoalOrientedPlanner does not persist execution state because
GoalOrientedPlanner.firstAction(PlanningContext)recomputes the path from the current scope state via graph search. - restoreExecutionState(Map) - Method in class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
S
- search(DependencyGraphSearch.Node, DependencyGraphSearch.Node...) - Static method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch
- search(DependencyGraphSearch.Node, Collection) - Static method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch
- search(Collection, String) - Method in class dev.langchain4j.agentic.patterns.goap.GoalOrientedSearchGraph
- selectAgent(Predicate) - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that unconditionally selects the first candidate matching
agentFilter, ornullif no candidate matches. - selectAgent(Predicate, Predicate) - Static method in interface dev.langchain4j.agentic.patterns.blackboard.ConflictResolutionStrategy
-
Returns a strategy that selects the first candidate matching
agentFilteronly whenconditionis satisfied, ornullotherwise.
T
- topology() - Method in class dev.langchain4j.agentic.patterns.blackboard.BlackboardPlanner
- topology() - Method in class dev.langchain4j.agentic.patterns.goap.GoalOrientedPlanner
- topology() - Method in class dev.langchain4j.agentic.patterns.p2p.P2PPlanner
- topology() - Method in class dev.langchain4j.agentic.patterns.voting.VotingPlanner
- toString() - Method in class dev.langchain4j.agentic.patterns.goap.DependencyGraphSearch.Node
V
- VariablesExtractorAgent - Interface in dev.langchain4j.agentic.patterns.p2p
- VotingPlanner - Class in dev.langchain4j.agentic.patterns.voting
- VotingPlanner() - Constructor for class dev.langchain4j.agentic.patterns.voting.VotingPlanner
- VotingPlanner(VotingStrategy) - Constructor for class dev.langchain4j.agentic.patterns.voting.VotingPlanner
- VotingStrategy - Interface in dev.langchain4j.agentic.patterns.voting
All Classes and Interfaces|All Packages|Constant Field Values