Claude Desktop
Not Diamond Code works on Claude Desktop by pointing its third-party inference configuration at the proxy. Applying that configuration moves Cowork, chat included, and Code onto Not Diamond Code and sets the claude.ai login aside while it is applied. One command sets it up.
Requirements
Section titled “Requirements”- Claude Desktop on macOS or Windows.
- An Anthropic or Bedrock API key saved with
notdiamond init. Claude Desktop uses that key, so a forwarded Claude Code login cannot be used.notdiamond desktop setupstops and asks you to runnotdiamond initagain if one is configured.
notdiamond desktop setupQuit and reopen Claude Desktop afterwards. The command does the following.
- Connects Claude Desktop to Not Diamond Code. Not Diamond is the first model in the picker, so every new conversation starts on it, and the Claude models follow it.
- Brings over your local MCP servers. Remote connectors cannot be added in this mode.
- Keeps Not Diamond Code running in the background, and on macOS starts it again when you log in.
Third-party mode is a separate profile. It starts with no history or skills. Settings → Import & export → Import… copies claude.ai chats, projects and earlier local sessions into it. Skills do not come over.
Import does not list the Claude Code sessions it skips, so check these two cases if a session you expect is missing.
- A session that is still open in a terminal is skipped. Close it, then run Import again.
- A terminal session that used a folder you have not opened in this profile is skipped. Open that folder in the Code tab, accept the trust prompt, then run Import again.
To apply the configuration yourself, or to distribute it with MDM, print it.
notdiamond desktop setup --printCowork tasks and Code sessions start on Not Diamond and route. In the Code tab the model picker works as in the terminal. Pick another model to send requests to it without routing. Once the conversation has a reply from another model, switching back to Not Diamond is refused until a new session.
In Cowork, Not Diamond picks a model when a task starts and uses it for the rest of the task.
notdiamond doctor shows a “Claude Desktop” row that reports whether Claude Desktop is connected to Not Diamond Code and flags problems with the setup.
Remove
Section titled “Remove”notdiamond desktop removeThis restores the configuration that setup replaced, or the claude.ai login when there was none. Quit and reopen the app afterwards.
Troubleshooting
Section titled “Troubleshooting”Run notdiamond doctor first and read the Claude Desktop row.
Desktop reports “This model isn’t available”. An older version of Not Diamond Code is still running. Update it, then restart it:
notdiamond updatenotdiamond restartRequests fail with 401 and invalid x-api-key. Anthropic rejected your saved API key. Save a valid key, then restart:
notdiamond init --credential anthropic --api-key <your key>notdiamond restart