Uses of Class
com.alibaba.cloud.ai.graph.agent.Agent
Packages that use Agent
Package
Description
-
Uses of Agent in com.alibaba.cloud.ai.graph.agent
Subclasses of Agent in com.alibaba.cloud.ai.graph.agent -
Uses of Agent in com.alibaba.cloud.ai.graph.agent.a2a
Subclasses of Agent in com.alibaba.cloud.ai.graph.agent.a2a -
Uses of Agent in com.alibaba.cloud.ai.graph.agent.flow.agent
Subclasses of Agent in com.alibaba.cloud.ai.graph.agent.flow.agentModifier and TypeClassDescriptionclassclassclassLoop Agent that supports multiple loop modes: COUNT: Execute a fixed number of loops CONDITION: Continue looping based on a condition, similar to a do-while structure, but when the condition is true, terminate the loop JSON_ARRAY: Parse a JSON array and iterate over its elements Other Loop Strategy: Users can implement the LoopStrategy interface according to their needs.classParallelAgent executes multiple sub-agents in parallel and merges their results.classFields in com.alibaba.cloud.ai.graph.agent.flow.agent with type parameters of type AgentMethods in com.alibaba.cloud.ai.graph.agent.flow.agent that return types with arguments of type AgentMethods in com.alibaba.cloud.ai.graph.agent.flow.agent with parameters of type AgentModifier and TypeMethodDescriptionMethod parameters in com.alibaba.cloud.ai.graph.agent.flow.agent with type arguments of type AgentModifier and TypeMethodDescriptionConstructor parameters in com.alibaba.cloud.ai.graph.agent.flow.agent with type arguments of type AgentModifierConstructorDescriptionprotectedprotectedFlowAgent(String name, String description, CompileConfig compileConfig, List<Agent> subAgents, StateSerializer stateSerializer) protectedFlowAgent(String name, String description, CompileConfig compileConfig, List<Agent> subAgents, StateSerializer stateSerializer, Executor executor) protectedFlowAgent(String name, String description, CompileConfig compileConfig, List<Agent> subAgents, StateSerializer stateSerializer, Executor executor, List<Hook> hooks) -
Uses of Agent in com.alibaba.cloud.ai.graph.agent.flow.builder
Fields in com.alibaba.cloud.ai.graph.agent.flow.builder with type parameters of type AgentMethods in com.alibaba.cloud.ai.graph.agent.flow.builder that return AgentModifier and TypeMethodDescriptionFlowGraphBuilder.FlowGraphConfig.getMainAgent()FlowGraphBuilder.FlowGraphConfig.getRootAgent()Methods in com.alibaba.cloud.ai.graph.agent.flow.builder that return types with arguments of type AgentModifier and TypeMethodDescriptionFlowGraphBuilder.FlowGraphConfig.getConditionalAgents()FlowGraphBuilder.FlowGraphConfig.getSubAgents()Methods in com.alibaba.cloud.ai.graph.agent.flow.builder with parameters of type AgentModifier and TypeMethodDescriptionSets the main agent (e.g.voidFlowGraphBuilder.FlowGraphConfig.setMainAgent(Agent mainAgent) voidFlowGraphBuilder.FlowGraphConfig.setRootAgent(Agent rootAgent) Method parameters in com.alibaba.cloud.ai.graph.agent.flow.builder with type arguments of type AgentModifier and TypeMethodDescriptionFlowGraphBuilder.FlowGraphConfig.conditionalAgents(Map<String, Agent> agents) voidFlowGraphBuilder.FlowGraphConfig.setConditionalAgents(Map<String, Agent> conditionalAgents) voidFlowGraphBuilder.FlowGraphConfig.setSubAgents(List<Agent> subAgents) Sets the list of sub-agents. -
Uses of Agent in com.alibaba.cloud.ai.graph.agent.flow.node
Constructors in com.alibaba.cloud.ai.graph.agent.flow.node with parameters of type AgentModifierConstructorDescriptionRoutingEdgeAction(org.springframework.ai.chat.model.ChatModel chatModel, Agent current, List<Agent> subAgents) Deprecated.RoutingNode(org.springframework.ai.chat.model.ChatModel chatModel, Agent rootAgent, List<Agent> subAgents) Constructor parameters in com.alibaba.cloud.ai.graph.agent.flow.node with type arguments of type AgentModifierConstructorDescriptionRoutingEdgeAction(org.springframework.ai.chat.model.ChatModel chatModel, Agent current, List<Agent> subAgents) Deprecated.RoutingNode(org.springframework.ai.chat.model.ChatModel chatModel, Agent rootAgent, List<Agent> subAgents) -
Uses of Agent in com.alibaba.cloud.ai.graph.agent.flow.strategy
Fields in com.alibaba.cloud.ai.graph.agent.flow.strategy declared as AgentModifier and TypeFieldDescriptionprotected AgentAbstractFlowGraphBuildingStrategy.rootAgentThe root agent of the flow.Methods in com.alibaba.cloud.ai.graph.agent.flow.strategy that return AgentModifier and TypeMethodDescriptionprotected AgentAbstractFlowGraphBuildingStrategy.getRootAgent()Methods in com.alibaba.cloud.ai.graph.agent.flow.strategy with parameters of type AgentModifier and TypeMethodDescriptionstatic voidFlowGraphBuildingStrategy.addSubAgentNode(Agent subAgent, StateGraph newGraph) protected StringAbstractFlowGraphBuildingStrategy.determineEntryNode(Agent rootAgent, List<Hook> beforeAgentHooks, List<Hook> beforeModelHooks) Determines the entry node based on beforeAgent and beforeModel hooks.default voidFlowGraphBuildingStrategy.processAgentKeyStrategies(Agent agent, Map<String, KeyStrategy> keyStrategyMap, KeyStrategy defaultStrategy) Recursively processes key strategies for an agent and its sub-agents.