a local AI agent
Say what you want. Your computer does the rest.
knaif is a small AI that runs on your own machine and does the fiddly jobs — shrinking a video for a chat app, combining a stack of scans into one PDF, converting a document into the format someone asked for — from one plain sentence. Nothing to set up, no account, no monthly fee. It works offline, and it shows you what it's about to do before it does it.
Free and open source · Apache 2.0 · v1.1.0
$
knaif run ffmpeg "compress video.mp4 under 25 mb"
→
ffmpeg -y -i video.mp4 -c:v libx264 -crf 28 -preset slow -pix_fmt yuv420p -c:a aac -b:a 96k -movflags +faststart video_compressed.mp4
✓
video_compressed.mp4
62.4 MB -> 9.3 MB
A real session. knaif chose the tool and the settings; you saw the command before it ran.
how it works
You describe the outcome
No flags to remember, no manual pages. "Compress this under 25 MB", "get it ready for WhatsApp", "pull the audio out as mp3".
A small AI model works out the intent
Running on your machine. It picks the operation and the values — and that is all it does. It cannot run anything.
Code does the work
Ordinary, tested code builds the command, shows it to you, asks before it writes, and runs it. Same request, same command, every time.
skills
One blade per job.
Documents
Read, convert, combine, and protect documents on your own machine.
$ inspect report.pdf
FFmpeg
Convert, compress, and resize video without remembering a single flag.
$ Make clip1.mp4 and clip2.mp4 suitable for WhatsApp, keep them looking good, and show me a preview before converting everything.
why local
Nothing leaves your machine
No account, no API key, no upload. Your files and your words stay where they are.
Free, however often you ask
No subscription and no per-request charge. Wemeasured it against three premium agents — same results, at $0.
The same answer tomorrow
The command is built by code, not improvised. Ask the same thing next month and you get the same command.
It asks before it writes
Anything that changes a file needs your confirmation, and that gate is enforced in code — not left to the model's judgement.
Get it.
Or see all platforms, checksums and requirements. Building something? knaif.dev.