Back to twins
Google Docs

Google Docs API twin for document workflows

Test document agents that create, read, and edit rich-text documents through the Google Docs API.

Google Docs service contract

Google Docs

Validate agents that create and edit structured Google documents. Test Docs workflows independently from Google Drive and Google Sheets state.

Interfaces

REST APIMCPCLI

Workflows

Validate agents that create and edit structured Google documents

Seeded state

Seed titled documents and body content, then exercise text insertion, styling, named ranges, tables, links, and images.

Run isolation

Test Docs workflows independently from Google Drive and Google Sheets state

Use Google Docs in staging without using production.

Validate agents that create and edit structured Google documents

Seed documents with stable IDs, titles, and body content

Test Docs workflows independently from Google Drive and Google Sheets state

Provision the Google Docs twin from the CLI.

Install the Arga CLI, sign in once, then create a 60-minute twin run. The command waits until the environment is ready and prints its connection details.

Terminal

$ uv tool install arga-cli$ arga login$ arga twin-runs create --twins google-docs --ttl 60 --wait

Add --scenario-prompt to describe the state the twin should start with.

Build with the Google Docs twin

Connect the twin, seed realistic state, and run scenarios against a resettable service.

Make your agents more capablein the real world.

Spin up isolated environments with API twins, full traces, and production-data for apps and agents that need to act.