> ## Documentation Index
> Fetch the complete documentation index at: https://runinfra.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Claude Code with open models

> Let your coding agent set up RunInfra's open models in a separate Claude Code command.

By default, RunInfra's open models get their own `claude-run` command. Your `claude` command and settings stay unchanged.

## Set up

```text wrap theme={"dark"} theme={"dark"}
Set up RunInfra's open models in this coding agent for me. Read https://runinfra.ai/docs/tools-sdks/agent-setup.md and follow it step by step. If you cannot open links, run `npx -y @runinfra/cli@latest --help` and follow its FOR CODING AGENTS section. I approve sign-in in my browser. Before you install anything, change this agent's settings or spend money, show me the plan and wait for my yes.
```

Paste it into your agent, approve sign-in in your browser, and say yes to the plan. [All steps](/docs/tools-sdks/agent-setup)

To use RunInfra inside `claude` itself, run `runinfra` in your terminal and choose **Inside**; it uses RunInfra models until you disconnect.

## Start

Run the line your agent gives you. Pick a model with `/model`.

If needed, add `~/.config/runinfra/bin` to PATH (`%LOCALAPPDATA%\runinfra\bin` on Windows) to run commands by name.

## Undo

Ask your usual `claude` agent to disconnect RunInfra. This deletes `claude-run` with its sessions and history, or restores earlier settings for **Inside**.
