datasette-agent 0.2a0 introduces significant improvements to how generative AI tools interact with human users during execution. The update allows tools to pause mid-process and ask questions directly, supporting yes/no, multiple-choice, or free-text inputs. These queries render as forms in the chat interface and persist in the internal database, ensuring conversations survive server restarts. When a user responds, the tool resumes from the start with stored answers replayed, requiring the call to ask_user before performing any side effects. Additionally, a new built-in save_query tool enables the agent to propose SQL statements as stored queries within Datasette. This feature mandates human approval for every action, displaying the full SQL code, proposed name, database, and visibility settings before anything is saved. The development was accelerated by a new LLM alpha built with assistance from Claude Fable 5, demonstrating how specific model capabilities can enhance application logic.
This functionality matters because it bridges the gap between autonomous automation and human oversight in complex data workflows. By allowing agents to seek clarification before acting, developers reduce the risk of errors caused by ambiguous instructions or missing context. The requirement for explicit human approval before saving queries prevents accidental data modifications, addressing a critical safety concern in production environments. This approach shifts the agent from a blind executor to a collaborative partner that respects user intent and system constraints. It sets a precedent for responsible AI deployment where critical decisions remain under human control, ensuring reliability in sensitive database operations without sacrificing the efficiency of automated reasoning.
* Agents can now pause execution to ask users questions, rendering forms that persist across server restarts.
* The new save_query tool requires mandatory human approval before storing any SQL statements.
* A custom LLM alpha built with Claude Fable 5 enabled these advanced interaction features.
Stay ahead of AI. Get the most important stories delivered to your inbox — no spam, no noise.



