See plans

Docs / AI setup

Choose your AI.

PlaysmithAI runs on Claude or Codex, with your own account. Keep the same studio, agents and workflow.

Two engines

Claude is the recommended route and the one Free uses; see the Free guide. The paid Studio can also run on Codex. AI usage is billed separately by your provider: Claude by Anthropic, Codex against your ChatGPT plan's limits.

1. Choose a route

RouteAccessSetup
ClaudeYour Claude Code sign-in or Anthropic API key.Recommended · default route
CodexYour ChatGPT sign-in, through the official Codex app.Paid Studio

Each engine keeps its own Studio Lead conversation and queue. There is no automatic fallback from one to the other.

2. Configure the studio

Stop running agents and close the Studio. Open a terminal in your studio folder.

Claude · recommended

pnpm provider set anthropic
pnpm claude:login

We recommend Claude for its established studio integration, native tools and approval workflow. The default uses Claude Code authentication. If you already use an Anthropic API key, keep it in your private environment.

Codex

pnpm bootstrap --provider codex
pnpm codex:login

Bootstrap installs the pinned official Codex package. The login command opens the official sign-in flow; complete it yourself with the ChatGPT account that has Codex access. Usage counts against that account's limits. The Studio keeps its own Codex profile in .playsmithai/codex/; keep that folder private and out of Git.

Once Codex is set up, pnpm provider set codex switches to it and pnpm provider set anthropic switches back.

3. Keep your sign-in private

Sign-ins stay on your computer. If you use an Anthropic API key, set it as an environment variable on your computer, then open a new terminal; the Studio never stores the key. Do not paste keys or sign-in codes into this website, a chat, your repository or a command.

Run pnpm provider show to see the selected engine. It never prints a key.

4. Check and start

pnpm provider check
pnpm doctor

provider check checks local configuration only. It sends no request and uses no AI usage. doctor also checks the local execution engine and other studio requirements.

Restart the Studio and start a new conversation after switching engines. Keep old conversation history with its original engine. Your games and files stay in place.

What can vary

  • Quality, speed, context limits and usage limits depend on the engine, the model and your plan with that provider.
  • PlaysmithAI's agents are written and tested mainly on Claude. Effort levels and ultracode workflows are Claude Code features, and the Studio's usage meter shows Anthropic's numbers only.
  • There is no automatic fallback to the other engine. Missing or invalid settings stop agent requests.

Need the command options? Run pnpm provider help. Ready to build? Continue to your first game.