---
title: "Connect your AI agent to Cactorial: Codex or Claude Code"
checked: "2026-11-20, window 1440 × 810 points"
source: "https://cactorial.page/t/q9B1wooGnk4O (version 3)"
language: "en"
---

# Connect your AI agent to Cactorial: Codex or Claude Code

Goal: Connect an installed agent to Cactorial and check recording readiness from a fresh conversation.

This is the tutorial written for AI agents. Each step gives what to do, the control to act on (its name, role and place in the screenshot), what to expect afterwards, a screenshot of the screen before it, that screenshot with the control marked in magenta, a close-up of the control and a JSON file naming every control on that screen with its role and place. Overview sheets show every step at a glance.

Before you start: Install Cactorial and the agent you want to connect, then sign in to Cactorial.

The pictures show example content; yours will differ. Find controls by their labels and roles, and use the pictures and coordinates as a guide, not as exact positions. Coordinates are pixels of each picture, from its top-left corner.

A screen whose step acts on a control also comes marked (the control boxed in magenta, or ringed where a point was acted on) and as a close-up of the control, cut from the screen (its JSON gives the part it shows).

Overview of the steps, numbered, with each step's control marked: images/overview-1.avif (steps 1 to 6), images/overview-2.avif (step 7).

## Open Settings

### Step 1. Open Cactorial Settings

- Do: Open Settings from the Cactorial menu, or press Command-comma.
- Action: key
- Expect: The Settings window opens.
- Screen before: images/step-01.avif (controls: images/step-01.json)
- In the video: 0:09 to 0:09
- Actions:
  1. With Cactorial active, press Command-comma to open Settings. — screen: images/step-01-b1.avif (controls: images/step-01-b1.json)

## Connect your agent

### Step 2. Open Agents

- Do: Select Agents in the Settings sidebar. Find the row for Claude Code or Codex.
- Action: click
- Target: AXButton "Agents, Needs your attention" (frame in the picture: x 9, y 199, 162 × 35)
- Expect: Each agent has its own connection status.
- Screen before: images/step-02.avif (marked: images/step-02-marked.avif; close-up: images/step-02-closeup.avif; controls: images/step-02.json)
- In the video: 0:16 to 0:18
- Actions:
  1. Select Agents in the Settings sidebar. — target: AXButton "Agents, Needs your attention" (frame in the picture: x 18, y 397, 324 × 70) — screen: images/step-02-b1.avif (marked: images/step-02-b1-marked.avif; close-up: images/step-02-b1-closeup.avif; controls: images/step-02-b1.json)

### Step 3. Connect your agent

- Do: Click Connect… in your agent’s row. Leave Also add the MCP server off for the standard command-line setup.
- Action: click
- Expect: Cactorial shows what it will install.
- Screen before: images/step-03.avif (controls: images/step-03.json)
- In the video: 0:33 to 0:35
- Actions:
  1. Locate the optional MCP server switch and leave it off. — target: AXCheckBox "Also add the MCP server" (frame in the picture: x 1744, y 637, 66 × 29) — screen: images/step-03-b1.avif (marked: images/step-03-b1-marked.avif; close-up: images/step-03-b1-closeup.avif; controls: images/step-03-b1.json)
  2. Click Connect… beside your agent. — target: a control without a name (frame in the picture: x 1596, y 384, 214 × 51) — screen: images/step-03-b2.avif (marked: images/step-03-b2-marked.avif; close-up: images/step-03-b2-closeup.avif; controls: images/step-03-b2.json)

### Step 4. Confirm the connection

- Do: Review the command, permission and skills listed in the dialog. Click Connect.
- Action: click
- Target: AXButton "Connect" (frame in the picture: x 597, y 438, 96 × 28)
- Expect: Your agent’s row shows Connected.
- Screen before: images/step-04.avif (marked: images/step-04-marked.avif; close-up: images/step-04-closeup.avif; controls: images/step-04.json)
- In the video: 0:39 to 0:51
- Actions:
  1. Click Connect to confirm the listed changes. — target: AXButton "Connect" (frame in the picture: x 1193, y 875, 191 × 55) — screen: images/step-04-b1.avif (marked: images/step-04-b1-marked.avif; close-up: images/step-04-b1-closeup.avif; controls: images/step-04-b1.json)

## Check in a new chat

### Step 5. Start a fresh conversation

- Do: In Codex, click New chat. In Claude Code, start a new session so it picks up the connection.
- Action: click
- Expect: An empty message box is ready.
- Screen before: images/step-05.avif (controls: images/step-05.json)
- In the video: 0:58 to 1:01
- Actions:
  1. Click New chat in the Codex toolbar. — target: a control without a name (frame in the picture: x 264, y 17, 39 × 29) — screen: images/step-05-b1.avif (marked: images/step-05-b1-marked.avif; close-up: images/step-05-b1-closeup.avif; controls: images/step-05-b1.json)

### Step 6. Send a readiness check

- Do: Type “Use the cactorial skill to check that Cactorial is ready.” Send the request.
- Action: key
- Target: AXTextArea "Do anything"
- Expect: Your agent checks the connection, permissions and sign-in.
- Screen before: images/step-06.avif (controls: images/step-06.json)
- In the video: 1:13 to 1:14
- Actions:
  1. Start the message with “Use the cactorial skill”. — text: "Use the cactorial skill" — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-06-b1.avif (marked: images/step-06-b1-marked.avif; close-up: images/step-06-b1-closeup.avif; controls: images/step-06-b1.json)
  2. Ask the agent to check that Cactorial is ready. — text: " to check that Cactorial is ready." — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-06-b2.avif (marked: images/step-06-b2-marked.avif; close-up: images/step-06-b2-closeup.avif; controls: images/step-06-b2.json)
  3. Press Return to send the request. — keys: enter — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-06-b3.avif (marked: images/step-06-b3-marked.avif; close-up: images/step-06-b3-closeup.avif; controls: images/step-06-b3.json)

### Step 7. Read the reply

- Do: Check what your agent reports. If a permission or the sign-in is missing, complete that step in Cactorial and ask again.
- Action: key
- Target: AXTextArea "Do anything"
- Expect: The reply tells you whether you can start recording.
- Screen before: images/step-07.avif (controls: images/step-07.json)
- In the video: 1:13 to 1:14
- Actions:
  1. Read the recording permissions, library and sign-in status in the reply. — screen: images/step-07-b1.avif (controls: images/step-07-b1.json)

Checked on 20 November 2026.
