Skip to main content

Google Calendar from the command line

List, add, change and cancel events without leaving the terminal. GBrain gives Google Calendar, and every other connector you add, a command line.

Get Personal, $49 a month

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

Install the GBrain command line, then connect Google Calendar

Install, connect the terminal, then connect Google Calendar. 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 Google Calendar account
gbrainio tool gcal open

# Turn Google Calendar on for the terminal
gbrainio terminal open

What GBrain can do with Google Calendar

Calendar has two levels rather than four: read what is on it, or write to it. An AI at Read can answer what a week looks like and cannot move anything in it.

gbrainio
gbrainio tool gcal event lsaccount: brad@example.compreview_is: Each event's time, title, place and number of guests; not its description, guest list or video link. read_whole_event reads one.1. Weekly planning   account: brad@example.com   attendees: 4   end: {"dateTime":"2026-08-31T10:00:00-07:00","timeZone":"America/Los_Angeles"}   id: 2a7q0v4hd1s8kc3m6t9bo5re1g   show_as: busy   start: {"dateTime":"2026-08-31T09:30:00-07:00","timeZone":"America/Los_Angeles"}   status: confirmed2. Review with Jenny   account: brad@example.com   attendees: 2   end: {"dateTime":"2026-09-01T11:00:00-07:00","timeZone":"America/Los_Angeles"}   id: 5m1c8e3tq6h0j9d4k7r2na6pv0   location: Room 4   show_as: busy   start: {"dateTime":"2026-09-01T10:00:00-07:00","timeZone":"America/Los_Angeles"}   status: confirmed3. Planning commission hearing   account: brad@example.com   attendees: 0   end: {"dateTime":"2026-09-03T15:00:00-07:00","timeZone":"America/Los_Angeles"}   id: 0g9k3n7b2d6s1t5c8m4qe0hv3j   location: City Hall   show_as: busy   start: {"dateTime":"2026-09-03T13:00:00-07:00","timeZone":"America/Los_Angeles"}   status: confirmedNEXT    gbrainio tool gcal event show <id> -a <account>   read whole eventgbrainio tool gcal event new "Lunch with Jenny" --start 2026-09-02T12:30:00account: brad@example.comcreated: trueid: 7d2s5h8l1p4c0g3n6a9te2bq5klink: https://www.google.com/calendar/event?eid=N2QyczVoOGwxcDRjMGczbjZhOXRlMmJxNWsgYnJhZEBleGFtcGxlLmNvbQopen_url: https://www.google.com/calendar/event?eid=N2QyczVoOGwxcDRjMGczbjZhOXRlMmJxNWsgYnJhZEBleGFtcGxlLmNvbQ&authuser=brad@example.com
What gcal event ls printed.

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

What a terminal may do with Google Calendar, and what GBrain keeps

A level for each terminal, from Off up

Each terminal reaches Google Calendar at the level set for it in the browser: Off, Read or Full. A terminal reads its level and never raises it.

A daily limit on each command

Each of Google Calendar's commands stops at a daily limit on the account it reaches, from 100 to 500 actions depending on the command, 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 Google Calendar 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 gcal reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help gcal says what Google Calendar 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

Google Calendar from a terminal, with GBrain Personal

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