---
title: Open Interpreter
sidebar_position: 6
description: A step-by-step guide on how to integrate Jan with Open Interpreter.
---

<head>
    <title>Open Interpreter</title>
    <meta name="description" content="A step-by-step guide on how to integrate Jan with Open Interpreter. Learn how to install Open Interpreter, configure Jan's local API server, and set up the Open Interpreter environment for seamless interaction with Jan."/>
    <meta name="keywords" content="Jan AI, Jan, ChatGPT alternative, local AI, private AI, conversational AI, no-subscription fee, large language model, Open Interpreter integration"/>
    <meta property="og:title" content="Open Interpreter"/>
    <meta property="og:description" content="A step-by-step guide on how to integrate Jan with Open Interpreter. Learn how to install Open Interpreter, configure Jan's local API server, and set up the Open Interpreter environment for seamless interaction with Jan."/>
    <meta property="og:url" content="https://jan.ai/guides/integration/open-interpreter"/>
    <meta name="twitter:card" content="summary"/>
    <meta name="twitter:title" content="Open Interpreter"/>
    <meta name="twitter:description" content="A step-by-step guide on how to integrate Jan with Open Interpreter. Learn how to install Open Interpreter, configure Jan's local API server, and set up the Open Interpreter environment for seamless interaction with Jan."/>
</head>

## How to Integrate Open Interpreter with Jan

[Open Interpreter](https://github.com/KillianLucas/open-interpreter/) lets LLMs run code (Python, Javascript, Shell, and more) locally. You can chat with Open Interpreter through a ChatGPT-like interface in your terminal by running `interpreter` after installing. To integrate Open Interpreter with Jan, follow the steps below:

### Step 1: Install Open Interpreter

1. Install Open Interpreter by running:

```sh
pip install open-interpreter
```

2. A Rust compiler is required to install Open Interpreter. If not already installed, run the following command or go to [this page](https://rustup.rs/) if you are running on windows:

```zsh
sudo apt install rustc
```

### Step 2: Configure Jan's Local API Server

Before using Open Interpreter, configure the model in `Settings` > `My Model` for Jan and activate its local API server.

#### Enabling Jan API Server

1. Click the `<>` button to access the **Local API Server** section in Jan.

2. Configure the server settings, including **IP Port**, **Cross-Origin-Resource-Sharing (CORS)**, and **Verbose Server Logs**.

3. Click **Start Server**.

### Step 3: Set the Open Interpreter Environment

1. For integration, provide the API Base (`http://localhost:1337/v1`) and the model ID (e.g., `mistral-ins-7b-q4`) when running Open Interpreter. For example see the code below:

```zsh
interpreter --api_base http://localhost:1337/v1 --model mistral-ins-7b-q4
```

> **Open Interpreter is now ready for use!**