Difference between revisions of "Open Interpreter"

From Notes_Wiki
m
m
 
Line 19: Line 19:


==On Ubuntu 24.04==
==On Ubuntu 24.04==
'''Could not test this due to having custom CA which was not accepted by Pip'''
As root user:
As root user:
<pre>
<pre>
Line 34: Line 33:


=Executing=
=Executing=
'''Ideally for this local [[Ollama]] should be setup with at least one non-thinking model eg phi4 for it to work properly.'''
==Rocky 9.x==
This install interpreter in ~/.local/bin path.  Then if this is already in path we can run interpreter via:
This install interpreter in ~/.local/bin path.  Then if this is already in path we can run interpreter via:
<pre>
<pre>
Line 39: Line 41:
</pre>
</pre>


Ideally for this local [[Ollama]] should be setup with at least one model eg phi4 for it to work properly.
 
==Ubuntu 24.04==
Execute it from the virtual environment via:
<pre>
./open-interpreter/bin/interpreter --local
</pre>
 
 
 





Latest revision as of 17:24, 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

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

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

Rocky 9.x

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

interpreter --local


Ubuntu 24.04

Execute it from the virtual environment via:

./open-interpreter/bin/interpreter --local



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