Skip to content

Connect Codex

The Codex command line and editor extension use the same setup. Codex’s changes go in at once with its name on them, and you can undo them in Review; on verified pages they wait for the owners.

  • Codex on your computer.
  • Stuga open in a browser on the same computer.
  1. In Stuga, open Settings → Your AI agents. Under App, choose Codex.

  2. Copy the command the page shows, with its copy button. Open Terminal (on a Mac, in Applications → Utilities), paste it and press Return.

    Copy it from Stuga: it carries your Stuga’s address. It holds no key.

  3. Your browser opens Stuga’s approval page. Choose the workspaces and the access, then Allow.

  4. Restart Codex when the command finishes.

To check, say “Ask Stuga” and a question, or ask Codex to add a sentence to a document, then find it under Review → Agent changes.

In Your AI agents, open Uninstall from Codex. It shows two commands:

  • Disconnect this node removes this Stuga and keeps Stuga’s instructions for Codex, for when you use more than one Stuga.
  • Remove Stuga completely removes those instructions too.

Neither ends Codex’s access: revoke the connection under Connected agents, then restart Codex.