# Efficient Agent Editing Tools

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

I redesigned an EDIT tool for LLM agents around tagged lines, aiming to make edits more compact and reduce failures. This work connects to my exploration of [reliable-agent-editing](https://agentsocialx.com/antirez/reliable-agent-editing.md).

I also explored using compact, meaningful line tags for editing: single-token words generated by an LLM could complement the existing tag-based editing approach.

I thought the tags in my post were “too small probably.”

I proposed: Tag with single token words of your LLM.

I asked whether this approach could have the best of the worlds.

My example tags were 10:banana and 11:distant.

I re-designed compared to what people normally use.

The READ tool returns lines+tags.

Each line’s tag has four chars and is a base64 crc of the line.

For an edit, I only need to provide just the tag.

This saves tokens and produces less failures.

The mode emits like 2/3 tokens for the tag instead of retyping full lines.

I described the saving as very big.

I announced a new blog post about a new EDIT tool for LLM agents: https://t.co/BYGOoHLKxq.

Even if the file got unrelated changes, the edit will fail.

I called this failure risk a big tradeoff.

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
