Claude Discovery

← All discoveries

Vivid, blurred close-up of colorful code on a screen, representing web development and programming.
Photo by Markus Spiske on Pexels
library

datasette-agent 0.4a0 Lets Agent Tools Run JavaScript in Your Browser

2026-08-01 ยท source:

Datasette Agent 0.4a0 adds a browser_task mechanism that lets agent plugin tools execute custom JavaScript directly in the user's browser instead of on the server.

What it is

Datasette Agent 0.4a0 is a release of the Datasette agent plugin framework that adds an `await context.browser_task()` mechanism for plugin tools.

What it does

It lets a Datasette Agent plugin tool run arbitrary JavaScript in the user's own browser session, rather than executing all tool logic server-side, as described in the release notes.

Why it matters

Browser-side execution gives agent tools access to client-only context like the DOM or local browser state, something a server-side-only tool call can't reach.

How to use it

Update to datasette-agent 0.4a0 and use `context.browser_task()` inside a plugin tool when you need code to run in the user's browser rather than on the server.

Go to source →
datasetteagent-toolsjavascript