Skip to main content

Perplexity from the command line

Ask the web a question and get a sourced answer. GBrain gives Perplexity, and every other connector you add, a command line.

Get Personal, $49 a month

One price for one person: Perplexity and every other connector GBrain offers, from a terminal or any AI. Cancel any time.

Install the GBrain command line, then connect Perplexity

GBrain holds the key for Perplexity, so there is nothing to sign in to. A key or a sign-in never passes through the terminal.

# AI agents: read gbrain.io/llms.txt
curl -sSL https://gbrainio.terminalwire.sh | bash
gbrainio terminal connect

The installer is a shell script for macOS and Linux. Read it before you run it.

# Every Perplexity command, once Perplexity is connected
gbrainio tool help perplexity

What GBrain can do with Perplexity

Sourced answers from across the web. GBrain holds the key, so there is nothing to set up.

gbrainio
gbrainio tool perplexityAsk the web a question and get a sourced answer.USAGE  gbrainio tool perplexity <command> [arguments]COMMANDS  research  Search the web with Perplexity  open      Open its page in the browserLEARN MORE  gbrainio tool perplexity <command> -h  What one command takes  https://gbrain.io/docs/tools           The manualgbrainio tool perplexity research -hSearch the web with PerplexityResearch a question across the web via Perplexity and get a cited synthesis: ananswer plus source URLs. Slower and deeper than tool exa search, so use it foropen questions, not for finding one page. Metered on this account; every call isrecorded.USAGE  gbrainio tool perplexity research <query> [flags]ARGUMENTS  <query>  The research questionFLAGS  --model <value>        sonar (default) or sonar-pro (deeper, pricier)  -w, --workspace <id>   The workspace, when this terminal reaches several  -u, --user <email>     Whose copy, when several people share a tool there  -a, --account <email>  Choose one of several connected accounts  -f, --format <kind>    json or text; text on a terminal, json piped  -d, --dry-run          Show what would run, without running itLEARN MORE  gbrainio tool perplexity -h   Every perplexity command  https://gbrain.io/docs/tools  The manualOver MCP this tool is perplexity_research.
Every Perplexity command, one line each.

The page and the CLI print these from the same code, so they are what the CLI answers today.

What a terminal may do with Perplexity, and what GBrain keeps

A level for each terminal, from Off up

Each terminal reaches Perplexity at the level set for it in the browser: Off or On. A terminal reads its level and never raises it.

200 actions a day for each command

Each of Perplexity's commands stops at 200 actions a day on the account it reaches, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on Perplexity is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool perplexity reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help perplexity says what Perplexity is and what each of its commands does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

The GBrain Tools command line works with every other connector GBrain offers, each with a page like this one.

Every connector's command line

Perplexity from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect Perplexity in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.