How the cli-core install went from 280 to 49 MB
The shared library under every WireCat CLI used to install at 280.4 MB, now it is 48.8 MB. What I removed, what now installs on first use, which step made it worse and what I did not measure.
Get WireCat Desktop
The app installs the tools, signs you in and gives your AI agent what it needs to use them. No terminal needed.
Download the desktop appFree and open source, for macOS, Windows and Linux.
Or connect from the command line
Copy a request for your agent: it installs the tool, helps you sign in and checks that it works.
Install tg with npm install -g @wirecat/tg-cli. Read tg setup --help, explain the steps and allow about five minutes, then help me run tg personal setup (personal is a profile name; any name works). Run tg personal doctor and suggest next steps. Before installation, check Node.js 22.19+ (22.x) or 24+ and npm; help me install them if needed. At the end, offer to install the tg skill for my agent.
npm install -g @wirecat/tg-cli && tg skill install --for allThe request runs in your agent. Signing in adds a device to your account.
Designing and building command line tools that people and agents both use.
6 posts
The shared library under every WireCat CLI used to install at 280.4 MB, now it is 48.8 MB. What I removed, what now installs on first use, which step made it worse and what I did not measure.
In a week I taught the WireCat template to build a whole CLI from one file, wirecat.config.ts. That's how attio, linear and wordpress came out in 3 days, with a sync into a local copy, an MCP server and tests. Here's how much code was hand-written, what broke on a real WordPress, and whether it fits your CRM.
When I turned the reranker on by default, WireCat's meaning search went from 1.9 to 5.1 seconds. Batching barely helped and changed the scores, native ONNX Runtime made scoring 2x faster, not 10x, and the Windows DLL I needed was only inside an npm tarball.
WAL mode, busy_timeout, no crashes and no disk errors, and still "database disk image is malformed". The cause was one writeFileSync before every open. How I found it through /proc/locks, reproduced it on an empty file, and why the recovery said nothing was lost.
My laptop rebooted at night, and every background piece of a local-first CLI failed in its own way. What I had to fix so the service and the schedules on a desktop survive a reboot and a locked keyring.
What WireCat is, why its tools run locally, and what works today across Telegram, MAX, WhatsApp, notes, mail, Zoom and Google Drive.