Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Glossary / 术语表

Term中文Description
Thread会话线程Persisted conversation + state history.
Run运行One execution attempt over a thread.
RunContext运行上下文Loop-internal workspace that owns the live DocCell, message log, and patch accumulator. Plugins receive ReadOnlyContext instead.
Patch补丁Ordered list of state Op operations.
TrackedPatch追踪补丁Patch plus metadata for traceability.
ThreadChangeSet线程变更集Append payload persisted to storage.
AgentOs智能体操作系统Orchestration layer for registries and run prep.
AgentEvent智能体事件Canonical runtime stream event.
RunPolicy运行策略Strongly-typed per-run scope and execution policy carrying allow/exclude lists for tools, skills, and agents.
AgentBehavior智能体行为The plugin trait (formerly AgentPlugin); implementations register CRDT paths/state scopes and return typed ActionSets from phase hooks.
ActionSet动作集Typed collection of phase actions returned by AgentBehavior hooks; composed with ActionSet::and.
ReadOnlyContext只读上下文Immutable snapshot of step context passed to AgentBehavior phase hooks; the plugin-facing API surface.
RunDelta运行增量Incremental output from a run step — new messages, TrackedPatches, and serialized state actions since last take_delta().
RunStream运行流Result of AgentOs::run_stream; carries resolved thread/run IDs, a decision sender for mid-run HITL, and the AgentEvent stream.
StateSpec状态规约Extension of State that adds a typed Action associated type, a SCOPE constant (Thread/Run/ToolCall), and a pure reduce method.
ToolCallContext工具调用上下文Execution context passed to tool invocations; provides typed state read/write, run policy, identity, and message queuing.
AgentDefinition智能体定义Orchestration-facing agent composition definition; holds model, system prompt, behavior/stop-condition IDs, and declarative specs.
RunRequest运行请求Unified runtime input for all external protocols; carries agent ID, thread/run IDs, messages, and initial decisions.
ToolExecutionEffect工具执行效果Rich tool return type wrapping a ToolResult plus a list of typed Actions applied during AfterToolExecute.
SuspendTicket挂起票据Suspension payload carrying external suspension data, a pending projection emitted to the event stream, and a resume_mode strategy.