Let AI agents read and edit Google Docs through a simple CLI. No API complexity — just fetch, edit, commit.
gdsync syncs a Google Doc to a local file. The agent edits the file, runs a command, and changes appear in the live document.
gdsync fetch # pull Google Doc into content.txt # agent edits content.txt gdsync commit # push changes to the live doc
The sync engine handles formatting, character indexes, named ranges, images, tables, lists, and comments.
Non-blocking two-step setup. No background processes.
Each user gets their own project. gdsync never accesses your files.
Paragraphs, headings, lists, tables, images, inline formatting.
Read, reply to, and create comment threads.
Visual tracked changes — strikethrough old, red new.
List and search accessible docs including shared files.
npm install -g @gdsync/gdsync gdsync setup # create GCP project (guided wizard) gdsync setup check # confirm setup gdsync auth # sign in for document access gdsync auth check # confirm sign-in gdsync docs # list available docs gdsync init --doc ID # start editing