All integrations

One command sets up Claude Code or Codex on Ghost. It works with any coding agent.

The installer makes a Ghost folder on your Desktop with a ghost launcher that starts Claude Code or Codex on Ghost. It installs the tool if it is missing and does not change your own Claude or ChatGPT login.

Mac and Linux:

curl -fsSL https://thesapientdirective.com/ghost/install.sh | GHOST_KEY=YOUR_GHOST_KEY sh

Windows PowerShell:

$env:GHOST_KEY="YOUR_GHOST_KEY"; irm https://thesapientdirective.com/ghost/install.ps1 | iex

Then open a new terminal and run ~/Desktop/Ghost/ghost. Options: GHOST_MODEL picks the model (default ghost-x2) and GHOST_TOOL picks claude or codex.

Using a coding agent? Paste this prompt into it and it does the setup for you:

Prompt for your agent:

Set up the Ghost API on my computer. Run this one command in my terminal:

curl -fsSL https://thesapientdirective.com/ghost/install.sh | GHOST_KEY=YOUR_GHOST_KEY sh

It makes a Ghost folder on my Desktop with a launcher. When it finishes, tell me to open a new terminal and run ~/Desktop/Ghost/ghost to start Claude Code (or Codex) on Ghost. For code that calls the API directly, use the OpenAI-compatible base URL https://api.thesapientdirective.com/v1 with this key as the Bearer token, and a model id from /ghost/api/index.md (for example ghost-x2). Docs: /ghost/api/docs/index.md