AI Chat

Mira's AI chat doesn't just answer questions — it reads, edits, and creates notes in your vault.

How It Works

When you open the chat panel (Ctrl + Shift + C), Mioru sends the AI:

  1. The current note you have open (full content)
  2. Sister Notes — the top 30 most recently modified notes in the same project (summaries)
  3. Project context — the .project.md file if it exists

The AI can then reference your notes, find connections, and take action.

Chat Modes

ModeContextBest for
NormalCurrent project (top 30 notes)Everyday chat and edits
OrganizationCurrent project, broader viewRestructuring, cross-note planning
Vault-WideAll projects (top 60 notes)Global search, vault-wide changes

Trigger vault-wide mode by mentioning "all projects", "entire vault", or "alle Projekte".

Agentic Features

The AI can perform these actions on your notes:

Note Operations

ActionWhat it does
Create NoteCreate a new .md file with AI-generated content
Update NoteEdit the current note — add sections, reformat, expand
Delete NoteMove a note to .trash/ (recoverable)
Move/Rename NoteMove a note between folders or rename it
Append to NoteAdd content to the end of an existing note
Multi-ReadRead up to 15 notes in one turn for cross-note analysis
Bulk OperationsCreate, update, or delete multiple notes in a single turn

Feedback Loop

Mioru closes the feedback loop between AI intentions and actual results. After each turn:

Example confirmation: "[ACTIONS EXECUTED: note_created: WLAN_Standorte.md, note_updated]"

Sister Notes & Token Efficiency

Mioru uses a three-tier context strategy to keep AI costs low:

TierWhatWhen
DefaultTop 30 sister notes (summaries)Every turn
On-Demand AIFull note content via list_notes + read_noteAI needs more context
On-Demand User@mention specific notesUser explicitly references

This is the same principle as Claude Code's tool-based architecture: send only what's needed, fetch the rest on demand.

When you have a Tavily API key configured, the AI can search the web live during your conversation. Mioru automatically decides when web search would help — no manual toggle needed.

AI Debug Details

Enable in Settings → System to see expandable error details when AI file actions fail. Debug info shows the action type, attempted path, parsed payload, and the OS error. Debug details stay out of the AI's conversation history so they don't pollute future turns.