wcat is a command-line tool. It reads the notes and documents that files imports from a folder such
as an Obsidian vault, the mail that mail syncs, and the messages that tg-cli and
max-cli keep. Then you, or your AI agent, ask: what do I know
about this person, where did we discuss this, what did I promise. Every answer points back to its source.
Example — search two invented notes in a notes folder:
$ wcat search notes budget Friday
Searched by words only: embeddinggemma is not downloaded — install it with a WireCat CLI that has `models download` (tg, max or wa); they share the model folder
Projects/Harbour budget.md
Review the Harbour budget by Friday.
people/Alice Example.md
Asked for the revised budget by Friday.
Each hit names its file and shows a matching excerpt. The diagnostic line goes to stderr: the local model
is missing, so this search used words only. --json returns structured results for an agent or script.
Quick start
You need Node.js 22.16+ or 24+ (not 23). wcat is tested on Linux; macOS and Windows are not tested yet.
pnpm add -g @wirecat/wirecat @wirecat/files-cli # files brings in notes and documents
wcat-wirecat skill install --for all # the agent skill; this first start also adds `wcat`
files folders add /path/to/notes # your notes folder; Obsidian format when it is a vault
wcat sync # runs files sync, embeds stored mail, links people; run again after edits
wcat search notes "budget"
pnpm keeps one copy of each package for all WireCat tools. npm works too:
npm install -g @wirecat/wirecat @wirecat/files-cli. wcat has no install script, so a global install adds only
wcat-wirecat: the second line installs the agent skill and adds wcat. On Windows, open a new terminal if wcat
is not found.
That is all notes need. wcat runs wcat-files sync itself when the files CLI is installed. Then add more context:
- Messages: install tg-cli or
max-cli; wcat reads the same local store.
- Search by meaning: needs a local model of about 220 MB, downloaded once with:
wcat models download embeddinggemma. Without it, wcat searches
by words.
- Mail: install mail, run
mail <profile> session start --address <address>
and mail <profile> sync; wcat then searches that mail (wcat search mail 'invoice').
- Stay current:
wcat jobs start runs wcat sync every five minutes (Linux, systemd).
- Your agent:
wcat skill install --for all puts wcat's skill where Claude Code, Codex and Gemini CLI read
it; wcat skill show prints it.
Or ask your agent: "Help me install wcat with pnpm add -g @wirecat/wirecat @wirecat/files-cli and
wcat-wirecat skill install --for all, read wcat --help, then help me connect a notes folder I choose with the files CLI."
More: installation ·
install wcat on wirecat.dev
What can you do?
"What do I need to know about Alice before the call?"
wcat context telegram:"Alice Example" --json
Every identity linked to her, the last message each way, chats in common, linked mail, the notes about
her and the open tasks — each with a link to its source.
"Where did we discuss the Harbour budget?"
wcat search all 'harbour budget' --json
Messages, imported mail and notes, ranked together. When you know the kind, search notes,
search mail and search messages read every field.
"What did I promise people this week?"
wcat answers create 'What did I promise this week?' 'promised OR "by Friday"' --all --json
An evidence bundle for your agent: the matching sources with their references, what was searched, and
the instruction to cite them. Your agent writes the answer; wcat calls a model only when you ask it to.
More: search ·
ask for the context you need
Built for AI agents
- Any agent with a terminal — Claude Code, Codex, Gemini CLI and others run
wcat commands; --json
gives them structured output.
- Evidence, not guesses —
wcat answers create hands over sources with references, and says what it could not
search.
- MCP —
wcat mcp serve lets MCP apps such as Claude Desktop or Cursor read your messages, mail and notes, and
propose memories, directly recorded facts and outbound actions. Project proposals can also be decided
by the agent when allowed; you can require owner decisions instead. Apps on the web or phone use
authenticated HTTP MCP through your HTTPS tunnel, with the same saved permissions.
More: connect your AI agent ·
memories and facts · the MCP server
Why wcat?
- Local first. Everything lives in a local store; search by meaning uses a local model.
- Every answer has a source. Hits carry a reference you or your agent can open: a note, a file
page, an email, a message.
- Links, not guesses. Notes link to people and records; identities are never merged because a name
matches.
- wcat leaves your sources untouched. wcat never changes a mailbox or a notes folder; Gmail cleanup
is a command of the separate
mail program, and notes are the files CLI's. Tags live in the store.
- Review and delegation are recorded. Memories and outbound actions an agent suggests wait for
your confirmation. Project decisions can be delegated or left to the owner. wcat never sends anything.
Status: early. Context, search over the notes the files CLI stores and the mail the mail CLI stores,
tasks, manual relationships, evidence bundles and local reminders work. A task in a project cannot have a reminder yet.
More: security ·
security on wirecat.dev
What it reads
- Notes and documents: what the files CLI stored from your folders, with their links and tags.
- Mail: Gmail or another IMAP account, synced by the mail CLI, text and headers only.
- Messages: the tg, max and wa store, with the people linked across messengers and mail.
You add tags, tasks and reminders, organizations and projects.
More: notes on wirecat.dev
Commands by task
| Task |
Commands |
| Sync what changed |
wcat sync · sync --only notes · sync --only mail · jobs start / stop / status |
| Search |
wcat search all · search notes · search mail · search messages |
| Hand evidence to an agent |
wcat answers create |
| Know a person |
wcat context |
| Prepare and review archived meetings |
wcat meetings prepare · search meetings · meetings passage · meetings actions add |
| Organizations and projects |
wcat organizations add / list / context · projects add / list / context · projects key-documents add / remove / list · projects meetings list / link |
| Project and topic aliases |
wcat vocabulary list / show / check / inspect · vocabulary aliases add / remove · vocabulary create |
| Relationships |
wcat relationships add / list / remove / confirm / suggest |
| Labels |
wcat tags add · tags remove · tags list |
| Open work |
wcat tasks add · tasks list · tasks counts · tasks agenda · tasks show · tasks update · tasks move · tasks assign · tasks history · tasks close · stats tasks show · people list |
| Task dependencies |
wcat tasks link / unlink / links · tasks status · tasks list project:HRB ready:true |
| Reminders |
wcat reminders add / list / poll / ack / update / cancel |
| Agents |
wcat memories … · facts … · actions … · agents list · wcat mcp serve |
Every command takes --help; most take --json. wcat guide lists scenarios — the commands for a common task, in
order — and wcat guide person-brief gathers one person across every WireCat tool.
More: technical docs · wcat on wirecat.dev
Notes
Notes and documents belong to the files CLI: files folders add, files sync, files notes add and the
rest. wcat reads what it stored: wcat search notes, wcat context, wcat tags and wcat tasks see those notes,
and wcat show note:<id> gives a note's text, the first 2000 characters unless --max-chars asks for more. wcat sync runs wcat-files sync
when the files CLI is on PATH.
More: notes on wirecat.dev
Search and evidence
Notes are searched by words and word stems in the query language messages use — phrases, AND/OR/NOT,
tag:, date: — and by meaning once the local model is downloaded (wcat models download embeddinggemma); both are ranked together. search all
reads messages, imported mail, notes and the calendar events gcal stored together, and nothing else. When you know the kind, its own search
reads every field: search mail takes from:, to:, cc:, bcc:, subject: and mailbox:.
wcat search notes '"budget review" AND NOT cancelled' --limit 20
wcat search mail 'from:alice@example.com subject:budget'
wcat show note:NOTE_ID --json
wcat answers create needs a scope (--all, or --source, such as --source telegram:1,notes) and returns evidence by default. To
call a model instead, set WCAT_MODELS_ANALYSIS_PROVIDER and WCAT_MODELS_ANALYSIS_MODEL and pass
--analyze; a remote model also needs --allow-remote.
More: search ·
searching on wirecat.dev
People, organizations and projects
wcat context answers from the shared store: every identity linked to the person, the last message each
way, recent messages, chats in common, linked mail, their calendar events, the notes about them and the open tasks. Who is who is
decided in messaging — tg personal contacts link <person> email:<address> — and a same name is never enough.
Organizations and projects are yours, not one account's. Relationships (member-of, related-to) are
manual statements; relationships scan only proposes a project's likely chats and people, or shared-domain links,
for you to confirm. A project can hold meetings (projects meetings link), and wcat vocabulary gives projects and
topics reviewed aliases, so one name always means one project.
Before adding a new tag or topic, run wcat vocabulary check <name> --json. Reuse a
canonical label or add an alias if it means the same thing. For a deliberately distinct label,
run wcat vocabulary create <name> --fingerprint <creation_fingerprint> --json; select --kind topic
on both commands when creating a topic. The owner accepts this review; MCP has vocabulary_check
but no tool that creates a label. An intervening label or alias change requires a fresh review.
wcat vocabulary check --json finds likely synonyms already in the catalog. Its complete
flag reports whether the bounded comparison finished; candidates require review and are never
merged automatically. Use --kind tag, --kind topic or --kind project to narrow the review.
wcat organizations add 'Synthetic Studio' --kind company
wcat projects add 'Synthetic Harbour' --organization organization:ORGANIZATION_ID
wcat projects key-documents add PROJECT_ID document:DOCUMENT_ID --reason 'read this first'
wcat projects context PROJECT_ID --json # start project work here: key documents come first
More: people and projects ·
people on wirecat.dev
Mail
The separate mail CLI brings mail in: mail <profile> session start --address me@example.com, then mail <profile> sync, fill the shared store, and wcat searches and shows that mail.
mail keeps text and headers, not attachments. mail can also file, delete and send mail in your mailbox; wcat never
changes it.
wcat search mail 'mailbox:important budget'
wcat messages show <ref>
wcat never opens a mailbox. Looking at a mailbox before a sync (mail <profile> account inspect), a Google Takeout
archive (mail <profile> messages import), rules and cleanup are commands of mail; wcat sync and its timer only
prepare the stored mail for search by meaning. To see how far a mailbox synced, run mail <profile> status.
More: mail ·
mail on wirecat.dev
Tags, tasks and reminders
Tags are your labels on a note, an email, a message, a chat, a person, an organization, a project, a task,
a meeting, or every note under a folder. They live in the store; files, Gmail labels and mailbox flags are
never changed. A task points at the message or note it came from, or is your own in a
project (--project RES --title …), and can be blocked by another until it is done. wcat tasks agenda
says what needs a look today in the account you name; a notes folder is one (--source notes). Reminders are local:
a caller you choose polls for them, and nothing is delivered to a messenger or mailbox.