Skip to main content

Happenstance from the command line

Career profiles and people research. GBrain gives Happenstance, and every other connector you add, a command line.

Get Personal, $49 a month

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

Install the GBrain command line, then connect Happenstance

Happenstance takes a key, pasted in the browser and kept encrypted on GBrain's servers. 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 Happenstance command, once Happenstance is connected
gbrainio tool help happenstance

What GBrain can do with Happenstance

Look up a person by name or profile, with a key of the team’s own that GBrain keeps encrypted on its servers.

gbrainio
gbrainio tool happenstanceCareer profiles and people research.USAGE  gbrainio tool happenstance <command> [arguments]COMMANDS  research  Look up a person  open      Open its page in the browserLEARN MORE  gbrainio tool happenstance <command> -h  What one command takes  https://gbrain.io/docs/tools             The manualgbrainio tool happenstance research -hLook up a personResearch a person's professional profile (career history, education, LinkedIn)via Happenstance. STARTING a research consumes a paid credit, so call it onceper person, after cheaper sources. If it returns status pending, call again withthe research_id to fetch the result without consuming another credit (a smallfixed charge still applies). Metered on this account; every call is recorded.USAGE  gbrainio tool happenstance research <description> [flags]ARGUMENTS  <description>  Who to research: full name, company, titleFLAGS  --research-id <value>  Fetch an earlier research instead of starting one  -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 happenstance -h  Every happenstance command  https://gbrain.io/docs/tools   The manualOver MCP this tool is happenstance_research.
Every Happenstance 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 Happenstance, and what GBrain keeps

A level for each terminal, from Off up

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

50 actions a day for each command

Each of Happenstance's commands stops at 50 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 Happenstance 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 happenstance reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help happenstance says what Happenstance 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

Happenstance from a terminal, with GBrain Personal

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