Back to twins
Google Docs

Google Docs test environment for document workflows

Test document agents through the Google Docs API and an interactive rich-text editor.

Google Docs

Meet the Google Docs twin

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

Seeded state

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

Google Docs twin showing launch readiness notes in the interactive rich-text editor.

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.