AI News HubLIVE
原文1 min read

datasette-agent-edit 0.1a0

Simon Willison releases datasette-agent-edit 0.1a0, a base plugin for Datasette Agent that provides storage-agnostic file-editing tools (view, str_replace, insert) inspired by Claude's text editor.

Release: datasette-agent-edit 0.1a0

Simon Willison’s Weblog

Subscribe

7th June 2026

Release

datasette-agent-edit 0.1a0 — Storage-agnostic file-editing tools (view / str_replace / insert) for Datasette Agent plugins

I'm planning several plugins for Datasette Agent which can make edits to existing pieces of text - things like collaborative Markdown editing, updating large SQL queries, and editing SVG files.

Agentic editing of text is a little tricky to get right. My favorite published design for this is for the Claude text editor, which implements the following tools:

view - view sections of a file, with line numbers added to every line.

str_replace - find an exact old_str and replace it with new_str - fail if the original string is not unique

insert - insert the specified text after the specified line number

Rather than recreate these patterns for every plugin that needs them I decided to create this base plugin, datasette-agent-edit, which implements the core tools in a way that allows them to be adapted for other plugins.

Recent articles

Running Python code in a sandbox with MicroPython and WASM - 6th June 2026

Claude Opus 4.8: "a modest but tangible improvement" - 28th May 2026

I think Anthropic and OpenAI have found product-market fit - 27th May 2026

This is a beat by Simon Willison, posted on 7th June 2026.

ai 2,057

datasette 1,507

generative-ai 1,815

llms 1,783

llm-tool-use 69

datasette-agent 15

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe

Disclosures

Colophon

©

2002

2003

2004

2005

2006

2007

2008

2009

2010

2011

2012

2013

2014

2015

2016

2017

2018

2019

2020

2021

2022

2023

2024

2025

2026