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

# DeepPCB KiCad Plugin: Route Your PCB with AI in KiCad

> Install the DeepPCB KiCad plugin to route PCBs with AI and review them with Cooper directly from KiCad's PCB Editor — no file export or browser tab switching required.

The DeepPCB KiCad Plugin lets you route your board with DeepPCB's AI engine without leaving KiCad's PCB Editor. It uploads your board and schematics, starts the routing run, and loads each new solution straight onto the board you have open. Cooper, DeepPCB's design review assistant, works inside KiCad too.

![The KiCad logo with Cooper and the DeepPCB plugin package](https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/kicad-plugin/banner.webp?fit=max\&auto=format\&n=4U0o544YQLW2m18K\&q=85\&s=b36324c339c494db5a2e8d111b69ade9)

## Requirements

* KiCad 7.0 or later (Windows, macOS, Linux)
* A DeepPCB account and API key — get one at [app.deeppcb.com/integration](https://app.deeppcb.com/integration)
* Your board saved as a KiCad project: the `.kicad_pcb` and a `.kicad_pro` with the same name, in the same folder

## Installation

<video controls muted playsInline src="https://deeppcb.com/wp-content/uploads/2026/10/Install-Plugin_v1.2.0_redacted.webm" />

Installing the plugin, getting your API key, and adding it in the PCB Editor.

> [tab] Install from File
>
> **1. Download the release archive**
>
> Download the latest `.zip` from the [DeepPCB GitHub Releases page](https://github.com/instadeepai/deeppcb-kicad-plugin/releases).
>
> **2. Open the Plugin and Content Manager**
>
> In KiCad, navigate to **Tools > Plugin and Content Manager**.
>
> **3. Install from file**
>
> Click **Install from File** and select the `.zip` you downloaded.
>
> **4. Apply pending changes**
>
> Click **Apply Pending Changes** to finish the installation.
>
> **5. Restart KiCad**
>
> Close and reopen KiCad to activate the plugin.

> [tab] Manual Installation
>
> **1. Download and extract the archive**
>
> Download the latest `.zip` from the [DeepPCB GitHub Releases page](https://github.com/instadeepai/deeppcb-kicad-plugin/releases) and extract it to a temporary location.
>
> **2. Copy the plugins folder**
>
> Copy the contents of the extracted `plugins` folder into your KiCad scripting directory. The correct path depends on your operating system:
>
> **Windows**
>
> ```text theme={null}
> %USERPROFILE%\Documents\KiCad\10.0\scripting\plugins\
> ```
>
> **macOS**
>
> ```text theme={null}
> ~/Documents/KiCad/10.0/scripting/plugins/
> ```
>
> **Linux**
>
> ```text theme={null}
> ~/.local/share/kicad/10.0/scripting/plugins/
> ```
>
> > [!NOTE]
> >
> > Adjust the version number (e.g., `10.0`) to match your KiCad installation.
>
> **3. Restart KiCad**
>
> Close and reopen KiCad. The DeepPCB plugin appears under **Tools > External Plugins**.

> [tab] Plugin and Content Manager
>
> Coming soon.

## Routing a Board

**1. Open your board in the PCB Editor**

Open the `.kicad_pcb` you want to route in KiCad's PCB Editor.

**2. Launch the plugin**

Click the **DeepPCB** button in the toolbar, or go to **Tools > External Plugins > DeepPCB**.

**3. Enter your API key**

The first time, the plugin asks for your API key. Paste it in and click **Save**. The **Get your API key here** link opens [app.deeppcb.com/integration](https://app.deeppcb.com/integration).

**4. Create the board**

In the **Create DeepPCB Board** dialog, check the **Board name** and use **Add Files…** to attach your `.kicad_sch` schematics — optional, but they help DeepPCB classify nets and decoupling. Click **Create Board**.

The plugin saves your open board, uploads the board, project and schematic files, and opens two panels: **DeepPCB Status** and **Cooper**.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/kicad-plugin/create-board-upload.mp4?fit=max&auto=format&n=4U0o544YQLW2m18K&q=85&s=b71a9a4acecd21ee2fc5258c909b0436" />

Create DeepPCB Board uploads your files and docks the status and Cooper panels.

**5. Set the time and start routing**

In the **DeepPCB Status** panel, set **Allocated Time** (5 to 120 minutes) and click **Start Routing**. The allocation includes the 5-minute unlock fee, which is not refunded if you stop early.

If the board already carries routing you want kept, lock those tracks and vias in KiCad before you create the board — locked copper arrives protected and the engine routes around it. Anything you left unlocked may be re-routed. See [Keeping Existing Wiring](https://docs.deeppcb.ai/guides/routing.md#keeping-existing-wiring).

![KiCad's PCB Editor with the DeepPCB Status panel showing Allocated Time and Start Routing, and the Cooper panel reviewing the board's import warnings and net setup](https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/kicad-plugin/cooper-board-review.webp?fit=max\&auto=format\&n=4U0o544YQLW2m18K\&q=85\&s=84fd80269def573df97c0a27702b2af7)

The DeepPCB Status panel above Cooper's first review of the board.

**6. Watch solutions arrive**

While the run is active, the panel shows the board status, the time remaining, and the current solution number. Each new solution is loaded onto your open board as it arrives.

**7. Save your board**

When you are happy with the result, save the board in KiCad. The plugin never saves solutions for you.

> [!WARNING]
>
> Loading a solution replaces **all** tracks and vias on the open board, and moves components to match the solution. It cannot be undone, so don't edit the board while a run is active — click **Stop** first if you need to make changes.

### Loading an Earlier Solution

Every solution is also saved next to your project, in a `DeepPCB_Solutions` folder. To put a different one on the board, open **Advanced Settings** in the **DeepPCB Status** panel, pick it from the **Solutions** list, and click **Render Solution**.

### Stopping a Run

Click **Stop** in the **DeepPCB Status** panel. When the run ends, the button changes to **New Job**, which starts a fresh board from your current design.

The panel toolbar also has **Open in DeepPCB**, which opens the same board in the web app, and **Rate**, to tell us how the run went.

## Cooper in KiCad

Cooper opens beside the status panel when you create a board, and reviews it straight away. Its reply ends with **Suggested actions** — tick the ones you want and click **Apply selected**. You can also ask it questions in plain language.

![The Cooper panel in KiCad listing import warnings and a suggested action to raise the boundary clearance to 0.25 mm, with an Apply selected button](https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/kicad-plugin/cooper-suggested-actions.webp?fit=max\&auto=format\&n=4U0o544YQLW2m18K\&q=85\&s=ffd526baa3ffdbabc5de9ad851b13ec4)

Cooper suggests a change, and Apply selected makes it.

When Cooper points at part of your design, it can select a component, highlight a net, or show and hide layers on your KiCad board. To reopen Cooper, click **Cooper** in the status panel toolbar.

See [Cooper](https://docs.deeppcb.ai/concepts/cooper.md) for what Cooper checks.

## Returning to a Board

The plugin remembers the board it created for each project. When you launch it again on the same project, it shows **Board Detected**:

* **Restore Old Run** — reattach the panels and Cooper to that board.
* **Start New Run** — create a new board. The old one is kept, and you can still open it on DeepPCB.

A run keeps going on DeepPCB while KiCad is closed. Restore it to pick up the solutions generated in the meantime.

## Changing Your API Key

Click the key icon (**Configure API Key**) in the **DeepPCB Status** panel or the **Create DeepPCB Board** dialog, and enter the new key. It takes effect immediately — no restart required.

The key is stored in plain text in your home folder:

```text theme={null}
~/.kicad/deeppcb/config.ini
```

On Windows, that is `%USERPROFILE%\.kicad\deeppcb\config.ini`.

> [!TIP]
>
> The KiCad Plugin uses the same account and balance as the web app. If your balance is too low for the time you allocated, the plugin offers **Buy Credits**, which opens your balance page.

DeepPCB publishes completion figures for KiCad boards specifically — see [the KiCad autorouter comparison](https://deeppcb.com/kicad-autorouter-alternative/).


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