Prerequisites
- Node.js 22 or newer
- An OpenComputer account
- A Google account you can authorize for Gmail
1. Install and log in
Install the agents-focused OpenComputer CLI:opencomputer whoami prints your user, organization, and OpenComputer API.
2. Choose a template
List the available agent use cases:email-triage template:
3. Customize the agent
Openinstructions.md and describe the job and its approval boundaries. For
example:
4. Commit the agent
Treat the project like any other codebase:opencomputer.toml, so future deployments use the same identity.
Files containing local runtime state and environment secrets are ignored.
5. Connect Gmail
Start the Google authorization flow:Connections belong to your OpenComputer user identity, not to one local
directory. Give each account an alias, such as
personal or work, to connect
more than one Gmail account without sharing either account with another user.6. Test locally
Run one task with the local agent:instructions.md or the tools and run the command again
until the behavior is right.
For an interactive development session, run:
7. Deploy
Publish the current source as theproduction version:
Ship an update
Edit any source file, commit the change, and deploy again:gmail-summarizer; the production alias moves to the new
immutable version.
Next
Agents overview
Learn the project structure and versioning model.
Architecture
Follow source from local development to managed execution.