Skip to content

Connect a coding agent ​

For Windows/Linux, use CLI Agent setup: enable the host with clumsies agent enable, bind the working directory, and reconnect the host. The App steps below apply to macOS.

Use this guide to enable or repair an agent integration on your Mac. To try the complete workflow with Codex, follow Use project Memory in Codex.

An integration makes the Clumsies tools available to the agent. A repository binding determines which Project those tools can access. You need both.

Before you start ​

Enable the integration ​

Open Settings → Agents. Under Agents on This Mac, enable the hosts you use. Clumsies installs each integration for your macOS user; you do not install it again for every Project.

On first launch, the Connect Your Agents screen offers the same choice, with Codex selected by default. Choose Install and Continue, or Set Up Later to return through Settings.

For Codex, look for Plugin installed and enabled. If it says Will install when Codex is available, install the Codex App first. If it says Plugin needs repair or Plugin not installed, choose Repair Selected Integrations and check the status again.

Start a fresh task ​

After installing or updating the Codex plugin, restart Codex and start a new task from the bound repository. Existing tasks keep their previous plugin snapshot.

Activity reads Codex and DSH session logs and links Memory activations to local retrieval history. It does not require lifecycle hooks.

Clumsies checks the task's directory at startup and on every tool call. An unbound directory cannot use the Project merely selected in the App. Git worktrees can resolve through the main checkout's binding. The MCP connection keeps its startup directory; a shell cd does not retarget it. See Workspace binding for routing and upgrade details.

Verify the connection ​

Ask the agent a concrete question about a document selected for the Project. Check the actual Clumsies memory tool result for the document's path and relevant content.

The integration instructs Codex to retrieve relevant context at the start of substantive work. If no retrieval occurs, explicitly ask it to use Clumsies, then inspect the tool call. A statement that it “used memory” is not sufficient evidence. The Codex tutorial provides an example and expected results.

The first use downloads local search models and prepares the Project index. While preparation is in progress, retrieval can return search_model_preparing; allow preparation to finish, then retry. Models are cached locally for later use.

If the connection fails ​

What you seeWhat to check
No Clumsies tool in a Codex taskCheck the plugin status, restart Codex, and create a new task.
Repository is not boundBind the actual directory used by this task to the intended Project.
Runtime version mismatch after an updateUpdate Clumsies and reconnect its Agent integration; restart the host if reconnection is unavailable. Matching protocol revisions allow different builds; incompatible requests are rejected before execution.
Retrieval is preparing or a document is missingCheck model preparation, synchronization, and the Project's selected Memory.
Retrieval works but activity records are absentCheck that the bound workspace has a supported Codex or DSH session log containing a Clumsies activation.

If a failure persists, use Troubleshooting to collect the relevant diagnostics.

Other supported hosts ​

Settings also lists Claude Code, opencode, Antigravity, and dsh. For dsh, Enabled; MCP profile setup required means you still need to register MCP in its user-managed profile; see DSH integration.

The adapter reference describes each host's MCP configuration and profile requirements. Use that page when maintaining an integration; the MCP reference defines the Memory tool itself.