
Connect an agent
Install the CLI (Command Line Interface)
Install the Claude Code or Codex CLI on your machine.
Codex requires version 0.45.0 or newer. Update with
npm install -g @openai/codex@latest.Log in
Log in to Claude Code and Codex to connect them to Daydream.
- Claude Code: Follow Log in to your account in the Claude Code quickstart.
- Codex: Open your Terminal app, type
codex login, and press Enter. Then follow the prompts to sign in.
Relaunch Daydream app
Quit your Daydream app and then reopen it. Then, create a new project or open an existing one.
Open Agent Settings and refresh
Each agent shows a status:
Use the Refresh button on a card to re-check after installing or logging in.
| Status | Meaning |
|---|---|
| Connected | CLI installed and logged in. Ready to use in chat. |
| Not installed | CLI not found. Install it, then refresh. |
| Not logged in | CLI installed but not authenticated. Use the Open Terminal button and follow the above login instructions. |
| Couldn’t verify status | Detection didn’t complete. Refresh. If it keeps failing, quit and reopen Daydream. |
If an agent shows “Not installed”
First, quit Daydream, open it again, and click Refresh. Daydream re-checks for the CLI installation each time it starts. If it still shows Not installed, the CLI may be in a location Daydream cannot access. To see where it is installed, run this in a terminal:PATH and in these locations:
~/.local/bin/~/bin//opt/homebrew/bin//usr/local/bin//usr/bin/- Your nvm or fnm Node install (
~/.nvm/versions/node/<version>/bin/,~/.fnm/node-versions/<version>/installation/bin/)
which isn’t one of these, reinstall the CLI with its official installer so it lands in a standard location, then quit and reopen Daydream.