Uses of Interface
com.alibaba.cloud.ai.graph.agent.hook.Hook
Packages that use Hook
Package
Description
-
Uses of Hook in com.alibaba.cloud.ai.graph.agent
Fields in com.alibaba.cloud.ai.graph.agent with type parameters of type HookMethods in com.alibaba.cloud.ai.graph.agent with parameters of type HookMethod parameters in com.alibaba.cloud.ai.graph.agent with type arguments of type Hook -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.extension.interceptor
Methods in com.alibaba.cloud.ai.graph.agent.extension.interceptor with parameters of type HookModifier and TypeMethodDescriptionSubAgentInterceptor.Builder.defaultHooks(Hook... hooks) Set the default hooks to apply to subagents. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.flow.agent
Fields in com.alibaba.cloud.ai.graph.agent.flow.agent with type parameters of type HookMethods in com.alibaba.cloud.ai.graph.agent.flow.agent that return types with arguments of type Hook -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.flow.builder
Fields in com.alibaba.cloud.ai.graph.agent.flow.builder with type parameters of type HookMethods in com.alibaba.cloud.ai.graph.agent.flow.builder that return types with arguments of type HookMethods in com.alibaba.cloud.ai.graph.agent.flow.builder with parameters of type HookModifier and TypeMethodDescriptionSets hooks for the agent.Method parameters in com.alibaba.cloud.ai.graph.agent.flow.builder with type arguments of type HookModifier and TypeMethodDescriptionSets hooks for the agent from a list.Sets the hooks for the graph.void -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.flow.strategy
Fields in com.alibaba.cloud.ai.graph.agent.flow.strategy with type parameters of type HookModifier and TypeFieldDescriptionAbstractFlowGraphBuildingStrategy.afterAgentHooksHooks that execute after the agent.AbstractFlowGraphBuildingStrategy.afterModelHooksHooks that execute after the model.AbstractFlowGraphBuildingStrategy.beforeAgentHooksHooks that execute before the agent.AbstractFlowGraphBuildingStrategy.beforeModelHooksHooks that execute before the model.Methods in com.alibaba.cloud.ai.graph.agent.flow.strategy that return types with arguments of type HookModifier and TypeMethodDescriptionAbstractFlowGraphBuildingStrategy.filterHooksByPosition(List<? extends Hook> hooks, HookPosition position) Filter hooks by their position based on @HookPositions annotation.Method parameters in com.alibaba.cloud.ai.graph.agent.flow.strategy with type arguments of type HookModifier and TypeMethodDescriptionprotected voidAbstractFlowGraphBuildingStrategy.addAfterAgentHookNodesToGraph(StateGraph graph, List<Hook> afterAgentHooks) Adds afterAgent hook nodes to the graph.protected voidAbstractFlowGraphBuildingStrategy.addBeforeAgentHookNodesToGraph(StateGraph graph, List<Hook> beforeAgentHooks) Adds beforeAgent hook nodes to the graph.protected voidAbstractFlowGraphBuildingStrategy.chainAfterAgentHooks(StateGraph graph, List<Hook> afterAgentHooks) Chains afterAgent hooks in sequence and connects to END.protected voidAbstractFlowGraphBuildingStrategy.chainBeforeAgentHooks(StateGraph graph, List<Hook> beforeAgentHooks, String nextNode) Chains beforeAgent hooks in sequence and connects to the next node.protected StringAbstractFlowGraphBuildingStrategy.connectAfterModelHookEdges(StateGraph graph, String sourceNode, List<Hook> afterModelHooks) Connects afterModel hook nodes in sequence and returns the last node name.protected StringAbstractFlowGraphBuildingStrategy.connectBeforeModelHookEdges(StateGraph graph, String defaultFirstNode, List<Hook> beforeModelHooks) Connects beforeModel hook nodes in sequence and returns the first node name.protected StringAbstractFlowGraphBuildingStrategy.determineEntryNode(Agent rootAgent, List<Hook> beforeAgentHooks, List<Hook> beforeModelHooks) Determines the entry node based on beforeAgent and beforeModel hooks.protected StringAbstractFlowGraphBuildingStrategy.determineExitNode(List<Hook> afterAgentHooks) Determines the exit node based on afterAgent hooks.AbstractFlowGraphBuildingStrategy.filterHooksByPosition(List<? extends Hook> hooks, HookPosition position) Filter hooks by their position based on @HookPositions annotation. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook
Classes in com.alibaba.cloud.ai.graph.agent.hook that implement HookModifier and TypeClassDescriptionclassclassMessagesAgentHook that injects the ReactAgent's instruction into messages before each agent run.classHook that supports interruption and feedback mechanism.classMethods in com.alibaba.cloud.ai.graph.agent.hook with parameters of type HookModifier and TypeMethodDescriptionstatic StringHook.getFullHookName(Hook hook) Generates the full qualified name for a hook in the execution graph. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.hip
Classes in com.alibaba.cloud.ai.graph.agent.hook.hip that implement Hook -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.messages
Classes in com.alibaba.cloud.ai.graph.agent.hook.messages that implement Hook -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.modelcalllimit
Classes in com.alibaba.cloud.ai.graph.agent.hook.modelcalllimit that implement HookModifier and TypeClassDescriptionclassHook that tracks and limits model call counts. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.pii
Classes in com.alibaba.cloud.ai.graph.agent.hook.pii that implement HookModifier and TypeClassDescriptionclassDetect and handle Personally Identifiable Information (PII) in agent conversations. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.returndirect
Classes in com.alibaba.cloud.ai.graph.agent.hook.returndirect that implement HookModifier and TypeClassDescriptionclassMessagesModelHook that checks for FINISH_REASON in ToolResponseMessage metadata. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.shelltool
Classes in com.alibaba.cloud.ai.graph.agent.hook.shelltool that implement Hook -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.skills
Classes in com.alibaba.cloud.ai.graph.agent.hook.skills that implement HookModifier and TypeClassDescriptionclassAgentHook for integrating Skills with ReactAgent. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.summarization
Classes in com.alibaba.cloud.ai.graph.agent.hook.summarization that implement HookModifier and TypeClassDescriptionclassHook that summarizes conversation history when token limits are approached. -
Uses of Hook in com.alibaba.cloud.ai.graph.agent.hook.toolcalllimit
Classes in com.alibaba.cloud.ai.graph.agent.hook.toolcalllimit that implement HookModifier and TypeClassDescriptionclassHook that tracks and limits tool call counts.