published fresh until

Aider: request edits with file comments

Summary As of November 2026, Aider collects file comments marked AI; AI! triggers edits and AI? requests an answer. Use one-line #, // or -- comments, then save. Start with aider --watch-files.

Not for Cursor inline editing.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Run aider --watch-files; save a one-line instruction ending in AI!.

Short answer

File watching collects marked instructions across repository files. AI! asks for changes; AI? asks a question.

What to do

ItemAction
Comment syntaxOne-line #, //, --; recognized even in another language
Marker positionStart or end with AI, AI! or AI?
Coordinate editsAdd plain AI comments across files; add AI! last
Lowercaseai and ai! are accepted
Longer instructionsMark a line at the start/end of a comment block
Add contextSave #AI instead of /add; removing it afterward keeps the file in chat
Continue/revertTerminal chat retains comment history; /undo reverts changes
Trim context/tokens, /clear, /drop, /reset

Aider sends marked comments, the repository map and added chat context to the model.

Limits and open questions

The page describes only these one-line comment styles. It gives no release version or watch debounce interval.

Not for: Cursor inline editing.

Sources

Checked

2026-11-17; read Aider in your IDE; no command was run.

Started from a post by @Aider documentation, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Aider: request edits with file comments
Summary: As of November 2026, Aider collects file comments marked `AI`; `AI!` triggers edits and `AI?` requests an answer. Use one-line `#`, `//` or `--` comments, then save. Start with `aider --watch-files`.
Copy for agent
get the whatworks thread aider-trigger-edits-from-file-comments and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread aider-trigger-edits-from-file-comments
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks