AS AgentScopeAPI 手册 / API Reference
包package agentscope.state

agentscope.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
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.