AI News
All stories
Official

datasette-apps 0.4a0 adds linking between apps and reports URL schemes to Datasette Agent

The 0.4a0 alpha of datasette-apps lets sandboxed apps link to each other through URL fragments and reports supported URL schemes to Datasette Agent.

AI in Practice · · 2 min read

datasette-apps 0.4a0, released November 15, 2026, lets the sandboxed apps that run inside Datasette link to one another. It also reports the URL schemes those apps support to Datasette Agent, so the agent can write new apps that connect to them. Datasette Apps are HTML and JavaScript applications that run inside Datasette and can run SQL queries against its data. Simon Willison, who maintains the project, describes them as similar to Claude Artifacts, except that these can query your data.

The mechanism rests on URL fragments, the part of a web address after the # sign. The release notes say that location.hash, the hashchange event and ordinary anchor links such as <a href="#/customer/42"> all work inside the sandbox. The fragment is also mirrored to the page URL in both directions. As a result, the current view of an app can be bookmarked, reloaded, shared and navigated with the browser's back and forward buttons. history.pushState() and history.replaceState() now set the fragment when given a fragment-only URL, and replaceState() does this without adding a history entry.

Linking across apps works through root-relative URLs such as /-/apps/ULID#/customer/42, which point at a view in a different app. Each app can advertise the fragment URLs it supports through a JSON manifest with the id datasette-app-links embedded in its HTML. The release notes say these manifests are extracted into a new app_links table every time an app is saved. External apps can pass the same list as metadata to Registry.add_app(). A new app_links tool for datasette-agent lists the links advertised by every app the current user can view. It can filter them to those that accept a value from a given table. The release notes say this is meant to let the agent link rows in a new app to views in existing apps.

Willison's example is an app that shows details about a single record, plus a separate app that searches those records and links to their representations in the first app. The post does not say how the search app learns which fragments the detail app accepts, beyond the manifest and the agent tool. It also does not describe how the sandbox handles links between apps owned by different users. The release notes add a hash option to the app_debug agent tool for checking that a link opens the right view. They also include a redesigned /-/apps list with a full-width search bar and pagination, and a new requirement of datasette>=1.0a42.

What changed

datasette-apps 0.4a0 lets sandboxed apps link to each other through URL fragments and reports supported URL schemes to Datasette Agent.

Type: New capability · Takes effect: Sunday, November 15, 2026 · Applies to: datasette-apps 0.4a0, datasette>=1.0a42

Why it matters

Teams building internal data tools with AI agents can have the agents generate apps that link to each other, rather than only standalone pages.

Original source

Where we saw it

1 source

Simon Willison

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works