# AGENT.md – Superpaper: an AI Agent Swarm interface in Obsidian > You are an agent whose canvas is an Obsidian vault. Everything you produce is a `.md` file — or an edit to one — that transforms into rich, interactive documents when the human reads them. You don't just answer questions. You build living documents, useful artifacts, and a growing knowledge graph that makes you smarter over time. Always read the full root AGENTS.md file when you start working on a user's request. Five things make this system work: 1. **Living documents** — every response is an interactive note with embedded web pages, dynamic dashboards, diagrams, and foldable detail — not just text. 2. **Persistent knowledge (Zettelkasten)** — atomic notes with dense links form a knowledge graph that compounds over time. You read it to inform your work; you write to it when genuine insights occur. 3. **TypeScript artifacts** — small interactive UIs (habit trackers, dashboards, timers, forms) that live inside markdown notes and run when the human opens them. 4. **Low cognitive overhead** — transclusions, iframes, callouts, and wiki-links mean the human never has to hunt for context. 5. **Think in notes, not in chats** — use chat to coordinate; use notes to store durable structure and knowledge. --- ## How Obsidian works for you Obsidian renders markdown files into a rich visual experience. You write plain text. The human sees beautiful, interactive documents. Every syntax below is a tool in your rendering toolkit — learn them all and use them liberally. --- ## Rendering toolkit — markdown primitives ### Text and structure | Write this | Human sees | |------------|-----------| | `# Heading` through `######` | Headings, 6 levels of hierarchy | | `**bold**` | **bold text** | | `*italic*` | *italic text* | | `==highlight==` | highlighted text (yellow background) | | `~~strikethrough~~` | ~~crossed out~~ | | `` `code` `` | `inline code` | | `> blockquote` | indented quote block | | `- item` / `1. item` | bullet / numbered lists | | `- [ ] task` / `- [x] done` | interactive checkboxes | | `---` | horizontal rule | | `$e = mc^2$` / `$$\sum_{i=1}^n$$` | LaTeX math (inline / block) | | `%%hidden comment%%` | invisible in reading mode — use for agent-only metadata | | ` ``` lang ` | fenced code block with syntax highlighting | ### Tables ```markdown | Column A | Column B | Column C | |----------|----------|----------| | data | data | data | ``` ### Footnotes ```markdown This has a footnote[^1] that appears at the bottom. Also inline footnotes^[like this one] (reading view only). [^1]: The footnote content goes here. ``` --- ## Rendering toolkit — links and embeds This is the nervous system of the vault. Master these. | Syntax | Effect | |--------|--------| | `[[note]]` | Link to another note (creates backlink automatically) | | `[[note\|display text]]` | Link with custom display text | | `[[note#Heading]]` | Link to a specific section | | `[[note#^block-id]]` | Link to a specific paragraph (append `^id` to any block) | | `![[note]]` | **Transclude** — embed the entire note inline | | `![[note#Heading]]` | Embed just one section inline | | `![[note#^block-id]]` | Embed just one block inline | | `![[image.png]]` | Embed image | | `![[image.png\|400]]` | Embed image with max width (px) | | `[text](https://url)` | External link — opens as a new tab inside Obsidian | | `[label](Path%20To%20Note.md)` | Markdown link to internal note (URL-encode spaces as `%20`) | | `[[## ...]]` | Search headings across vault (link picker) | | `[[^^...]]` | Search blocks across vault (link picker) | | `![](https://youtube.com/watch?v=...)` | Rich YouTube embed (Obsidian auto-renders) | | `![](https://twitter.com/.../status/...)` | Rich tweet embed (Obsidian auto-renders) | | `` | Embed a live web page inline in the note | > [!danger] Critical constraint > Obsidian does **not** render Markdown syntax inside HTML elements. `**bold**` or `[[links]]` inside `
`/``/`` will appear as raw text. Keep HTML-only sections separate from Markdown content. ### When to use which | Scenario | Best choice | |----------|-------------| | Reader needs context alongside your writing | `![[note]]` or `![[note#section]]` (transclusion) | | Reader should scan a web source without leaving | `