datasette-agent 0.2a0 · Simon Willison's Weblog
Science, Technology & Innovation · Jun 10, 2026
The new ask_user() in datasette-agent was enabled by a freshly built LLM alpha (Claude Fable 5), showing agent features are driven by rapid model/runtime changes rather than just app code—speeding innovation but increasing dependency-management burdens and adoption/stability risk when tied to alpha components.
datasette-agent 0.2a0 · Simon Willison's Weblog
Science, Technology & Innovation · Jun 10, 2026
The system resumes after human input by restarting and replaying stored answers, so tools must call ask_user() before side effects and be idempotent to avoid duplicated irreversible actions.
datasette-agent 0.2a0 · Simon Willison's Weblog
Science, Technology & Innovation · Jun 10, 2026
Agent tools can now pause mid-execution to ask users yes/no, multiple-choice, or free-text questions via a ToolContext.ask_user API, rendering a form in the chat UI and persisting state so the agent turn suspends and can resume (even after server restarts), enabling durable, resumable human-in-the-loop workflows and safe checkpoints for tasks that can't be fully automated.
datasette-agent 0.2a0 · Simon Willison's Weblog
Science, Technology & Innovation · Jun 10, 2026
A new save_query tool lets agents persist generated SQL as a Datasette stored query only after an explicit human approval that shows the full SQL, proposed name, database, and visibility—preventing silent persistence while enabling reviewable promotion of agent-authored queries.