Install and sign in to an agent

Connect Claude Code or Codex, choose a folder and start your first task. One provider is enough.

Your first agent, in three steps

  1. Connect an agent app. Install Claude Code or Codex and sign in with your own account. You can add the other later.
  2. Choose a project folder. Press ⇧⌘T for New agent, then choose where it should work.
  3. Give it a first task. Try “Explain this project.” Read the exact request. For supported Claude tool permissions, choose Approve once or Deny in Needs you or the agent tab. Otherwise choose Open tab and respond through the provider’s prompt.

Claude Code

In setup, use Copy beside the install command and run it in Terminal:

curl -fsSL https://claude.ai/install.sh | bash

When installation finishes, open a new Terminal window and run:

claude

Follow Claude Code’s sign-in prompts in your browser. For alternatives or an installation error, use the official Claude Code setup guide.

Codex

Copy the Codex install command from setup and run it in Terminal:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

Open a new Terminal window after installing, then sign in:

codex login

Follow the provider’s sign-in flow. See the official Codex CLI guide for current installation and account options.

Return to XAgents

Choose Check again. Not installed means XAgents could not find the CLI. Sign in to continue means a sign-in is missing. Installed · sign-in not confirmed means the check could not confirm it; it does not mean you are ready. Complete sign-in in Terminal and check again.

You can reopen setup from Help › Check Installation…. If it still fails, follow Troubleshooting.

Still stuck? Write to us at info@xagents.in. We read everything.

Last updated October 15, 2026.