Convert files with Gemini CLI
Gemini CLI works in your terminal. Connect TeraConvert and it can convert the files in front of it, on your Mac, the same way it reads and writes code.
> Make a text file from scan.pdf
teraconvert_convert
{ "path": "/Users/you/papers/scan.pdf", "to": "txt" }
Done. scan.txt is saved next to scan.pdf. The original is untouched.


- Files stay on your Mac
- No API key
- Part of Pro, one payment
How to connect Gemini CLI to TeraConvert
One click in the Mac app's settings. Shown here in TeraConvert on macOS.
Step 1
Get TeraConvert Pro on your Mac
Download TeraConvert and sign in with Pro. AI agents are part of Pro, and the switch for them is already on.
You find it in Settings > AI agents. Turn it off and no AI app can convert anything.

Step 2
Click Connect beside Gemini CLI
Settings lists every file Connect will change before you click it. For Gemini CLI, that is:
- Adds the teraconvert server to ~/.gemini/settings.json
- Adds the TeraConvert skill to ~/.agents/skills/teraconvert
Disconnect takes out exactly that, and nothing else.

Step 3
Ask in plain words
Ask Gemini CLI the way you would ask a person: “Make a text file from scan.pdf.” It checks what the file really is, then asks TeraConvert to convert it.
A card appears on your Mac while it runs, naming the app that asked, with a button to cancel.

Step 4
The new file is next to the original
The AI app gets the path of the new file and tells you where it is. Show in Finder on the card opens the folder.
Nothing is overwritten. If the name is taken, the new file becomes name_1.

How Gemini CLI reaches TeraConvert
Connect adds TeraConvert to the mcpServers section of ~/.gemini/settings.json, your user settings, so every folder you start Gemini CLI in can use it. A skill goes in ~/.agents/skills beside it.
Start a new Gemini CLI session after connecting and the three TeraConvert tools are listed with the rest.
Things to ask Gemini CLI
A scanned PDF to text
"Make a text file from scan.pdf." Pages with no text layer are read with OCR.
A batch of photos
"Convert every .heic in this folder to JPG." One conversion at a time, each beside its original.
Video to audio
"Save the audio from talk.mp4 as MP3."
An ebook to PDF
"Convert book.epub to PDF." Ebooks need Calibre. If it is missing, convert one in the TeraConvert window first and it offers to install it.
Questions
Do I need a Gemini API key for TeraConvert?
No. Gemini CLI uses whatever sign-in you already set up. TeraConvert never talks to Google.
Does it work in Gemini on the web?
No. Only Gemini CLI on your Mac can reach a local app.
Is my file uploaded?
No. TeraConvert converts it on your Mac. The AI app sends TeraConvert a path and gets the new file's path back. The model sees those paths, file names included, and whatever you typed, but TeraConvert never hands it the file.
Do I need an API key?
No. TeraConvert never calls an AI service. Your AI app calls TeraConvert, with the sign-in it already has.
Is it free?
No, AI agents are part of Pro, a one-time purchase with a 14-day money-back guarantee. The free conversion in the Mac app is for a file you pick yourself; an agent never spends it.
Can an agent overwrite or delete my files?
No. Every conversion is a new file next to the original. A taken name becomes name_1, and nothing is ever replaced or deleted.
How do I know what an agent converted?
A card appears on screen for every conversion, naming the app that asked, with a button to cancel it. Settings > AI agents lists the recent ones until TeraConvert quits.
Does TeraConvert have to be open?
No. If it is not running, the first request starts it in the background, without opening a window.
How do I turn it off?
Switch off Let AI agents convert files in Settings > AI agents, or click Disconnect beside one app. Disconnect removes exactly what Connect added and nothing else.
The same converter, without an AI app
Drop a file in the window, pick a format from the wheel mid-drag, or rename it in Finder. Photos, video, audio and documents, all on your Mac.