Docs

Install an agent assistant

Eigma's desktop app works with an AI agent's command-line tool. Install one of the four options below, sign in, and choose it in Eigma.

Eigma’s desktop app runs on Windows, macOS, and Linux. Its conversation panel uses an AI agent’s command-line tool. You install one agent yourself, then Eigma finds it and you choose it in Settings.

On Windows, Eigma finds installed agents by itself. On macOS and Linux this is still being built: the install steps below already work there, and Eigma will find them in a coming version.

Not sure which one to choose? Start with Codex (OpenAI). It works with a free ChatGPT account.

A desktop app alone is not enough. The Claude desktop app and the Codex desktop app do not install the claude or codex commands. Install the command-line version described on this page.

Opening a terminal

Every installation below starts by typing a command into a terminal. A terminal is a window where you type commands for your computer to run.

  • Windows: open the Start menu, type “PowerShell”, and open Windows PowerShell.
  • macOS: open Applications, then Utilities, then Terminal.
  • Linux: open your distribution’s Terminal app.

Type or paste a command, then press Enter.

Codex (OpenAI)

This is the recommended place to start because it works with a free ChatGPT account.

Windows

  1. Install Node.js (the LTS version) from nodejs.org.
  2. Open PowerShell and run:
npm install -g @openai/codex

macOS

Choose one of these options. The first one needs Node.js from nodejs.org.

npm install -g @openai/codex
curl -fsSL https://chatgpt.com/codex/install.sh | sh
brew install --cask codex

Linux

Choose one of these options. The first one needs Node.js from nodejs.org.

npm install -g @openai/codex
curl -fsSL https://chatgpt.com/codex/install.sh | sh

Check it

codex --version

If you see a version number, it is installed.

Sign in

Run codex login (or codex) and choose Sign in with ChatGPT. A browser window opens. Eigma can also start the sign-in for you from Settings.

What it costs

Codex is included in ChatGPT plans, including Free and Go. Usage limits vary by plan. The Free plan has the smallest allowance. Codex cloud tasks are not part of Free or Go, but Eigma does not use them.

Claude Code (Anthropic)

Windows

In PowerShell:

irm https://claude.ai/install.ps1 | iex

Or in Command Prompt (CMD):

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Or with winget:

winget install Anthropic.ClaudeCode

Git for Windows is optional.

macOS

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

Or with Homebrew:

brew install --cask claude-code

Linux

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

Another way, on any system

If you have Node.js 22 or later:

npm install -g @anthropic-ai/claude-code

What your computer needs

  • Windows 10 1809 or later, macOS 13 or later, or Ubuntu 20.04+ / Debian 10+.
  • 4 GB of RAM.

Check it

Open a new terminal window first, then run:

claude --version

Sign in

Run claude and follow the prompt in your browser. Eigma can also start the sign-in for you from Settings.

What it costs

Claude Code needs a paid Claude plan (Pro or higher) or an Anthropic Console API key. The free claude.ai plan does not include Claude Code.

DeepSeek Harness

DeepSeek Harness (the dsh command) is a developer preview from DeepSeek. It changes quickly and may break.

It needs Node.js 24.9 or later. Get it from nodejs.org.

Windows

In PowerShell:

npm install -g @deepseek-ai/dsh

macOS and Linux

npm install -g @deepseek-ai/dsh

Eigma needs this global installation. DeepSeek’s own quick start, npx @deepseek-ai/dsh web, only runs its web interface. Eigma does not use it.

Give it a key

You need a DeepSeek API key from platform.deepseek.com. Enter it when Eigma asks for it in Settings.

What it costs

The tool itself is free (MIT license). The model is billed by usage on your DeepSeek API key.

OpenCode

Eigma works with OpenCode 1. The commands below install OpenCode 1.

Windows

You need Node.js from nodejs.org. Then, in PowerShell:

npm install -g opencode-ai

macOS and Linux

Choose one of these options. The first one needs Node.js from nodejs.org.

npm install -g opencode-ai
curl -fsSL https://opencode.ai/install | bash

Do not use brew install opencode. That installs OpenCode 2.

Check it

opencode --version

Give it a key

Get an OpenCode API key from opencode.ai/auth. Eigma asks for it in Settings. Once it has the key, Eigma counts OpenCode as signed in.

What it costs

OpenCode is free and open source, and it comes with free models.

After installing

  1. Restart Eigma. Or open Settings, then Conversation AI. That page checks again for installed agents.
  2. Choose the agent there.

If it does not work

  • “Command not found” after installing. Close the terminal and open a new one. A terminal that was open before the installation may not see the new command.
  • npm says the Node.js version is too old. Each agent needs a certain version. Claude Code through npm needs Node.js 22 or later. DeepSeek Harness needs Node.js 24.9 or later. Install a newer one from nodejs.org.
  • You installed the Claude or Codex desktop app, but Eigma does not find it. The desktop apps do not install the claude or codex commands. Install the command-line version from this page.
  • OpenCode is installed, but Eigma does not work with it. If you used brew install opencode, you have OpenCode 2. Eigma works with OpenCode 1. Install it with npm install -g opencode-ai or the curl command above.

Troubleshooting covers the rest.