Coding with AI

Datasette Apps version 0.3a0 has been released.

Datasette Apps 0.3a0 makes agent-assisted app editing easier via chat app tags, full-screen review, query permission tools, and pre-creation checks.

Key Takeaways

  • Datasette Apps 0.3a0 improves the agent-assisted workflow for creating, inspecting, and editing custom HTML apps through Datasette Agent.
  • Apps can now be tagged directly in chat using `#`, with autocomplete limited to apps the user can view and full-screen app review inside the Datasette Agent panel.
  • New tools, `app_add_stored_queries()` and `app_remove_stored_queries()`, let the agent manage which stored queries an app may use, while write queries require user approval.
  • `app_create()` now checks that requested stored queries exist, are viewable by the user, and have approval for any write queries before creating the app.

datasette-apps 0.3a0 Release Adds Agent-Integrated Custom App Editing

Datasette Apps version 0.3a0 has been released.

The datasette-apps 0.3a0 release is for Datasette users who build or maintain custom HTML applications and want to create, inspect, and adjust them through Datasette Agent. The update improves the connection between Datasette Apps and Datasette Agent by making app references easier to insert in chat, giving the agent explicit tools to manage allowed stored queries, adding checks before an app is created, and opening apps full screen inside the Datasette Agent panel.

The release builds on existing Datasette Apps features

Datasette Apps adds support for hosting and editing custom HTML applications inside Datasette. These apps can be created by hand, but using LLMs via Datasette Agent makes the process easier. The new release focuses on improving that agent-assisted workflow by giving Datasette Agent better ways to reference, configure, and present those apps.

This matters because building a custom app often involves more than writing code. A user also needs to decide which app to modify, which stored queries it may use, and whether the app can perform write operations. The update puts those decisions inside the Datasette Agent chat and tool flow, while keeping permissions and approval as visible steps.

Apps can now be tagged directly in chat

Datasette Apps version 0.3a0 has been released.

One of the most practical changes is app tagging in Datasette Agent chat messages. By typing #, users can tag an app. The autocomplete list is built from the apps the user has permission to view. That means the chat interface only suggests apps the user is allowed to see, reducing accidental references to inaccessible apps and making the list easier to scan.

The update also changes how those references behave. The "View app" buttons shown by the agent tools, and the links on # app references, now open the app full screen in the Datasette Agent panel. For users reviewing an app after asking an agent to edit or create it, this gives a larger view of the result without leaving the panel where the conversation happened.

Stored query permissions get dedicated tools

Datasette Apps 0.3a0 adds two new tools: app_add_stored_queries() and app_remove_stored_queries(). These tools let Datasette Agent manage which stored queries an app is allowed to call. Stored queries are queries made available for apps to call, so controlling access to them helps determine what the app can do.

Granting a write query requires approval from the user first. The approval step gives users a clear moment to review what the agent is being allowed to do before the app can call a write query.

app_create() adds checks before an app is created

Datasette Apps version 0.3a0 has been released.

The app_create() tool now checks that each requested stored query exists and that the user can view it. If the requested app would use a write query, app_create() asks the user to approve that write query before the app is created.

These checks are important because app creation is the point where a custom HTML application becomes available inside Datasette. By verifying query availability, viewing permission, and write approval at creation time, the release ties app creation to the permission checks already present in the agent flow.

What the tags indicate

The release is tagged datasette, datasette-agent, and datasette-apps. Those tags point to the parts involved: Datasette as the host for custom HTML applications, Datasette Agent as the chat and tool layer, and Datasette Apps as the feature that supports app hosting and editing.

For users who already work with Datasette Agent, the release is mainly a workflow improvement: fewer manual steps to reference apps, clearer permission checks for stored queries, and a full-screen way to review app results. Users can still create apps by hand, and the release makes the agent-assisted route more controlled and easier to follow.

Comments (0)

  1. No comments yet. Be the first to share what worked for you.

Leave a comment

Comments are reviewed before they appear. Your email address is not published.