# datasette-agent 0.4a0 发布：新增 browser_task（） 机制

- 来源：Simon Willison 博客
- 发布时间：2026-07-31 22:14
- AIHOT 分数：39
- AIHOT 链接：https://aihot.virxact.com/items/cmsaulmc203ioromzs0uw4cwp
- 原文链接：https://simonwillison.net/2026/Jul/31/datasette-agent

## AI 摘要

datasette-agent 0.4a0 发布，新增 await context.browser_task() 机制，允许智能体工具直接在用户浏览器中运行代码。该能力让 Datasette Agent 插件能轻松提供在用户浏览器中执行自定义 JavaScript 的工具。

## 正文

Release: datasette-agent 0.4a0

New await context.browser_task() mechanism allowing agent tools to run code directly in the user's browser. #33

This is an exciting new capability: it makes it easy for Datasette Agent plugins to provide tools that execute custom JavaScript in the user's browser.

Tags: datasette, llm-tool-use, datasette-agent
