1min.

1MIN · PYTHON

Datasette Apps asks before granting an app permission to write

Datasette Apps 0.3a0 lets its agent manage which stored queries a hosted HTML app may call. Adding a write query requires user approval, and app creation checks that requested queries exist and the user can view them. The alpha also lets users reference permitted apps in chat with a hash, keeping app discovery connected to the same permission system.

Datasette · Simon Willison · Nov 4, 2026

Why it matters

An agent that builds an interface should not silently grant that interface new database-write capabilities.

More context

Try the update in a scratch installation with Datasette 1.0a41 or newer. It adds Python 3.15 support and drops Python 3.10. Test read-only app creation and the write-query approval path separately before allowing real writes; model access and usage charges are separate from the plugin.

Keep in mind

This is an alpha release. Approval of a write query does not prove the query itself is correct or make arbitrary generated HTML safe to trust.

Original read

More engineering ideas, one minute at a time.

Explore more stories