包package
agentscope.stateagentscope.state
module agentscope.state
agentscope.state 属于状态·记忆·会话,跨调用持久化与多租户隔离。 该包共收录 6 个公开类型。
The agent state module in agentscope.
源码Source
agentscope/state/__init__.py:1类Classes
A2AAgentState类class | A2A 智能体状态。 The A2A agent state. |
AgentState类class | 会话状态 The agent state that should be saved and loaded from storage. |
ReplyContext类class | 当前智能体回复的上下文。 The context of the current agent reply. |
Task类class | 智能体任务。 The agent task. |
TaskContext类class | 任务上下文。 The task context. |
ToolContext类class | 工具上下文,在多次调用之间保存和恢复会话与记忆数据。 The tool context, e.g. tool cache |