Windows setup for Agent Chat
Agent Chat runs in the Obsidian desktop app. On Windows, start with opencode unless you already use Claude Code or Codex.
1. Install opencode with Copilot
Section titled “1. Install opencode with Copilot”- Open Settings → Copilot → Basic → Agents.
- Open the opencode tab.
- Open Configure, choose Managed by Copilot, then select Download & install. Copilot downloads and manages the Windows executable outside your vault.
- When the status shows Ready, choose a Default model and set Default backend to opencode.
The managed installation does not require a PowerShell command or PATH changes.
If opencode is already installed, open Configure, choose My own binary, then select Auto-detect or enter the absolute path to opencode.exe and select Apply.
If Copilot reports that your opencode version is unsupported, update opencode and run detection again.
2. Connect Claude Code
Section titled “2. Connect Claude Code”The Claude backend uses the Claude Code installation and account already on your computer.
- Open Settings → Copilot → Basic → Agents → Claude and select Configure.
- If Claude Code is installed, select Auto-detect under Claude Code binary.
- If it is not installed, copy the current Install it command from the dialog and run it in PowerShell.
- Return to Configure Claude and select Auto-detect again. If detection still fails, enter the absolute path to
claude.exeand select Apply. - If the dialog shows Sign in, select it and complete the browser login.
You can also start the Claude Code login from PowerShell:
claude auth login --claudeaiCopilot uses Claude Code’s credentials. Do not add an Anthropic API key to this dialog. If Copilot reports that the installed version is unsupported, update Claude Code and detect it again.
3. Connect Codex
Section titled “3. Connect Codex”For manual installations, the Codex backend needs a supported @agentclientprotocol/codex-acp adapter, which includes a compatible Codex CLI. Copilot checks compatibility in Configure. Managed downloads use Windows tar.exe to extract ZIP files. See Codex installation details.
- Open Settings → Copilot → Basic → Agents → Codex and select Configure.
- Under Managed by Copilot, choose Download & install. Copilot downloads a verified native adapter and its Codex runtime. You do not need Node.js or npm.
- Click Sign in and complete authentication in your browser. If the browser does not open, click Open sign-in page. Return to Obsidian to see the signed-in status.
- To use your own supported adapter, choose My own binary and Auto-detect it or enter its path. Copilot keeps your binary and credentials when you uninstall managed downloads.
You can also choose Sign in to Codex on the Agent Chat status card. For terminal login, run your configured adapter with cli login using the same CODEX_HOME as Copilot.
Share Skills across agents
Section titled “Share Skills across agents”Open Settings → Copilot → Skills and toggle the opencode, Claude, or Codex icons for each Skill. Copilot keeps one shared copy and creates folder links into .opencode/skills/, .claude/skills/, and .agents/skills/.
Windows may block creation of these links. Enable Windows Settings → Privacy & security → For developers → Developer Mode, or run Obsidian with administrator access, then toggle the affected agent off and on in the Skills tab.
If a sync service replaces a folder link and a Skill disappears from an agent, toggle that agent off and on again to recreate the link.
Open Agent Chat
Section titled “Open Agent Chat”Select the Agent Chat ribbon icon or run Open Copilot Agent Chat Window from the command palette. Choose an installed agent and select Start chat.
For models, effort, permissions, Projects, and multi-agent answers, see Agent Chat.