Skip to content
/ 01 Public
forked from OpenInterpreter/01

The open-source language model computer

License

Notifications You must be signed in to change notification settings

RichardA1/01

 
 

Repository files navigation

Official pre-release repository for The 01 Project.

3 days remaining until launch

Discord

The open-source language model computer.


poster


pip install 01OS
01 # Run this to start the 01.

The 01 project is an open-source ecosystem for artificially intelligent devices.

By combining code-interpreting language models ("interpreters") with speech recognition and voice synthesis, the 01’s flagship operating system ("01OS") can power conversational, computer-operating AI devices similar to the Rabbit R1 or the Humane Pin.

We intend to become the “Linux” of this new space— open, modular, and free for personal or commercial use.


Setup

Install dependencies

# MacOS
brew install portaudio ffmpeg cmake

# Ubuntu
sudo apt-get install portaudio19-dev ffmpeg cmake pip

If you want to run local speech-to-text using Whisper, install Rust. Follow the instructions given here.

Install and run the 01 CLI

pip install 01OS

At this point you may need to restart your computer.

Add your OpenAI API Key:

export OPENAI_API_KEY=YORopenAIapiKEY ## replace "YORopenAIapiKEY" with your OpenAI API Key
01 --server # Start a server for a hardware device to listen to.

Client Setup

For ESP32 boards

Please visit our ESP32 setup documentation.

For Mac, Windows, and Ubuntu machines

01 # Start a server and a client.

01 --server --expose # Start and expose a server via Ngrok. This will print a `server_url` for clients to connect to.

01 --client --server_url your-server.com # Start only a client.

Swap out service providers

The 01 is model agnostic to speech-to-text, text-to-speech, and language model providers.

Select your provider by running:

01 --tts-service openai
01 --llm-service openai
01 --stt-service openai

View all providers ↗, or join the 01 team by adding a service provider. ↗

Run the 01 locally

Some service providers don't require an internet connection.

The following command will attempt to download and use the best providers for your hardware:

01 --local

How Does it Work?

The 01 equips a language model (wrapped in a voice interface) with an exec() function, which allows it to write and run code to control computers.

We only stream speech to/from the end user's device.

Contributing

Please see our contributing guidelines for more details on how to get involved.

Setup for development

# Clone the repo
git clone https://github.com/KillianLucas/01.git

# Go to the 01OS directory
cd 01OS

# Install python dependencies
poetry install

# Run it
poetry run 01

Roadmap

Visit our roadmap to see the future of the 01.


Background

The story of devices that came before the 01.

Things we want to steal great ideas from.


Direction

What we're going to do.

What the 01 will be able to do.


About

The open-source language model computer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.9%
  • C++ 20.6%
  • Shell 8.0%
  • Rust 2.5%