Skip to main content

O'Reilly from the command line

Technical books, videos and articles. GBrain gives O'Reilly, and every other connector you add, a command line.

Get Personal, $49 a month

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

Install the GBrain command line, then connect O'Reilly

O'Reilly is connected on its own sign-in page, in the browser. 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 O'Reilly command, once O'Reilly is connected
gbrainio tool help oreilly

What GBrain can do with O'Reilly

O’Reilly is a learning library of technical books, videos and courses. Connected to a workspace, GBrain can find the chapter that explains a concept, quote it with the source, or answer “which book covers event sourcing best?”

It reads what an O’Reilly subscription already covers, and the connection only reads.

  • Search the O'Reilly library
  • Read a book's table of contents
  • Read chapter text
  • Read highlights and notes

What a terminal may do with O'Reilly, and what GBrain keeps

Off or Read, for each terminal

Each terminal reaches O'Reilly at the level set for it in the browser: Off, or Read, which only reads, as O'Reilly describes its tools. A terminal reads its level and never raises it.

1,000 actions a day for each command

Each of O'Reilly's commands stops at 1,000 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 O'Reilly 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 oreilly reads it back.

From a terminal, Claude Code or Codex

O'Reilly's own server lists its commands only to a terminal that has connected it, so they are not on this page. Once O'Reilly is connected, gbrainio tool help oreilly says what each of them 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.

From O'Reilly

GBrain reaches O'Reilly at its own server, api.oreilly.com. On O'Reilly's own pages: its website, how the connection works, its terms of service and its privacy policy.

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

Every connector's command line

O'Reilly from a terminal, with GBrain Personal

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