> ## 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 Zed with open models

> Let your coding agent add RunInfra's open models next to your Zed provider.

RunInfra's models appear next to your existing Zed models.

## Set up

```text wrap 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)

Zed support is in preview. Your agent asks before using it.
Setup and undo can run inside Zed. Avoid changing provider settings while they run.

## Start

Fully quit Zed, load the private environment file with the command your agent gives you, then start `zed` from that same terminal.
Repeat after key rotation. Never paste the key into your agent.
In a new Agent chat, pick a RunInfra model from the model selector.

## Undo

Ask your agent to disconnect RunInfra. Your other providers stay; the private environment file is removed. Restart Zed from a new terminal.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.