OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.78k stars 475 forks source link

Deploy the 01 server via https://redbean.dev/ #107

Open twilwa opened 4 months ago

twilwa commented 4 months ago

Is your feature request related to a problem? Please describe. No, I have yet to use the 01 server.

Describe the solution you'd like However, after reading the mission statement, it seemed prudent to make sure the team was aware of redbean/cosmopolitan/llamafiles, considering the stated goal is to be runnable on any device; this appears to be a relatively simple solution that will provides a POSIX API for Linux + Mac + Windows + FreeBSD + NetBSD + OpenBSD. Presumably an integration would allow for rapid deployment onto nearly every type of PC and embedded device. See the Actually Portable Executable blogpost for more information on compatibility philosophy: https://justine.lol/ape.html

Describe alternatives you've considered Not many so far. It was just a thought I had. Not sponsored or anything, I just think redbean's really cool, lol.

Additional context If you wanted to get really crazy, I also work with https://monk.io on occasion, which provides a cloud-provider agnostic control plane for container orchestration and deployment. If we were to fit monkd and OI onto a redbean binary (not sure on the size of the engineering cost of this one, ofc) then we'd have, what...essentially an LMC node that could be deployed onto any cloud (or multiple clouds at once), on any hardware, by anyone that can manage running a binary file, that can also download/deploy anything that's got a dockerfile? Seems good.

Happy to chip in on this, I'm much less proficient with low-level languages than scripting ones but I'd like to change that. :)

tyfiero commented 3 months ago

This is incredible! First off, we love the work of Justine Tunney, we have llamafile in both 01 and open interpreter.

The idea of a single file server is fascinating, I was not aware of redbean. Would this be able to work with a python repo like this one? If so I think this would be a fantastic idea to explore, to make getting started with 01 as simple as possible

twilwa commented 3 months ago

not entirely certain, but this may be our guy: https://github.com/ahgamut/superconfigure/tree/main/python , it's a little beyond my abilities to say for certain tho

tyfiero commented 3 months ago

Interesting... well I'd love to see even a simple prototype of this if you find the time. The core team is quite busy at the moment to implement this, but that would be so cool to see.

twilwa commented 3 months ago

hard agree, will see if i can set aside some time to play with it :D