DEV Community

0xkoji
0xkoji

Posted on

Running Open Interpreter on Windows

GitHub logo KillianLucas / open-interpreter

OpenAI's Code Interpreter in your terminal, running locally

● Open Interpreter

Discord JA doc ZH doc IN doc License

Let language models run code on your computer.
An open-source, locally running implementation of OpenAI's Code Interpreter.

Get early access to the desktop app‎ ‎ |‎ ‎ Read our new docs

poster

Update: ● 0.1.12 supports --vision (experimental).

pip install open-interpreter
Enter fullscreen mode Exit fullscreen mode
interpreter
Enter fullscreen mode Exit fullscreen mode

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.

This provides a natural-language interface to your computer's general-purpose capabilities:

  • Create and edit photos, videos, PDFs, etc.
  • Control a Chrome browser to perform research
  • Plot, clean, and analyze large datasets
  • ...etc.

⚠️ Note: You'll be asked to approve code before it's run.

Demo

Open.Interpreter.Demo.mp4

An interactive demo is also available on Google Colab:

Open In Colab

Along with an example implementation of a voice interface (inspired by Her):

Open In Colab

Quick Start

pip install open-interpreter
Enter fullscreen mode Exit fullscreen mode

Terminal

After installation…

1. Create a virtual env

mkdir openInterpreter
cd openInterpreter
python -m venv venv openinterpreter_env
Enter fullscreen mode Exit fullscreen mode

2. Activate venv

./openinterpreter_env/Script/activate
Enter fullscreen mode Exit fullscreen mode

3. Install open-interpreter

pip install open-interpreter
Enter fullscreen mode Exit fullscreen mode

4. Run Open Interpreter

The following command is to use gpt3.5 turbo.

interpreter --fast

Welcome to Open Interpreter.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

▌ OpenAI API key not found

To use GPT-4 (recommended) please provide an OpenAI API key.

To use Code-Llama (free but less capable) press enter.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter fullscreen mode Exit fullscreen mode

Top comments (0)