Skip to content

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).

Install
npm install -g @openai/codex

Start 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)

Install
npm install -g @google/gemini-cli

Start it in your website's folder with gemini and sign in with your Google account.

#opencode

Install
npm install -g opencode-ai

Start 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:

Terminal
npx -y @switchboard-host/cli@latest init your-website

After 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:

Terminal
npx -y @switchboard-host/cli@latest deploy

Want your tool to talk to Switchboard directly (for example to check the status)? See the MCP connection.

Was this helpful?

Guide

Search the guide

Type a word or a question. Tip: press Ctrl K to open this anywhere.