跳到正文
实时
Amp News·· 13 天前

Amp 中的智能体协作功能 Artifacts 发布

Artifacts

要点速览

Amp 的智能体可在 Artifacts 中协作,该功能支持单线程文档编辑。智能体通过 Artifacts 展示分析结果(如 Nicolay 线程中关于模型调用等待成本的报告),或整合多线程信息(如 Beyang 线程中 Markdown 渲染预览对比)。智能体生成 Artifacts 后,用户可编辑内容,智能体会读取并应用修改。

正文

Agents in Amp can now collaborate with you in Artifacts. These are documents that belong to a single thread and that the agent, you, and your teammates can all edit.

Here are two examples from our real threads.

This one is from Nicolay's thread, where he asked whether Amp wastes model calls while it waits on a long shell command. The agent went through 60 of our threads and wrote up what it found: how much the waiting costs, why, and a plan to fix it in two steps. Reading it gets you up to speed on the problem before you decide what to build:

Artifacts also work well for pulling together what several threads found. In Beyang's thread, a user had asked for a rendered preview of Markdown files in the Changes pane. Beyang had the agent build two versions at once, each in its own orb. When both reported back, the agent put them side by side in one artifact, with what each costs and which one to ship first:

You don't have to ask for one. When the agent has something for you to read, like a plan, a report, or notes from a call, it writes an artifact instead of a long reply. The artifact opens next to the thread. Edit it like any document: tick off a checklist, fix a table, rewrite a paragraph. When the agent comes back to it, it reads your edits first and works them in instead of writing over them.

Open Views → Artifacts in any thread, or just ask Amp to write one. More in the docs.

来源: Amp News · ampcode.com