datasette-agent-edit 0.1a0 ships reusable agentic text-editing tools
`datasette-agent-edit 0.1a0` is a new base plugin for Datasette Agent that provides storage-agnostic `view`, `str_replace`, and `insert` tools for agentic text editing, designed to be shared across multiple future plugins.
Score breakdown
The plugin centralizes a proven agentic text-editing pattern into a single reusable base, avoiding duplication across the multiple Datasette Agent plugins planned to depend on it.
- 01datasette-agent-edit 0.1a0 is a new alpha base plugin for Datasette Agent.
- 02It provides three storage-agnostic editing tools: `view`, `str_replace`, and `insert`.
- 03`view` displays file sections with line numbers added to every line.
`datasette-agent-edit 0.1a0` is an alpha release of a new base plugin for Datasette Agent, providing reusable, storage-agnostic tools for agentic text editing. The plugin implements three tools drawn from the Claude text editor design: `view`, which displays sections of a file with line numbers on every line; `str_replace`, which finds an exact `old_str` and replaces it with a `new_str`, failing if the original string is not unique; and `insert`, which inserts specified text after a given line number.
The post explains that agentic editing of text is described as "a little tricky to get right," and that the Claude text editor's published design was the inspiration for these tool patterns.
The post explains that agentic editing of text is described as "a little tricky to get right," and that the Claude text editor's published design was the inspiration for these tool patterns. Rather than re-implementing these tools in each individual plugin that requires editing capabilities, this base plugin centralizes the core logic so it can be adapted by other plugins. Several future Datasette Agent plugins are planned that will build on it, covering use cases such as collaborative Markdown editing, updating large SQL queries, and editing SVG files.
Key facts
- 01datasette-agent-edit 0.1a0 is a new alpha base plugin for Datasette Agent.
- 02It provides three storage-agnostic editing tools: `view`, `str_replace`, and `insert`.
- 03`view` displays file sections with line numbers added to every line.
- 04`str_replace` replaces an exact `old_str` with `new_str`, failing if the original string is not unique.
- 05`insert` adds specified text after a given line number.
- 06The tool design is modeled after the Claude text editor.
- 07The plugin is intended to be shared across multiple future Datasette Agent plugins, including ones for Markdown editing, large SQL queries, and SVG files.
Summary and scoring are generated automatically from the original article. We always link back to the publisher and never republish images or paywalled content. Last processed Jun 9, 2026 · 17:05 UTC. How this works →