Sign up and create an API key
- Create an account at app.mesa.dev.
- Create an organization for your product (example:
acme). - Generate an API key with
adminscope.
API keys are only shown once. Save them in your secrets manager before leaving the dashboard.
Create a repo
In Mesa a repository is a directory with its own version history and access controls. It’s common to create a repo for each distinct project in a customer’s workspace.To retrieve an existing repo later:
Create your first change
Once created, you can interact with repositories in a number of ways. The simplest way is to use the change API to programmatically edit repository contents.
Use Mesa in a sandbox
Programmatic commits are useful but the most powerful way to use Mesa is using our virtual filesystem within a sandbox.Now any agent in the sandbox can access your repo automatically at
~/mesa/mnt/<org_slug>/test-repo in your sandbox. Any edits within that directory are automatically persisted and you can control the versioning through the SDK.Create a bookmark for experimental changes
You can create bookmarks to isolate changes before moving them back to
main.Next steps
- Versioning for repos, bookmarks, and changes
- Auth & Permissions for API key scopes
- TypeScript SDK Reference for the primary TypeScript client
- Python REST SDK Reference if you’re working in Python
- Rust SDK Reference if you’re working in Rust

