A command-line interface for managing Attio from your terminal.
Create, update, and inspect Attio objects, records, lists, entries, notes, tasks, webhooks, and more without hand-writing REST calls.
Install:
bunx install -g clattioGrab an API token from your Attio workspace settings, then:
attio auth token set
attio objects list
attio records search --object people --query "Jane"Scroll down for the OAuth setup.
If you use an AI coding agent that supports skills, you can install clattio as a skill:
bunx skills add mavam/clattioThis gives your agent the knowledge to drive the attio CLI on your behalf, from querying records to managing lists, creating notes, and more.
API token (recommended for scripts and quick usage):
attio auth token setOAuth (for apps that act on behalf of a user):
export ATTIO_CLIENT_ID=...
attio auth loginWhen ATTIO_CLIENT_SECRET is not set, the CLI prompts for it securely.
On macOS, tokens and secrets are stored in Keychain by default.
attio auth login opens the browser, handles the localhost callback, exchanges the authorization code, and stores the resulting token. You need an Attio OAuth app first:
- Go to build.attio.com and create an app.
- In the app settings, find the OAuth section.
- Copy the
client_idandclient_secret. - Register
http://127.0.0.1:8787/callbackas a redirect URI.
From a source checkout:
bun src/bin/attio.ts --help
bun src/bin/attio.ts objects listOr build first and run with Node:
bun run build
node dist/attio.js objects listbun install
bun run generate
bun run build
bun run test