Fabian Ferno62 downloadsTalk to your vault. Cortana is a voice agent powered by Claude Code, Codex or Antigravity, with briefings and kanban check-ins. Local speech by default.
An independent open source project, not affiliated with or endorsed by Microsoft. Cortana is a trademark of Microsoft.
Talk to your vault. Cortana is an Obsidian plugin that turns the coding agent already on your computer (Claude Code, Codex or Antigravity) into a spoken assistant for your notes. Ask it what to work on, have it move cards on your kanban board, look things up in your notes, or let it brief you in the morning and wind you down in the evening.
Because it drives a CLI, Cortana runs programs on your computer and keeps state in files outside your vault. The plugin's own writes inside the vault go through Obsidian's API; the engine edits files the way it would in a terminal, under its own permission rules. See Programs it runs and Files outside your vault.
Desktop only (macOS, Windows, Linux). Early release (0.2.0): expect rough edges, and please open an issue when something breaks.
mic -> voice detection -> speech recognition (local Whisper / Sarvam / Soniox)
|
v
your words + live context (time, board, signals, focus) --> engine CLI in your vault
(claude / codex / agy)
|
reply text, streamed <--+--> agent actions (move card, add task,
| update memory, propose config edit)
v |
sentences -> speech (system voice / ElevenLabs / Sarvam / Soniox) run by the plugin's validated writers
The engine runs with your vault as its working directory, so it can read, search and edit
notes with its own tools. Changes to the kanban board and the agent's own files go through
"agent actions": the engine ends its reply with a small JSON block, and the plugin applies it
with tested writers that keep the board format intact. To fix a damaged board, the engine sends
back the whole corrected file; the plugin saves it only if every card, id, column and the Kanban
settings are still there, and /undoboard puts the old version back. Edits to the agent's
personality files are proposed first and only applied after you say yes.
The agent never reads or writes your daily notes folder. With Claude Code this is enforced with permission rules, not just instructions.
claudecodexagy## Column headings with - [ ] card lines). No
board yet? Ask Cortana to make one, or run Cortana: Create a board. The
Kanban plugin shows the note as a board, but
Cortana does not need it. A column named Daily is for habits: its cards stay put, done
means ticked, and Cortana unticks them every morning (the day turns at 4am).Cortana is not in the community plugin list yet. Until it is, install it one of these ways:
With BRAT (gets updates automatically)
fabianferno/obsidian-cortana.By hand
main.js, manifest.json and styles.css from the
latest release.<your vault>/.obsidian/plugins/cortana/ (create the folder).which claude in a terminal.Kanban.md, Inbox/,
Notes/ and Daily/; change them to match your vault. If there is no board at that path,
press Create board (or just ask Cortana for one); Cortana never pretends an empty board.On first run the plugin creates the agent's files in the agent folder (agent/ by default):
soul.md, identity.md, user.md, goals.md and memory.md. Edit them to shape the agent.
To give it another name, or tell it what to call you, use Name at the top of the plugin settings.
user.md holds your timezone, quiet hours, check-in interval and coordinates (sent to the engine as part of the context).
The first time you talk to it, the plugin downloads the ONNX runtime (21 MB, from jsDelivr, verified by checksum) and the Whisper model (about 80 MB for the default, from Hugging Face). After that it works offline. The system voice needs no download.
The system voice sounds as good as the voices you have installed. Automatic (the default) picks the best one for your language: a Premium voice, then an Enhanced one, then the basic default. So on macOS, download a Premium or Enhanced voice in System Settings, Accessibility, Spoken Content, System voice, Manage voices (on Windows: Settings, Time & language, Speech, Add voices), restart Obsidian, and press Play under Test voice to hear it. Joke voices (Bells, Bad News and friends) are left out. A macOS Personal Voice is not available to Obsidian, since Apple only offers it to apps that ask for permission.
Updating from 0.1.x: the old Kokoro voice model is deleted from the cache automatically.
/ in the box for a menu of commands (arrow keys, Enter to run, Tab to fill in).
/pause and /resume turn check-ins off and on. /clear starts a fresh conversation.
/status shows whether the agent is paused. /clearboard empties Done and Archive (asks
first). /graduate runs the daily note pass now. /undoboard reverts the last board repair.Things to try: "What should I work on?", "Add call the bank to To Do", "Push the gym card to Friday", "I'm done with the intro", "What do I know about Priya?", "From now on, never use emoji with me".
| When | What |
|---|---|
| Morning (08:00) | Top priorities for the day, parked tasks, and what the note pass moved. |
| Midday (13:00) | Progress check on the morning plan. |
| Evening (20:00) | What got done, one question about the day. |
| In between | Short adaptive nudges. More often with deadlines, less when you are busy or ignoring them. |
| Board changes | A card moved into Doing starts a focus session ("how long will it take?"). Finishing, parking or abandoning it is noticed. A card stuck in Doing for 7 days goes back to Backlog. |
| During a focus session | When time is up and you are in the card's note, the nudge asks how much longer instead of what is blocking you. If you spend 10+ minutes of a session typing in notes unrelated to the card, Cortana checks once whether those notes serve the card, and says one light sentence only if they don't. Needs See what you have open and Nudges between check-ins. |
- **2026-11-14** | moving to Bangalore [Source: voice chat] under ## Timeline. Anything
new becomes a note in the capture folder with one type tag. Turn this off with File things
from conversations.log.md in the agent folder.Turn on Let other AIs use your vault in settings, pick your app under Connect an app, press Copy setup and paste it where the label says (a terminal for Claude Code and Gemini CLI, the config file for Codex, Cursor, Claude Desktop and OpenClaw). The app then has these tools:
| Tool | What it does |
|---|---|
get_context |
Who you are (user.md), your goals, what Cortana remembers, today's date and your board. Apps are told to call it first. |
search_notes, read_note |
Find and read your notes. |
capture_note |
Adds a dated Timeline line to a note, with the app as the source ([Source: Claude Code]), or a new note in the capture folder. |
remember |
Adds a fact about you to memory.md. |
add_task, move_task |
Changes your board through the same writer Cortana uses. |
The rules are the same as for Cortana's own engine: daily notes and the agent folder
cannot be read, soul.md, identity.md, user.md and goals.md cannot be changed, and
your own lines are never rewritten. Every change shows in the Cortana panel and gets a line
in log.md. Turn off Let them make changes to allow reading only.
The server listens only on 127.0.0.1 and needs a token kept in Obsidian's secret storage;
New token disconnects every app. Web apps (claude.ai, ChatGPT, grok.com) call MCP
servers from their own cloud, so they cannot reach it.
Times are in settings; leave one empty to turn it off. Check-ins only run while Obsidian is
open; a check-in missed while it was closed runs once when you open it, if it is still the
same day. Quiet hours come from user.md.
| Listen | Speak | Key | Notes | |
|---|---|---|---|---|
| Local / System | Whisper (tiny/base/small) | Your OS voice | none | Private and free. Speech starts instantly; quality depends on the voices installed. |
| ElevenLabs | no | yes | ElevenLabs API key | The most natural voices. |
| Sarvam | yes | Bulbul | Sarvam API key | Strong on Indian languages and accents. |
| Soniox | yes | yes | Soniox API key | Fast real-time recognition. |
The system voice uses the Web Speech API, which Obsidian connects to the native engine: AVSpeechSynthesizer on macOS, Windows' speech voices on Windows and speech-dispatcher on Linux (install it with a voice such as espeak-ng if the voice list is empty).
Keys are stored in Obsidian's secret storage, not in the plugin's settings file.
Cortana has no telemetry, no ads and no account of its own. It connects to these services, and only for these reasons:
| Service | When | What is sent |
|---|---|---|
| Your engine (Claude Code, Codex or Antigravity) | Every message to the agent, and each check-in | Your words, the agent's context (time, board, personality files) and whatever notes the engine opens. The plugin runs the CLI; the CLI talks to its own provider (Anthropic, OpenAI or Google) under your existing sign-in and their terms. |
huggingface.co |
First use of local speech recognition, or when you pick a different Whisper model | Nothing about you. Downloads the Whisper model (40 to 250 MB), then cached. |
cdn.jsdelivr.net |
First use of local speech recognition | Nothing about you. Downloads the ONNX runtime for transformers.js 3.8.1 (21 MB), checked against a SHA-256 fixed in the plugin, then cached. |
api.sarvam.ai |
Only if you choose Sarvam | Your speech audio (to transcribe) or the agent's reply text (to speak), with your Sarvam key. |
stt-rt.soniox.com, tts-rt.soniox.com |
Only if you choose Soniox | Your speech audio or the agent's reply text, with your Soniox key. |
api.soniox.com |
When the Soniox voice setting is shown | Your Soniox key and the voice model name, to list the voices you can pick. |
api.elevenlabs.io |
Only if you choose ElevenLabs | The agent's reply text, with your ElevenLabs key. When the ElevenLabs voice setting is shown, your key, to list the voices in your library. |
| A local MCP server on 127.0.0.1 (port 27150 by default) | Only if you turn on Let other AIs use your vault | Nothing is sent out. AI apps on this computer that have your token can read your notes (not daily notes or the agent folder) and, if allowed, file notes and change the board. What they do with it is up to that app and its provider. |
With local speech recognition and the system voice, audio never leaves your computer.
~/.obsidian-cortana/state/ - the agent's working state per vault: focus sessions,
the last 200 messages, check-in times. Kept outside the vault so sync and git plugins don't
commit it. Delete the folder to reset the agent.~/.obsidian-cortana/runtime/ - the downloaded ONNX runtime for local Whisper.~/.claude/ for Claude Code).The plugin starts the engine CLI you picked (claude, codex or agy) with your vault as
its working directory, the same as running it in a terminal there. By default it asks the
engine to accept file edits without prompting (acceptEdits / workspace-write); the
Permissions setting controls this. With Claude Code, the daily notes folder is blocked
by permission rules.
pnpm install
pnpm test # unit tests (vitest)
pnpm lint # Obsidian's community review lint rules
pnpm typecheck
pnpm build # production main.js
OBSIDIAN_PLUGIN_DIR="/path/to/vault/.obsidian/plugins/cortana" pnpm dev # watch + copy into a vault
Layout:
src/plugin/ - Obsidian plugin: settings, side panel, wiring.src/agent/ - the agent: turns, actions, scheduler loop, kanban focus tracking.src/engines/ - one adapter per CLI (Claude Code, Codex, Antigravity).src/brain/ - prompt building, the actions protocol, signals and priorities.src/voice/ - mic, voice detection, playback, providers; voice/system.ts is the OS voice,
voice/local/ runs Whisper in a Web Worker.src/vault/, src/config/, src/context/, src/focus/, src/checkins/ - vault I/O,
personality files, context, focus sessions, timers.To release: bump the version in manifest.json, package.json and versions.json, commit,
then push a tag with the same version (for example git tag 0.1.1 && git push --tags). The
release workflow builds the plugin and publishes the three files.
Issues and pull requests are welcome. Please run pnpm lint && pnpm test before opening a
pull request, and keep new network calls listed under "Network use".
main.js bundles these libraries, under their own licenses:
The Whisper models are OpenAI's Whisper (MIT), in the ONNX conversions published by Xenova on Hugging Face, downloaded on first use.