> For the complete documentation index, see [llms.txt](https://docs.sesori.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sesori.com/setup/prepare-your-assistant.md).

# Install a harness

Start in **Settings → Harnesses**. If Sesori offers **Install runtime**, that is the shortest route. Otherwise, install the assistant locally with its official instructions below, authenticate it, and refresh its status in Sesori.

{% hint style="info" %}
Commands and upstream requirements change. The links on this page point to each project's current setup guide; use the upstream guide if it differs from an example shown here.
{% endhint %}

## OpenCode

Official guide: [OpenCode setup](https://opencode.ai/docs/)

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

Or install through npm:

```bash
npm install -g opencode-ai
```

Run `opencode`, then use `/connect` to authenticate a model provider. Verify the command with `opencode --help`.

## Codex

Official guide: [Codex CLI](https://developers.openai.com/codex/cli/)

{% tabs %}
{% tab title="macOS or Linux" %}

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

{% endtab %}

{% tab title="Windows" %}

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
```

{% endtab %}
{% endtabs %}

You can also use `npm install -g @openai/codex` or, on macOS, `brew install --cask codex`. Run `codex` and choose ChatGPT or API-key sign-in. Sesori can also offer Codex device login from the phone.

## Cursor

Official guide: [Cursor CLI installation](https://cursor.com/docs/cli/installation)

{% tabs %}
{% tab title="macOS, Linux, or WSL" %}

```bash
curl https://cursor.com/install -fsS | bash
```

{% endtab %}

{% tab title="Windows" %}

```powershell
irm 'https://cursor.com/install?win32=true' | iex
```

{% endtab %}
{% endtabs %}

Authenticate and verify:

```bash
agent login
agent status
```

## Claude Code

Official guide: [Claude Code setup](https://code.claude.com/docs/en/setup)

{% tabs %}
{% tab title="macOS, Linux, or WSL" %}

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

{% endtab %}

{% tab title="Windows" %}

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

{% endtab %}
{% endtabs %}

Authenticate with `claude auth login`, then check with `claude auth status`.

## Pi

Official guides: [Pi docs](https://pi.dev/docs/latest) and [Pi coding agent repository](https://github.com/earendil-works/pi/tree/main/packages/coding-agent)

```bash
curl -fsSL https://pi.dev/install.sh | sh
```

Or install through npm:

```bash
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
```

Run `pi`, then use `/login` or configure a provider API key locally. Verify with `pi --version`.

## Oh My Pi

Official guide: [Oh My Pi documentation](https://omp.sh/docs)

{% tabs %}
{% tab title="macOS or Linux" %}

```bash
curl -fsSL https://omp.sh/install | sh
```

{% endtab %}

{% tab title="Windows" %}

```powershell
irm https://omp.sh/install.ps1 | iex
```

{% endtab %}
{% endtabs %}

Run `omp`, then use `/login` to configure a provider. Verify with `omp --version`.

## Hermes Agent

Official guide: [Hermes Agent quickstart](https://hermes-agent.nousresearch.com/docs/getting-started/quickstart)

{% tabs %}
{% tab title="macOS or Linux" %}

```bash
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
```

{% endtab %}

{% tab title="Windows" %}

```powershell
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
```

{% endtab %}
{% endtabs %}

Configure the provider and model locally:

```bash
hermes setup
hermes status
hermes acp --version
```

Use Hermes 0.20.0 or later and a model with at least a 64K context window. You can use `hermes setup --portal` or `hermes model` for alternative configuration flows.

## Return to Sesori

After the command works and local authentication is complete:

1. Start or restart `sesori-bridge`.
2. Open **Settings → Harnesses** in Sesori.
3. Select the assistant and refresh its status.
4. Enable it when the status is ready.

## Next

👉 [Create your first session](/setup/create-a-session.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sesori.com/setup/prepare-your-assistant.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
