Docs overhaul

[WIP] Improve docs
pull/297/head
killian 5 months ago committed by GitHub
commit d4259759d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,12 +5,15 @@ description: "Preparing your machine"
## Prerequisites
There are a few packages that need to be installed in order to run 01OS on your computer
To run 01OS on your computer, you will need to install a few essential packages.
```bash
# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
```
<Card
title="Install Poetry"
icon="link"
href="https://python-poetry.org/docs/#installing-with-the-official-installer"
>
To install poetry, follow the official guide here.
</Card>
### MacOS
@ -29,7 +32,6 @@ sudo apt-get install portaudio19-dev ffmpeg cmake
### Windows
- [Git for Windows](https://git-scm.com/download/win).
- [virtualenv](https://virtualenv.pypa.io/en/latest/installation.html) or [MiniConda](https://docs.anaconda.com/free/miniconda/miniconda-install/) to manage virtual environments.
- [Chocolatey](https://chocolatey.org/install#individual) to install the required packages.
- [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools):
- Choose [**Download Build Tools**](https://visualstudio.microsoft.com/visual-cpp-build-tools/).

@ -1,6 +1,6 @@
---
title: Introduction
description: "The open-source language model computer."
description: "The open-source language model computer"
---
<img
@ -15,5 +15,4 @@ By combining code-interpreting language models ("interpreters") with speech reco
We intend to become the “Linux” of this new space— open, modular, and free for personal or commercial use.
_Disclaimer:_ The current version of 01OS is a developer preview
_Disclaimer:_ The current version of 01OS is a developer preview.

@ -1,52 +0,0 @@
---
title: "01 Light"
description: "Use your 01 Light"
---
# Materials
The Bill of Materials for the 01 Light can be found [here](https://github.com/OpenInterpreter/01/blob/main/hardware/light/BOM.md)
# Chip (ESP32)
To setup the ESP32 to work with 01, follow this guide to install the firmware:
To set up audio recording + playback on the ESP32 (M5 Atom), do the following:
1. Download the [Arduino IDE](https://www.arduino.cc/en/software)
2. Get the firmware by copying the contents of [client.ino](https://github.com/OpenInterpreter/01/blob/main/software/source/clients/esp32/src/client/client.ino) from the 01 repository.
3. Open Arduino IDE and paste the client.ino contents
4. Go to Tools -> Board -> Boards Manager, search "esp32", then install the boards by Arduino and Espressif
5. Go to Tools -> Manage Libraries, then install the following:
- M5Atom by M5Stack [Reference](https://www.arduino.cc/reference/en/libraries/m5atom/)
- WebSockets by Markus Sattler [Reference](https://www.arduino.cc/reference/en/libraries/websockets/)
6. The board needs to connect to WiFi. Once you flash, connect to ESP32 wifi "captive" which will get wifi details. Once it connects, it will ask you to enter 01OS server address in the format "domain.com:port" or "ip:port". Once its able to connect you can use the device.
7. To flash the .ino to the board, connect the board to the USB port, select the port from the dropdown on the IDE, then select the M5Atom board (or M5Stack-ATOM if you have that). Click on upload to flash the board.
Check out [this video from Thomas](https://www.youtube.com/watch?v=Y76zed8nEE8) for flashing the ESP32 and connecting the 01.
# Case
This case of the 01 can be 3d printed at home. It is recommended to use a resin printer for improved quality.
Check out [this video from James at CAD9 Design](https://www.youtube.com/watch?v=BjoO0Kt-IWM) for a deep dive on his design.
The stl files can be found [here](https://github.com/OpenInterpreter/01/tree/main/hardware/light/bodies)
# Assembly
Check out [this video from James at CAD9 Design](https://www.youtube.com/watch?v=37a5bgvoZy8) on how to assemble your 01
# Connect
### Captive portal
To connect your 01, you will use the captive portal.
1. Turn on your computer or laptop and connect to the '01 light' Wi-Fi network.
2. Enter your Wi-Fi/hotspot name and password in the captive portal page.
3. Enter the server URL generated on their computer and hit 'Connect'.
Now you're connected and ready to go!

@ -0,0 +1,19 @@
---
title: "Assembly"
description: "How to build your 01 Light"
---
Watch this video from James at CAD9 Design for a detailed guide on assembling your 01.
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/37a5bgvoZy8"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
## Wiring Diagram
![Wiring Diagram](/hardware/light/wiring-diagram.jpg)

@ -0,0 +1,21 @@
---
title: "Case"
description: "The Body of the 01 Light"
---
# Case
You can 3D print the 01 case at home. For the best quality, it's recommended to use a resin printer.
Watch this video from James at CAD9 Design for a deep dive on his design.
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/BjoO0Kt-IWM"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
The STL files can be found [here](https://github.com/OpenInterpreter/01/tree/main/hardware/light/bodies).

@ -0,0 +1,14 @@
---
title: "Connect"
description: "Connect your 01 device"
---
### Captive portal
To connect your 01, you will use the captive portal.
1. Turn on your computer or laptop and connect to the '01 light' Wi-Fi network.
2. Enter your Wi-Fi/hotspot name and password in the captive portal page.
3. Enter the server URL generated on their computer and hit 'Connect'.
Now you're connected and ready to go!

@ -0,0 +1,30 @@
---
title: "ESP32"
description: "How to setup the ESP32"
---
To set up the ESP32 for use with 01, follow this guide to install the firmware:
1. Download [Arduino IDE](https://www.arduino.cc/en/software).
2. Get the firmware by copying the contents of [client.ino](https://github.com/OpenInterpreter/01/blob/main/software/source/clients/esp32/src/client/client.ino) from the 01 repository.
3. Open Arduino IDE and paste the client.ino contents.
4. Go to Tools -> Board -> Boards Manager, search "esp32", then install the boards by Arduino and Espressif.
5. Go to Tools -> Manage Libraries, then install the following:
- M5Atom by M5Stack [Reference](https://www.arduino.cc/reference/en/libraries/m5atom/)
- WebSockets by Markus Sattler [Reference](https://www.arduino.cc/reference/en/libraries/websockets/)
- AsyncTCP by dvarrel [Reference](https://github.com/dvarrel/AsyncTCP)
- ESPAsyncWebServer by lacamera [Reference](https://github.com/lacamera/ESPAsyncWebServer)
6. To flash the .ino to the board, connect the board to the USB port, select the port from the dropdown on the IDE, then select the M5Atom board (or M5Stack-ATOM if you have that). Click on upload to flash the board.
Watch this video from Thomas for a step-by-step guide on flashing the ESP32 and connecting the 01.
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/Y76zed8nEE8"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>

@ -1,3 +1,8 @@
---
title: "Materials"
description: "Bill of Materials for the 01 Light"
---
# 01 Light Bill of Materials
| Part Name | Part Number | How Many | Unit Price | Units per order | Purchase Link | Mouser Link | $42.38 |

@ -3,7 +3,7 @@ title: "Custom Hardware"
description: "Control 01 from your own device"
---
You can build your own custom hardware that uses the 01 server.
You can create custom hardware that integrates with the O1 server software running on your computer.
To use 01 with your custom hardware, run the server:
@ -14,3 +14,15 @@ poetry run 01 --server
You may need to set additional parameters via [flags](/software/flags) depending on your setup.
To transmit audio commands to 01, send LMC audio chunks to the websocket defined by your server.
## LMC Messages
To support the incoming `L`anguage `M`odel `C`omputer architecture, we extend OpenAI's messages format to include additional information, and a new role called `computer`:
<Card
title="LMC"
icon="link"
href="https://docs.openinterpreter.com/protocols/lmc-messages"
>
Read about LMC messages protocol here.
</Card>

@ -0,0 +1,41 @@
---
title: "Android"
description: "Control 01 from your Android phone"
---
Using your phone is a great way to control 01. There are multiple options available.
## [React Native app](https://github.com/OpenInterpreter/01/tree/main/software/source/clients/mobile)
Work in progress, we will continue to improve this application.
If you want to run it on your device, you will need to install [Expo Go](https://expo.dev/go) on your mobile device.
### Setup Instructions
- [Install 01 software](/software/installation) on your machine
- Run the Expo server:
```shell
cd software/source/clients/mobile/react-native
npm install # install dependencies
npx expo start # start local expo development server
```
This will produce a QR code that you can scan with Expo Go on your mobile device.
Open **Expo Go** on your mobile device and select _Scan QR code_ to scan the QR code produced by the `npx expo start` command.
- Run 01:
```shell
cd software # cd into `software`
poetry run 01 --mobile # exposes QR code for 01 Light server
```
### Using the App
In the 01 mobile app, select _Scan Code_ to scan the QR code produced by the `poetry run 01 --mobile` command.
Press and hold the button to speak, release to make the request. To rescan the QR code, swipe left on the screen to go back.

@ -1,11 +1,11 @@
---
title: "iOS & Android"
description: "Control 01 from your mobile phone"
title: "iOS"
description: "Control 01 from your iOS phone"
---
Using your phone is a great way to control 01. There are multiple options available.
## [React Native app](https://github.com/OpenInterpreter/01/tree/main/software/source/clients/mobile) (iOS & Android)
## [React Native app](https://github.com/OpenInterpreter/01/tree/main/software/source/clients/mobile)
Work in progress, we will continue to improve this application.
@ -36,7 +36,7 @@ poetry run 01 --mobile # exposes QR code for 01 Light server
### Using the App
In the 01 mobile app, select _Scan Code_ to scan the QR code produced by the `poetry run 01 --mobile` command
In the 01 mobile app, select _Scan Code_ to scan the QR code produced by the `poetry run 01 --mobile` command.
Press and hold the button to speak, release to make the request. To rescan the QR code, swipe left on the screen to go back.

@ -42,6 +42,7 @@
{
"group": "Software Setup",
"pages": [
"software/introduction",
"software/installation",
"software/run",
"software/configure",
@ -51,10 +52,22 @@
{
"group": "Hardware Setup",
"pages": [
"hardware/01-light",
{
"group": "01 Light",
"pages": [
"hardware/01-light/materials",
"hardware/01-light/case",
"hardware/01-light/assembly",
"hardware/01-light/esp32",
"hardware/01-light/connect"
]
},
"hardware/custom_hardware",
"hardware/desktop",
"hardware/mobile"
{
"group": "Mobile",
"pages": ["hardware/mobile/ios", "hardware/mobile/android"]
}
]
},
{

@ -14,7 +14,7 @@ To open the directory of all profiles, run:
poetry run 01 --profiles
```
To apply a profile to your 01 instance, use the `--profile` flag followed by the name of the profile
To apply a profile to your 01 instance, use the `--profile` flag followed by the name of the profile:
```bash
# Use profile
@ -34,11 +34,63 @@ poetry run 01 --profile <profile_name>
If you want to make your own file, you can do so by creating a new file in the `profiles` directory.
The easiest way is to duplicate an existing profile and then update values as needed. Be sure to save the profile with a unique name.
Remember to add `interpreter.tts = ` to set the text-to-speech provider.
To use a custom profile, run:
```bash
# Use custom profile
poetry run 01 --profile <profile_name>
```
### Example Profile
````python
from interpreter import AsyncInterpreter
interpreter = AsyncInterpreter()
# This is an Open Interpreter compatible profile.
# Visit https://01.openinterpreter.com/profile for all options.
# 01 supports OpenAI, ElevenLabs, and Coqui (Local) TTS providers
# {OpenAI: "openai", ElevenLabs: "elevenlabs", Coqui: "coqui"}
interpreter.tts = "openai"
# Connect your 01 to a language model
interpreter.llm.model = "gpt-4o"
interpreter.llm.context_window = 100000
interpreter.llm.max_tokens = 4096
# interpreter.llm.api_key = "<your_openai_api_key_here>"
# Tell your 01 where to find and save skills
interpreter.computer.skills.path = "./skills"
# Extra settings
interpreter.computer.import_computer_api = True
interpreter.computer.import_skills = True
interpreter.computer.run("python", "computer") # This will trigger those imports
interpreter.auto_run = True
interpreter.loop = True
interpreter.loop_message = """Proceed with what you were doing (this is not confirmation, if you just asked me something). You CAN run code on my machine. If you want to run code, start your message with "```"! If the entire task is done, say exactly 'The task is done.' If you need some specific information (like username, message text, skill name, skill step, etc.) say EXACTLY 'Please provide more information.' If it's impossible, say 'The task is impossible.' (If I haven't provided a task, say exactly 'Let me know what you'd like to do next.') Otherwise keep going. CRITICAL: REMEMBER TO FOLLOW ALL PREVIOUS INSTRUCTIONS. If I'm teaching you something, remember to run the related `computer.skills.new_skill` function."""
interpreter.loop_breakers = [
"The task is done.",
"The task is impossible.",
"Let me know what you'd like to do next.",
"Please provide more information.",
]
# Set the identity and personality of your 01
interpreter.system_message = """
You are the 01, a screenless executive assistant that can complete any task.
When you execute code, it will be executed on the user's machine. The user has given you full and complete permission to execute any code necessary to complete the task.
Run any code to achieve the goal, and if at first you don't succeed, try again and again.
You can install new packages.
Be concise. Your messages are being read aloud to the user. DO NOT MAKE PLANS. RUN CODE QUICKLY.
Try to spread complex tasks over multiple code blocks. Don't try to complex tasks in one go.
Manually summarize text."""
````
### Hosted LLMs
The default LLM for 01 is GPT-4-Turbo. You can find this in the default profile in `software/source/server/profiles/default.py`.
@ -58,12 +110,15 @@ Using the local profile launches the Local Explorer where you can select your in
```python
# Set your profile with a local LLM
interpreter.llm.model = "ollama/codestral"
# You can also use the Local Explorer to interactively select your model
interpreter.local_setup()
```
### Hosted TTS
01 supports OpenAI and Elevenlabs for hosted TTS
01 supports OpenAI and Elevenlabs for hosted TTS.
```python
# Set your profile with a hosted TTS service

@ -5,38 +5,98 @@ description: "Customize the behaviour of your 01 from the CLI"
## CLI Flags
- `--server`
Run server.
### Server
- `--server-host TEXT`
Specify the server host where the server will deploy.
Default: `0.0.0.0`.
Runs the server.
- `--server-port INTEGER`
Specify the server port where the server will deploy.
Default: `10001`.
```
poetry run 01 --server
```
- `--tunnel-service TEXT`
Specify the tunnel service.
Default: `ngrok`.
### Server Host
- `--expose`
Expose server to internet.
Specify the server host where the server will deploy.
- `--client`
Run client.
Default: `0.0.0.0`.
- `--server-url TEXT`
Specify the server URL that the client should expect.
Defaults to server-host and server-port.
Default: `None`.
```
poetry run 01 --server-host 0.0.0.0
```
- `--client-type TEXT`
Specify the client type.
Default: `auto`.
### Server Port
- `--qr`
Display QR code to scan to connect to the server.
Specify the server port where the server will deploy.
- `--help`
Show this message and exit.
Default: `10001`.
```
poetry run 01 --server-port 10001
```
### Tunnel Service
Specify the tunnel service.
Default: `ngrok`.
```
poetry run 01 --tunnel-service ngrok
```
Specify the tunnel service.
Default: `ngrok`.
### Expose
Expose server to internet.
```
poetry run 01 --expose
```
### Client
Run client.
```
poetry run 01 --client
```
### Server URL
Specify the server URL that the client should expect.
Defaults sets the server-host and server-port.
Default: `None`.
```
poetry run 01 --server-url http://0.0.0.0:10001
```
### Client Type
Specify the client type.
Default: `auto`.
```
poetry run 01 --client-type auto
```
Default: `auto`.
### QR
Display QR code to scan to connect to the server.
```
poetry run 01 --qr
```
### Help
Show this message and exit.
```
poetry run 01 --help
```

@ -5,7 +5,7 @@ description: "Get your 01 up and running"
## Install 01
To install the 01 software
To install the 01 software:
```bash
# Clone the repo and navigate into the 01OS directory
@ -28,4 +28,4 @@ Install your project along with its dependencies in a virtual environment manage
poetry install
```
Now you should be ready to [run your 01](/software/run)
Now you should be ready to [run your 01](/software/run).

@ -0,0 +1,53 @@
---
title: "Software"
description: "The software that powers 01"
---
## Overview
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.
Our goal is to become the "Linux" of this new space—open, modular, and free for personal or commercial use.
<Note>The current version of 01OS is a developer preview.</Note>
## Components
The 01 software consists of two main components:
### Server
The server runs on your computer and acts as the brain of the 01 system. It:
- Passes input to the interpreter
- Executes commands on your computer
- Returns responses
### Client
The client is responsible for capturing audio for controlling computers running the 01 server. It:
- Transmits audio to the server
- Plays back responses
## Customization
One of the key features of the 01 ecosystem is its modularity. You can:
- Use different language models
- Customize the system's behavior through profiles
- Create and integrate custom hardware
## Getting Started
To begin using 01:
1. [Install](/software/installation) the software
2. [Run](/software/run) the Server
3. [Connect](/hardware/01-light/connect) the Client
For more advanced usage, check out our guides on [configuration](/software/configure).
## Contributing
As an open-source project, we welcome contributions from the community. Whether you're interested in improving the core software, developing new features, or creating custom hardware integrations, there are many ways to get involved.

@ -5,13 +5,13 @@ description: "Run your 01"
<Info> Make sure that you have navigated to the `software` directory. </Info>
To run 01 with your computer's microphone and speaker, run:
To run the server and the client:
```bash
poetry run 01
```
To use 01 with your <a href="/hardware/01-light">01 Light</a>, run the server:
To run the 01 server:
```bash
poetry run 01 --server

@ -3,57 +3,69 @@ title: "FAQ"
description: "Frequently Asked Questions"
---
- How do you build on top of the 01?
- Where should I start?
- Is there a walk-through for connecting a device to the server?
- What are minimum hardware requirements?
<Accordion title="How do I have code run on the client-side?">
We are working on supporting this, but we only support server-side code
execution right now.
</Accordion>
<Accordion title="How do I build a profile?">
We recommend running `--profiles`, duplicating a profile, then experimenting
with the settings in the profile file (like `system_message`).
</Accordion>
<Accordion title="Where does the server run?">
The server runs on your home computer, or whichever device you want to
control.
</Accordion>
<Accordion title="Can an 01 device connect to the desktop app, or do general customers/consumers need to set it up in their terminal?">
We are working on supporting external devices to the desktop app, but for
now the 01 will need to connect to the Python server.
</Accordion>
<Accordion title="Can I on/off certain tools?">
We are working on building this feature, but it isn't avaliable yet.
</Accordion>
- What firmware do I use to connect?
- What ideally do I need in my code to access the server correctly?
<Accordion title="Alternatives to nGrok?">
We support `--tunnel-service bore` and `--tunnel-service localtunnel` in
addition to `--tunnel-service ngrok`. [link to tunnel service docs]
</Accordion>
- If my device runs off bluetooth connected to a phone, is there a mobile app to use to connect to the server?
<Accordion title="Uses a huge deal of API credits, what options do I have for using local models? Can these be run on the client device?">
If you use `--profile local`, you won't need to use an LLM via an API. The
01 server will be responsible for LLM running, but you can run the server +
client on the same device (simply run `poetry run 01` to test this.)
</Accordion>
<Accordion title="Which model is best?">
We have found `gpt-4-turbo` to be the best, but we expect Claude Sonnet 1.5
to be comparable or better.
</Accordion>
<Accordion title="Do I need to pay for a monthly subscription?">
If you use `--profile local`, you don't need to. For hosted language models,
you may need to pay a monthly subscription.
</Accordion>
<Accordion title="Does the computer the O1 connects to need to always be on and running? If its in sleep mode will it wake up when I call on it?">
The computer does need to be running, and will not wake up if a request is
sent while it's sleeping.
</Accordion>
<Accordion title="Which Model does 01 use?">
The 01 defaults to `gpt-4-turbo`.
</Accordion>
<Accordion title="Where should I start?">
We have a [Getting Started](/getting-started/getting-started) guide that will
help you get up and running with the 01.
</Accordion>
<Accordion title="Is there a walk-through for connecting a device to the server?">
We have a [Connecting](/software/connecting-a-device) guide that will help you
get up and running with the 01.
</Accordion>
<Accordion title="How do I have code run on the client-side?">
We are working on supporting this, but we only support server-side code
execution right now.
</Accordion>
<Accordion title="How do I build a profile?">
We recommend running `--profiles`, duplicating a profile, then experimenting
with the settings in the profile file (like `system_message`).
</Accordion>
<Accordion title="Where does the server run?">
The server runs on your home computer, or whichever device you want to
control.
</Accordion>
<Accordion title="Can an 01 device connect to the desktop app, or do general customers/consumers need to set it up in their terminal?">
We are working on supporting external devices to the desktop app, but for now
the 01 will need to connect to the Python server.
</Accordion>
<Accordion title="Can I on/off certain tools?">
We are working on building this feature, but it isn't avaliable yet.
</Accordion>
<Accordion title="Alternatives to nGrok?">
We support `--tunnel-service bore` and `--tunnel-service localtunnel` in
addition to `--tunnel-service ngrok`. [link to tunnel service docs]
</Accordion>
<Accordion title="Uses a huge deal of API credits, what options do I have for using local models? Can these be run on the client device?">
If you use `--profile local`, you won't need to use an LLM via an API. The 01
server will be responsible for LLM running, but you can run the server +
client on the same device (simply run `poetry run 01` to test this.)
</Accordion>
<Accordion title="Which model is best?">
We have found `gpt-4-turbo` to be the best, but we expect Claude Sonnet 1.5 to
be comparable or better.
</Accordion>
<Accordion title="Do I need to pay for a monthly subscription?">
If you use `--profile local`, you don't need to. For hosted language models,
you may need to pay a monthly subscription.
</Accordion>
<Accordion title="Does the computer the O1 connects to need to always be on and running? If its in sleep mode will it wake up when I call on it?">
The computer does need to be running, and will not wake up if a request is
sent while it's sleeping.
</Accordion>
<Accordion title="Which Model does 01 use?">
The 01 defaults to `gpt-4-turbo`.
</Accordion>
<Accordion title="Do you support a Standalone Device/Hosted Server?">
We are exploring a few options about how to best provide a stand-alone device
@ -78,3 +90,10 @@ description: "Frequently Asked Questions"
Please also join the Discord https://discord.gg/Hvz9Axh84z to find and discuss
ways to start contributing to the open-source 01 Project!
</Accordion>
- If my device runs off bluetooth connected to a phone, is there a mobile app to
use to connect to the server?
- How do you build on top of the 01?
- What are minimum hardware requirements?
- What firmware do I use to connect? - What ideally do I need in my code to access
the server correctly?

@ -1,36 +0,0 @@
# ESP32 Setup
## Flashing
To set up audio recording + playback on the ESP32 (M5 Atom), do the following:
1. Open Arduino IDE, and open the [client.ino](https://github.com/OpenInterpreter/01/blob/main/software/source/clients/esp32/src/client/client.ino) file
2. Go to Tools -> Board -> Boards Manager, search "esp32", then install the boards by Arduino and Espressif
3. Go to Tools -> Manage Libraries, then install the following:
- M5Atom by M5Stack [Reference](https://www.arduino.cc/reference/en/libraries/m5atom/)
- WebSockets by Markus Sattler [Reference](https://www.arduino.cc/reference/en/libraries/websockets/)
- AsyncTCP by dvarrel [Reference](https://github.com/dvarrel/AsyncTCP)
- ESPAsyncWebServer by lacamera [Reference](https://github.com/lacamera/ESPAsyncWebServer)
Finally, to flash the .ino to the board, connect the board to the USB port, select the port from the dropdown on the IDE, then select the M5Atom board (or M5Stack-ATOM if you have that). Click on upload to flash the board.
### Alternative - PlatformIO
You don't need anything, PlatformIO will install everything for you, dependencies, tool chains, etc.
Please install first [PlatformIO](http://platformio.org/) open source ecosystem for IoT development compatible with **Arduino** IDE and its command line tools (Windows, MacOs and Linux), and then enter to the firmware directory:
```bash
cd software/source/clients/esp32/src/client/
```
And build and upload the firmware with a simple command:
```bash
pio run --target upload
```
## Wifi
The board needs to connect to WiFi. Once you flash, connect to the ESP32 WiFi portal "01-Light" which will get WiFi details. Once it connects, it will ask you to enter 01OS server address. Once its able to connect, you can use the device.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 278 KiB

@ -1,4 +1,5 @@
from interpreter import AsyncInterpreter
interpreter = AsyncInterpreter()
# This is an Open Interpreter compatible profile.
@ -183,5 +184,4 @@ Summarize things manually. DO NOT use a summarizer tool.
Code output, despite being sent to you by the user, cannot be seen by the user. You NEED to tell the user about the output of some code, even if it's exact. >>The user does not have a screen.<<
ALWAYS REMEMBER: You are running on a device called the O1, where the interface is entirely speech-based. Make your responses to the user VERY short. DO NOT PLAN. BE CONCISE. WRITE CODE TO RUN IT.
Try multiple methods before saying the task is impossible. **You can do it!**
""".strip()

Loading…
Cancel
Save