CLI

Your rooms, from the terminal.

Give Claude Code and Codex access to your rooms. Your coding agents can read the assets, notes, and decisions a session produced, then write results straight back into the room, so the whole team sees the work without anyone copying and pasting between tools.

Step 1

Make sure you have a Pactto account

The CLI talks to the same rooms you use in the browser, so start with an account. Everything you create here is what the terminal will read from and write to.

Creating a Pactto account at live.pactto.com
Step 2

Get your API keys

The CLI authenticates with an API key tied to your account. Generate one in settings, then keep it somewhere safe: it carries the same access to your rooms that you have.

Generating an API key in Pactto settings
Step 3

Install the CLI

The CLI runs on Node.js, so you need it installed first. If you don't have it yet, download it from nodejs.org and run the installer. Then one global install from npm makes the pactto command available in any terminal.

Terminal
$ npm install -g @pactto/cli@latest
Step 4

Start Claude Code in your terminal

The CLI does its best work when a coding agent is driving it. That can be Claude Code or Codex. This demo uses Claude Code, so you need it installed first: the Claude Code quickstart covers the install in a few minutes. Then open a terminal in your project folder and start it.

Terminal
$ claude

Once Claude Code is running, connect the CLI to your account with the API key you created in Step 2. You don't need to remember any commands for this: ask Claude Code to handle it and paste the key when it asks.

Prompt
Help me setup Pactto CLI with my API key

With the key in place, ask Claude Code to read from or write to a room. A good first request is to list your rooms, which is what the demo below does.

Prompt
List all of my Pactto rooms

The CLI reads what a room already holds and writes new content back into it. The room doesn't have to be open and nobody has to be in it: as long as you have access, you can read and write from anywhere, at any time. The room stays the shared record, so anything you push from the terminal is waiting for the team in the browser, and anything they decided in a session is there for you to pull down.

Claude Code listing Pactto rooms from the terminal
More to try

Prompts that put the room to work

Anything you can do in a room, you can ask for from the terminal. Paste any of these into Claude Code and adjust the names to match your own rooms and files.

Prompt
Create a room called "My agent room"
Prompt
Upload video X.mp4, Y.mp4 and Z.mp4 to the "My agent room"
Prompt
Summarize the topics discussed in the room, and create clear action items as sticky notes in the room
Prompt
Create a document in the room to help the team know what to do next
Prompt
Mark all assets in the room as Approved
Prompt
Organize my room with images in a board, then another board with videos, and another with documents
Prompt
Create a comment on video X.mp4 with text "Let's make it shorter!"

Put a room in your terminal.

Join the beta and get an API key with your account.

The CLI is available on the Pro plan. See pricing