datasette-agent 0.2a0

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Agents can now pause mid-tool-call to ask humans questions that survive server restarts, and SQL saving always requires explicit human approval.

Read this as

Datasette-agent version 0.2a0 is a release of an AI assistant that helps people query databases. Its tools can now pause and ask the user a yes/no, multiple-choice or free-text question, and the question waits patiently even if the server restarts. It can also save SQL queries, but only after a person clicks Yes.

Datasette-agent 0.2a0 adds a human-in-the-loop safeguard worth noting for AI tool builders: agents can suspend execution to ask users questions, which persist across server restarts. The save_query tool shows full SQL, name, database and visibility, and stores nothing without a clicked approval. The ask_user mechanism was built with Claude Fable 5. No pricing or adoption figures are given.

In 0.2a0, tools declaring a context parameter receive a ToolContext and can await context.ask_user() with yes/no, options=[...] or free_text=True prompts. Unanswered questions suspend the turn, render as a chat form, and persist to the internal database so suspended conversations survive restarts; on answer, the tool re-executes from the top with answers replayed, so ask_user() must precede side effects (PR #20). The new save_query tool writes Datasette stored queries but requires human approval of the full SQL first.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

datasette-agent 0.2a0 Datasette Claude Fable 5 LLM

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading