Jan 5, 2024
The New Computer Update I
Introducing the Computer API, a standard interface between language models and computers.
The New Computer Update is the most significant upgrade to Open Interpreter since 0.1.0
. Almost every component has been rewritten to support our project's objective—building a standard interface between language models and computers.
1. The Computer API
In 2023, Open Interpreter started building the world's first real-time code execution environment for language models.
Now, we're creating an API for language models to use in that environment, starting with basic I/O controls like display
, mouse
, and keyboard
:
We are also launching a free preview of the hosted tools that power computer.mouse
at api.openinterpreter.com.
2. OS Mode
You can instruct Open Interpreter to use the Computer API to control your computer graphically:
Even local vision models running via .llamafile, LM Studio, or Jan.ai are supported.
3. LMC Messages
To support the incoming L
anguage M
odel C
omputer architecture, the new messaging format that powers Open Interpreter extends OpenAI's messages format to include additional information, and a new role called computer
:
Read more about LMC Messages
here.
Computer Module
The Computer itself has been separated from Open Interpreter's Core, so you can run it independently:
This runs in the same Python instance that interpreter
uses, so you can define functions, variables, or log in to services before the AI starts running code.
This also means that you have control over the computer's languages (like Python, Javascript, and Shell) and can easily append custom languages. We have written a guide that shows you how to do this with E2B.
And more...
In addition to these major updates, 0.2.0
comes with a suite of fixes and enhancement from our growing open-source community:
Fixes crash UnboundLocalError active_block by @CyanideByte in #818
Inserts dummy api key if missing by @CyanideByte in #808
return empty dict if config file is empty by @sbendary25 in #811
Add pyautogui mouse click functions and parameters by @Arrendy in #843
Fixed the error when using Azure OpenAI API by @wsbao in #840
Add package mismatches info to system_debug_info by @tegnike in #800
Update keyboard control functions for better input handling by @Arrendy in #845
Fixed another a few bugs in using OpenAI API/Azure OpenAI API/OpenAI compatible custom API by @wsbao in #848
Added new docs for litellm hosted models by @tyfiero in #858
Added refreshed docs for terminal arguments and python streaming responses by @tyfiero in #864
Fixed the case where UnicodeDecodeError by @Moonlight-YS in #863
New Contributors
@sbendary25 made their first contribution in #811
@Moonlight-YS made their first contribution in #863
Full Changelog: v0.1.17...v0.2.0
Note: This update is not backwards compatible. If you use Open Interpreter in Python, please read our migration guide.
This is only the beginning. Happy 2024. ●
Subscribe to future changes
Get notified when we release new features.