Bi

会话

会话的保存、与工作区的关联,以及导出。

Markdown 原文Raw markdown

会话把一次完整的工作过程保留下来:对话、执行过程、产物和用量统计都归属于同一个会话。

会话里保存什么

会话保存在本机。它记录用户与智能体的会话、智能体执行的过程(读取和写入的文件、运行的命令)以及用量统计,方便随时回看。

会话与工作区

每个会话可以关联各自的工作区:

  • 不同项目各自开一个会话,智能体只在对应会话的工作区内活动
  • 未单独设置时,会话使用全局工作区

这样,一个 Bi 进程可以同时推进多个互不干扰的项目。

管理会话

可以置顶、重命名或删除会话。删除会话时,其中的会话记录会一并移除。

导出会话

可以把会话导出为 Markdown 文件,保存在工作区内。导出内容为纯文本,包含提问、回复、思考过程、执行过程与结果,以及权限确认记录,方便归档,也方便交给其他 AI 工具继续处理。

相关

Sessions

How sessions are stored, bound to workspaces, and exported.

Markdown 原文Raw markdown

A session keeps one complete unit of work together: the conversation, the execution trail, artifacts and usage statistics.

What a session stores

Sessions are stored locally. A session records your conversation with the agent, what the agent did (files read and written, commands run) and usage statistics, so you can review it later.

Sessions and workspaces

Each session can bind its own workspace:

  • Give each project its own session, and the agent stays inside that session’s workspace
  • Without a per-session setting, the session uses the global workspace

That lets one Bi process move several independent projects forward at once.

Managing sessions

Pin, rename or delete sessions. Deleting a session also removes its conversation records.

Exporting

Export a session as a Markdown file inside the workspace. The export is plain text containing your prompts, the agent’s replies, its reasoning, the execution trail and results, plus approval records — useful for archiving or handing the work to another AI tool.