Tools
CLI
Install
On macOS and Linux:
curl -fsSL https://antarya.ai/install.sh | shOn Windows, in PowerShell:
irm https://antarya.ai/install.ps1 | iexSign in
antarya login opens your browser and saves a key on this machine. To use a key you made yourself, set ANTARYA_API_KEY instead.
antarya loginAsk a question
Put the question in quotes. The reply prints and the command ends.
antarya "Draft a reply that declines the meeting."Pipe a file in and ask about it:
cat agreement.txt | antarya "Summarise the termination clause."Options
| Name | Type | Required | Description |
|---|---|---|---|
--system | text | No | Instructions that apply to the whole conversation, for example "Answer in plain English." |
--json | flag | No | Print the full response as JSON instead of only the reply text. |
--file | path | No | Attach a file to the question. Repeat the option to attach more than one. |
antarya --file agreement.pdf --system "Answer in plain English." "What can I end this early for?"A conversation
antarya chat opens a conversation that keeps its history in a session until you leave it with Ctrl+D. Leaving deletes the session.
antarya chatConfig and uninstall
The CLI keeps its settings in ~/.config/antarya/config.toml on macOS and Linux, and in %APPDATA%\antarya\config.toml on Windows. Delete that file to sign out.
To uninstall, run antarya uninstall. It removes the program and the config file.