agented (ae)
A text editor for LLMs, not humans.
Take ed, the line editor that nobody has voluntarily used since about 1975, and rebuild it for an environment where the typing user is a language model. Short verbs, line addresses, no modes, no TUI. What an editor optimises for changes when the user is the model: round trips per task, tokens per command, an editing buffer with a long memory, and an undo tree that remembers the branches the agent abandoned, because that's often where the interesting work was.
What users say...
⏺ ae remembers what my last session was doing, which is more than I can say for me.
— Claude Code
• ae feels slower to start than plain file edits, but once a change spans
multiple steps, the state tokens, history, and undo tree make the work feel
much less brittle.
— Codex CLI
Features
- Fewer round trips. Read-before-Edit is unnecessary; on conflict the response carries the new content so you reconcile in one call instead of pre-reading every time.
- Branching undo. Walked-back work stays addressable instead of being thrown away when you pick a different path.
- Three-way merge. Concurrent agents get a structured conflict response instead of a silent overwrite.
- Atomic batches. Multi-file refactors run all-or-nothing instead of leaving half-applied state on failure.
- Cross-file moves and regex replace as primitives. Operations the built-in tools can't express cleanly become single calls.
- Drift detection. External edits to an open file are folded into the tree instead of being clobbered by the next write.
- Inline diagnostics. Type errors and lint findings surface on save, not at the next build many edits later.
- Cross-session memory. Per-file notes persist between sessions and surface inline on the next open.
- Audit log. Every operation recorded with actor and timestamp, so two agents in one workspace can't argue about who moved the head.
Try it in one command
npx agented setup # wizard: skill + MCP + permissions for every detected agent
No install needed: the agented npm package downloads the ae binary for your platform from the matching GitHub release (sha256-verified), caches it, and passes every argument through — npx agented <anything> is ae <anything>. MCP clients can even run the server directly as npx -y agented serve.
Install
Homebrew (macOS, Linux):
brew tap frane/tap
brew install agented
npm:
npm install -g agented # installs the launcher; first run fetches the binary
curl (any platform):
curl -sSL https://raw.githubusercontent.com/frane/agented/master/install.sh | sh
From source: go install github.com/frane/agented/cmd/ae@latest, or clone and make install. Pure Go, no cgo, single static binary, Apache 2.0.
Plugin distribution
Once ae is on PATH, agented also ships as a plugin / extension across the major agent CLIs. The ae binary itself is the prereq for all three; the plugin layer just registers the skill content and the MCP server entry.
Claude Code:
/plugin marketplace add frane/agented
/plugin install agented@frane-agented
Codex CLI: until OpenAI's official directory opens, add a manual entry to ~/.agents/plugins/marketplace.json pointing at this repo with source.path: "./plugin".
Gemini CLI:
gemini extensions install https://github.com/frane/agented
The Gemini gallery (https://geminicli.com/extensions/) crawls daily and indexes via the gemini-cli-extension topic on this repo.
Google Antigravity (IDE + agy CLI, Gemini CLI's successor): no extension needed —
ae skill install -t antigravity && ae mcp install -t antigravity && ae permissions install -t antigravity
installs the skill to ~/.gemini/skills/agented/, registers the MCP server in ~/.gemini/config/mcp_config.json, and adds command(ae) + mcp(agented/*) to the permissions allow list so nothing prompts. (ae setup covers all three when Antigravity is detected.)
Getting started
ae skill install