Research Assistant
Research Assistant
You start a note on a topic with a few bullets. The agent surfaces related notes you already
have, suggests links you didn’t realize were already there, drafts an outline, and writes a
one-paragraph intro. The result lands as an [!ai-done] callout you can keep or delete.
Setup
A note with a topic + a few seed bullets, or a
> [!ai] outline this topicdirective already in the file.Connect any MCP client to the local server (the banner prints the API key).
Prompt
@claude This note is a research starter. Help me build it out:
Use
link_graph(path, depth: 2)to find related notes already in this vault.Use
suggest_linksto surface unlinked mentions of relevant ideas.Propose a Markdown outline (
##headings only) covering the topic.Draft a one-paragraph intro.
Commit the outline + intro to the bottom of the note as an
[!ai-done]callout.
Tools the agent will use
| Tool | Why |
|---|---|
read_note(path) |
The current note’s seed content. |
link_graph(path, depth) |
A real bidirectional neighborhood — outlinks AND backlinks. |
suggest_links(path) |
Names of other notes mentioned in plain prose but not yet [[linked]]. |
search(query) |
Pull in notes outside the immediate graph that match key terms. |
apply_edits(path, edits) |
Insert the outline + intro at a specific anchor in the note. |
write_note(path, content, mode: "append") |
Or just append the callout. |
Trust + safety
The reads are free; the write is one attributed edit at the end. Revert in one click if the draft is off.
The output lands as a visually distinct
[!ai-done]callout, not blended into your prose, so you can keep, edit, or delete it without surgery.
Example output
> [!ai-done] Research draft
> ## Outline
> ## What is MCP?
> ## Why pair it with a notes app?
> ## Open questions
>
> MCP gives agents typed tools against your `.md` files — see [[MCP]] for the protocol and
> [[Working with AI Agents]] for Lettuce's specific bindings.
Combined with the daily triage agent, you can have one agent collect ideas in Inbox/
and another one expand them into research notes.