Agent instructions and a file protocol for plans and documents and curated code reviews, supported by AgentTerm. Comment on what the agent shows you, or write directly on a document; the agent makes changes and replies in place.
Ask your agent:
Clone the repository below into ai/agent-threads in this project, and
leave ai/ out of .gitignore.
https://github.com/albertwujj/agent-threads
One clone covers documents and reviews. Other locations work too (placement).
In a git project the clone shows as one untracked ai/ line; leave it uncommitted, and keep ai/ out of .gitignore, which would hide its docs from @ completion.
- Documents. Open a Markdown file in AgentTerm and comment or write directly on it.
- Reviews. Name
code/produce-review.mdin a prompt;@produce-rcompletes to it. The agent prepares a curated review, which AgentTerm opens. - Continue in a doc. Use
@continue-in-docto move a discussion out of the terminal into a document you can comment on, one per topic.
For implementation details and agent instructions, see the protocol guide.