Skip to main content

Web search from the command line

Search the live web and get back text, not a page of links. GBrain gives Web search, and every other connector you add, a command line.

Get Personal, $49 a month

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

Install the GBrain command line, then connect Web search

Install, connect the terminal, then connect Web search. Each step after the install opens a browser tab, does one thing, and hands the terminal back.

# 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.

# Connect your Web search account
gbrainio tool exa open

# Turn Web search on for the terminal
gbrainio terminal open

What GBrain can do with Web search

Results come back as title, url, date and the readable text of the page, which is what an agent needs and what a person reading a terminal wants too. Searches cost money, so they are the clearest thing a daily limit stops.

gbrainio
gbrainio tool exa search "SF planning commission agenda" --limit 21. Planning Commission · Agendas   text: Agendas, staff reports and minutes for hearings of the Planning Commission. Each agenda lists the cases to be heard and how to comment on one.   url: https://sfplanning.org/hearings2. Supervisors · Land Use Committee   text: The committee hears planning, zoning and housing legislation before it goes to the full board. Agendas are posted ahead of each meeting.   url: https://sfbos.org/land-use-committee
What exa search printed.

Each command ran for real, against an example account, and printed what is shown.

What a terminal may do with Web search, and what GBrain keeps

A level for each terminal, from Off up

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

500 actions a day for each command

Each of Web search's commands stops at 500 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 Web search 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 exa reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help exa says what Web search 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

Web search from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect Web search 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.