datasette-apps Adds Agent Debug Tools
- •datasette-apps 0.2a0 adds app_debug() and app_list() tools for Datasette Agent workflows
- •app_debug() opens apps invisibly and tests them using agent-provided JavaScript inside a sandboxed iframe
- •context.browser_task() from datasette-agent 0.4a0 powers the new app_debug() testing mechanism
Simon Willison released datasette-apps 0.2a0 on 1st August 2026, describing it as a release for “Apps that live inside Datasette.” The update improves Datasette Apps when they are created and edited with Datasette Agent, adding 2 new tools: app_debug() and app_list().
The new app_debug() tool lets an agent open an app invisibly and test it with JavaScript. The tool displays the app inside an iframe (embedded webpage inside another page) set to opacity: 0 and pointer-events: none, so the app cannot be seen or interacted with directly while agent-provided JavaScript runs inside the sandboxed iframe.
Willison said app_debug() can smoke test whether an app works and measure the dimensions of different elements. The release also adds app_list(), which lists apps the user has permission to edit so the agent can edit them. The app_debug() feature uses context.browser_task(), a mechanism added in datasette-agent 0.4a0.