You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
01/README.md

190 lines
4.8 KiB

Official pre-release repository for [The 01 Project](https://twitter.com/hellokillian/status/1745875973583896950).
> **3** days remaining until launch
1 year ago
<h1 align="center"></h1>
<p align="center">
<a href="https://discord.gg/Hvz9Axh84z"><img alt="Discord" src="https://img.shields.io/discord/1146610656779440188?logo=discord&style=social&logoColor=black"/></a> <a href="https://0ggfznkwh4j.typeform.com/to/kkStE8WF"><img alt="Partner" src="https://img.shields.io/badge/become%20a%20partner-20B2AA?style=for-the-badge&color=black"/></a>
1 year ago
<br>
<br>
<strong>The open-source language model computer.</strong><br>
<!-- <br><a href="https://openinterpreter.com">Preorder the Light</a> | <a href="https://openinterpreter.com">Get Updates</a> | <a href="https://docs.openinterpreter.com/">Documentation</a><br> -->
</p>
12 months ago
<div align="center">
| [日本語](docs/README_JP.md) | [English](README.md) |
</div>
1 year ago
<br>
![poster](https://pbs.twimg.com/media/GDqTVYzbgAIfLJf?format=png&name=4096x4096)
<br>
<!-- <p align="center">
Today is launch day. Read our <a href="https://changes.openinterpreter.com/log/the-new-computer-update">founding statement →</a>
</p>
<br> -->
```shell
12 months ago
git clone https://github.com/OpenInterpreter/01
cd 01/01OS
1 year ago
```
<!-- > Not working? Read our [setup guide](https://docs.openinterpreter.com/getting-started/setup). -->
1 year ago
```shell
12 months ago
poetry install
poetry run 01
1 year ago
```
<br>
12 months ago
**The 01 Project** is creating an ecosystem for AI devices.
1 year ago
12 months ago
Our flagship operating system can power conversational devices like the Rabbit R1, Humane Pin, or [Star Trek computer](https://www.youtube.com/watch?v=1ZXugicgn6U).
1 year ago
12 months ago
We intend to become the GNU/Linux of this space by committing to staying open-source, modular, and free.
12 months ago
## Unified API
The unified API is a standard Python interface for key services used in the 01:
- `/stt` for speech-to-text
- `/llm` for language models
- `/tts` for text-to-speech
## Bodies
The 01OS can be housed in many different bodies. We highly encourage PRs that add to this list:
The **01 Light** is an ESP32-based voice interface that controls your home computer over the internet. It's used in combination with the **01 Server**.
The **01 Heavy** is a device that runs everything locally.
1 year ago
## Setup
### Install dependencies
1 year ago
```bash
# MacOS
1 year ago
brew install portaudio ffmpeg cmake
1 year ago
# Ubuntu
1 year ago
sudo apt-get install portaudio19-dev ffmpeg cmake
```
If you want to run local speech-to-text using Whisper, install Rust. Follow the instructions given [here](https://www.rust-lang.org/tools/install).
1 year ago
### Install and run the 01 CLI
1 year ago
```shell
pip install 01OS
```
1 year ago
```shell
01 --server # Start a server for a hardware device to listen to.
```
# Client Setup
### For ESP32 boards
Please visit our [ESP32 setup documentation](https://github.com/OpenInterpreter/01/tree/main/01OS/01OS/clients/esp32).
### For Mac, Windows, and Ubuntu machines
```
01 # Start a server and a client.
1 year ago
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.
```
1 year ago
### Swap out service providers
1 year ago
The 01 is model agnostic to speech-to-text, text-to-speech, and language model providers.
1 year ago
Select your provider by running:
1 year ago
```shell
01 --tts-service openai
01 --llm-service openai
01 --stt-service openai
```
1 year ago
[View all providers ↗](https://docs.litellm.ai/docs/providers/), or [join the 01 team by adding a service provider. ↗]()
1 year ago
### Run the 01 locally
1 year ago
Some service providers don't require an internet connection.
1 year ago
The following command will attempt to download and use the best providers for your hardware:
1 year ago
```shell
01 --local
1 year ago
```
1 year ago
## How Does it Work?
1 year ago
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.
1 year ago
We only stream speech to/from the end user's device.
1 year ago
# Contributing
1 year ago
Please see our [contributing guidelines](docs/CONTRIBUTING.md) for more details on how to get involved.
1 year ago
### Setup for development
1 year ago
```bash
1 year ago
# Clone the repo
git clone https://github.com/KillianLucas/01.git
1 year ago
# Go to the 01OS directory
cd 01OS
1 year ago
# Install python dependencies
poetry install
1 year ago
# Run it
poetry run 01
1 year ago
```
1 year ago
<br>
# Roadmap
1 year ago
Visit [our roadmap](https://github.com/KillianLucas/open-interpreter/blob/main/docs/ROADMAP.md) to see the future of the 01.
<br>
## Background
### [Context ↗](https://github.com/KillianLucas/01/blob/main/CONTEXT.md)
1 year ago
The story of devices that came before the 01.
### [Inspiration ↗](https://github.com/KillianLucas/01/tree/main/INSPIRATION.md)
1 year ago
Things we want to steal great ideas from.
<br>
## Direction
### [Goals ↗](https://github.com/KillianLucas/01/blob/main/GOALS.md)
1 year ago
What we're going to do.
### [Use Cases ↗](https://github.com/KillianLucas/01/blob/main/USE_CASES.md)
1 year ago
What the 01 will be able to do.
<br>