Difference between revisions of "Open Interpreter"

From Notes_Wiki
m
m
Line 7: Line 7:
=Installation=
=Installation=
As root ensure python3-pip package is installed:
As root ensure python3-pip package is installed:
==On Rocky 9.x==
<pre>
<pre>
dnf -y install python3-pip
dnf -y install python3-pip
</pre>
</pre>


As a non-root / local user we can install interpreter via:
Then as a non-root / local user we can install interpreter via:
<pre>
<pre>
pip install open-interpreter
pip install open-interpreter
</pre>
==On Ubuntu 24.04==
'''Could not test this due to having custom CA which was not accepted by Pip'''
As root user:
<pre>
apt -y install python3-pip
apt -y install python3.12-venv
</pre>
Then as saurabh user:
<pre>
python3 -m venv open-interpreter
./open-interpreter/bin/pip install open-interpreter
</pre>
</pre>



Revision as of 17:13, 20 July 2025

Home > Local system based AI tools > Open Interpreter

About

Interpreter can write code and will prompt before running on the system:


Installation

As root ensure python3-pip package is installed:

On Rocky 9.x

dnf -y install python3-pip

Then as a non-root / local user we can install interpreter via:

pip install open-interpreter


On Ubuntu 24.04

Could not test this due to having custom CA which was not accepted by Pip As root user:

apt -y install python3-pip
apt -y install python3.12-venv

Then as saurabh user:

python3 -m venv open-interpreter
./open-interpreter/bin/pip install open-interpreter


Executing

This install interpreter in ~/.local/bin path. Then if this is already in path we can run interpreter via:

interpreter --local

Ideally for this local Ollama should be setup with at least one model eg phi4 for it to work properly.


Sample Queries

You can ask queries such as

  • What operating system is installed on this system?
  • Which are top 5 processes using most RAM on this system?
  • How much free RAM is there on this computer?

and it quickly writes code to get answer and prompts (y/n) before running it.


Usage

Use "%reset" to reset old chat and start new session.

Use 'Ctrl+C' to quit


Refer:


Home > Local system based AI tools > Open Interpreter