Run a coding agent in a project folder
Launch a coding agent in the folder you want it to work on. Choose the execution device first. Its installed CLIs, sign-ins and project files determine what the agent can use.
Which coding agents can I launch?
| CLI | Command | Ways to open a session |
|---|---|---|
| Claude Code | claude | Terminal or Chat UI |
| Codex | codex | Terminal or Chat UI |
| Antigravity CLI | agy | Terminal or Chat UI |
| Cursor CLI | agent | Terminal |
| GitHub Copilot CLI | copilot | Terminal |
| OpenCode | opencode | Terminal |
For an assistant in the Fricle sidebar, use AI providers and models. For Working and Waiting for approval in a terminal, enable Agent status for Claude Code or Codex. Those two CLIs expose the activity hooks Fricle registers.
Example — Check which folder Codex is using
In Settings, open AI agents, choose Laptop as the execution device and inspect the Codex entry. If you normally use a subscription, choose the device where you signed in to that CLI. This recording uses the installed Codex CLI with a local Ollama model.
Open the project terminal and ask Codex for the name of its current working folder. Here it replies habit-tracker. Run git rev-parse --show-toplevel in that terminal and compare the final folder name with the reply.

Choose the execution device
Open Settings → AI features → AI agents and choose the Execution device for your working folder.
Install and sign in
Select the CLI you use from the list. If the CLI is missing, open Install / update in the agent’s settings and follow its installation instructions. Once the CLI is installed on that device, select Add beside the agent.
In the selected agent’s settings, select Open sign-in and follow the CLI’s prompts in the terminal. You can also run the corresponding command on the same device.
For Claude Code
sh claude auth loginFor Codex
sh codex login
Use a CLI account on this device
On this device, Settings → AI features → AI providers shows Accounts when you expand Claude Code or Codex. System default uses the CLI login already on this device. Select Add account and complete the sign-in in your browser to add a separate login, then select its row to use it. The account credentials stay on this device. Use the execution-device steps above for agent setup on a connected device.
Example: Start a session in a working folder
In the Integrated Explorer, right-click your working folder and choose AI agents, then select the configured CLI.

When the agent opens, ask “What files are in this folder? Summarize them without making edits.” Check that the reply describes the folder you opened.
Choose how the session opens
For a CLI with Chat UI support, select Terminal or Chat UI under Default presentation in the agent’s settings. If sign-in or folder trust needs confirmation, run the agent in Terminal on that device and in that folder.

To let a standalone agent use the running Fricle app, follow Connect an MCP client.