运行第一个智能体
当前可执行主链是一个 Active PersonalAssistant。Thread 创建时服务端解析并冻结 exact AgentVersion,Run 执行期间客户端不能替换 Agent、模型、版本或 Capability。
操作步骤
- 启动 AppHost 或 Compose,并等待 DatabaseMigrator 完成。
- 使用 Development 管理员身份进入应用。
- 在智能体管理中创建并发布一个 Active PersonalAssistant。
- 返回聊天页创建新对话,输入明确任务。
- 观察流式文本、Tool 卡片、审批/问题中断和最终消息。
常见状态
| 状态 | 含义 |
|---|---|
| queued / running | Run 已创建并等待或正在被 Run Host claim 执行。 |
| tool_preparing / tool_call | 模型正在准备或已经提交工具调用。 |
| interrupted | Run 等待 Question 或 Approval 的 owner 决策。 |
| completed / failed / canceled | Run 已写入唯一终态。 |
Role AgentEmployee、Enterprise Dispatcher、WorkflowAgent 和 Magentic 不是当前普通对话入口的一部分。