程序包 io.agentscope.core.event
package io.agentscope.core.event
-
类说明Emitted when an agent finishes processing an invocation.Base class for all fine-grained agent events.Public interface for emitting
AgentEvents into the parent agent'sstreamEvents()event stream from within tool execution code.Fine-grained event types emitted during agent execution.Emitted when an agent successfully finishes processing an invocation, carrying the final result message.Emitted when an agent begins processing an invocation.Represents the result of a single user confirmation decision for a tool call.Generic extensible event for signals that don't fit a specificAgentEventsubtype.Emitted when the agent's ReAct loop exceeds the configured maximum iterations.Emitted after externally-executed tool results are provided back to the agent.One-shot hint block event.Emitted when the agent finishes a model (LLM) call.Emitted when the agent starts a model (LLM) call.Requests the agent to pause execution after the current phase completes.Emitted when tool calls require external (out-of-process) execution.Emitted when the agent requires user confirmation before executing tool calls (HITL).Emitted when a spawned subagent is exposed as a user-addressable entry point viaagent_spawn(expose_to_user=true).Emitted as tool call input arguments are streamed incrementally.Emitted after the user has responded to aRequireUserConfirmEvent.