Other AI tools
Working with Codex, Cursor, Gemini CLI or opencode instead of Claude Code.
We recommend Claude Code, but you're free to use another AI tool. Every website on Switchboard has
an instruction file, AGENTS.md. It explains exactly how the AI should preview, change and
publish your website. Most AI tools read that file by themselves.
All of these tools need Node.js and Git first.
#Codex CLI (OpenAI)
You need a ChatGPT subscription (Plus or higher).
npm install -g @openai/codexStart Codex in your website's folder with codex and sign in with your ChatGPT account. Codex
reads AGENTS.md automatically.
#Cursor
Cursor is an app with a window, like Word. Download it from cursor.com.
Then open your website's folder with File → Open Folder and talk to the AI in the chat panel
(the Agent). Cursor reads AGENTS.md automatically.
Type the commands from this guide in the built-in terminal: Terminal → New Terminal.
#Gemini CLI (Google)
npm install -g @google/gemini-cliStart it in your website's folder with gemini and sign in with your Google account.
#opencode
npm install -g opencode-aiStart it in your website's folder with opencode. It reads AGENTS.md automatically and works
with several AI subscriptions.
#Connecting your website, with any tool
Connecting your AI works the same with every tool: open it in an empty folder (your Documents folder, for example) and paste the sentence from your dashboard. The tool then runs this command, with your website's name:
npx -y @switchboard-host/cli@latest init your-websiteAfter that, go into your website's new folder with your tool and carry on as described in the rest of this guide. When you say "publish it", the tool runs:
npx -y @switchboard-host/cli@latest deployWant your tool to talk to Switchboard directly (for example to check the status)? See the MCP connection.