{"author":"transpute","children":[{"author":"peddling-brink","children":[{"author":"abrichr","children":[{"author":"marshray","children":[{"author":"behnamoh","children":[{"author":"arthurcolle","children":[],"created_at":"2023-11-13T01:22:33.000Z","created_at_i":1699838553,"id":38245857,"options":[],"parent_id":38245345,"points":null,"story_id":38242343,"text":"This, but unironically...","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:45:28.000Z","created_at_i":1699832728,"id":38245345,"options":[],"parent_id":38245023,"points":null,"story_id":38242343,"text":"You\u2019d need another LLM to check the code before running! LLM squared","title":null,"type":"comment","url":null},{"author":"TeMPOraL","children":[{"author":"godelski","children":[],"created_at":"2023-11-13T02:48:08.000Z","created_at_i":1699843688,"id":38246325,"options":[],"parent_id":38245642,"points":null,"story_id":38242343,"text":"&gt; it&#x27;s clearly not smart enough to be dangerous.<p>The two most dangerous types of programmers are experts and novices.<p>I think you&#x27;re forgetting the latter. It&#x27;s the reason there&#x27;s so many &quot;how to exit vim&quot; jokes and why every linux noob (that actually gets into linux and not just &quot;oh, I installed ubuntu and only use the GUI) deletes shit they needed and learn the importance of backup the hard way. Hell, even being on systems like this for over a decade and knowing them really well I sometimes make mistakes. I have a bunch of aliases and routines literally to prevent accidents.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T00:40:14.000Z","created_at_i":1699836014,"id":38245642,"options":[],"parent_id":38245023,"points":null,"story_id":38242343,"text":"You&#x27;re probably fine with code generated from direct use of GPT-4 - it&#x27;s clearly not smart enough to be dangerous. But it&#x27;s not going to be the case in the future, so best not get into the habit.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:02:43.000Z","created_at_i":1699830163,"id":38245023,"options":[],"parent_id":38244946,"points":null,"story_id":38242343,"text":"I don&#x27;t know about you, but my malicious code detector isn&#x27;t anywhere close to 100%.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T22:52:29.000Z","created_at_i":1699829549,"id":38244946,"options":[],"parent_id":38244933,"points":null,"story_id":38242343,"text":"&gt;  Note: You&#x27;ll be asked to approve code before it&#x27;s run.","title":null,"type":"comment","url":null},{"author":"drexlspivey","children":[],"created_at":"2023-11-13T00:32:20.000Z","created_at_i":1699835540,"id":38245598,"options":[],"parent_id":38244933,"points":null,"story_id":38242343,"text":"You can run it in a container","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T22:50:10.000Z","created_at_i":1699829410,"id":38244933,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"&gt; Let language models run code on your computer.<p>No, I don\u2019t think I will.<p>For anything remotely complex, even gpt-4 hallucinates libraries and commands.","title":null,"type":"comment","url":null},{"author":"m_a_g","children":[{"author":"panarky","children":[{"author":"arthurcolle","children":[],"created_at":"2023-11-13T01:23:21.000Z","created_at_i":1699838601,"id":38245863,"options":[],"parent_id":38245842,"points":null,"story_id":38242343,"text":"&quot;Here, read the current directory. See that app.py? Yeah, that&#x27;s you. The sqlite is in the parent directory. I gave you 16 tools. Go forth!&quot;","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:19:18.000Z","created_at_i":1699838358,"id":38245842,"options":[],"parent_id":38244969,"points":null,"story_id":38242343,"text":"Next logical step: make it recursively self-improve.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T22:56:29.000Z","created_at_i":1699829789,"id":38244969,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"Yeah, this is how ASI will get us.","title":null,"type":"comment","url":null},{"author":"up6w6","children":[{"author":"ricklamers","children":[{"author":"aalimov_","children":[],"created_at":"2023-11-13T06:12:32.000Z","created_at_i":1699855952,"id":38247493,"options":[],"parent_id":38245163,"points":null,"story_id":38242343,"text":"Got a laugh out of the portion of the demo video that had \u201cshai do something crazy\u201d","title":null,"type":"comment","url":null},{"author":"aalimov_","children":[{"author":"ricklamers","children":[],"created_at":"2023-11-17T10:14:31.000Z","created_at_i":1700216071,"id":38301609,"options":[],"parent_id":38296318,"points":null,"story_id":38242343,"text":"Thanks! Appreciate it","title":null,"type":"comment","url":null}],"created_at":"2023-11-16T22:11:44.000Z","created_at_i":1700172704,"id":38296318,"options":[],"parent_id":38245163,"points":null,"story_id":38242343,"text":"Coming back to say - thank you and awesome work!","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:20:41.000Z","created_at_i":1699831241,"id":38245163,"options":[],"parent_id":38244992,"points":null,"story_id":38242343,"text":"I wrote a similar thing for myself: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;ricklamers&#x2F;shell-ai\">https:&#x2F;&#x2F;github.com&#x2F;ricklamers&#x2F;shell-ai</a><p>It currently has 882 stars and I think a few people at least are enjoying using it.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T22:59:20.000Z","created_at_i":1699829960,"id":38244992,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"For shell commands, there is a tool from Github that does it quite well (and it&#x27;s included on the copilot plan)[1].<p>It&#x27;s perfect to run fast bash commands that I forgot but are simple enough that the first Google search result would solve it anyways.<p>[1] <a href=\"https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@githubnext&#x2F;github-copilot-cli\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@githubnext&#x2F;github-copilot-cli</a>","title":null,"type":"comment","url":null},{"author":"haolez","children":[{"author":"ragona","children":[{"author":"gumballindie","children":[{"author":"milkshakes","children":[{"author":"jerpint","children":[{"author":"milkshakes","children":[{"author":"passwordoops","children":[{"author":"sebastiennight","children":[{"author":"passwordoops","children":[{"author":"sebastiennight","children":[],"created_at":"2023-11-13T14:35:34.000Z","created_at_i":1699886134,"id":38250532,"options":[],"parent_id":38249799,"points":null,"story_id":38242343,"text":"Well I&#x27;m saying the prompt is leaked.<p>But that&#x27;s not the biggest issue in most cases.<p>Prompt: &quot;I have a file of 315 customers with their IP, behavior, religious affiliation and previous purchases plus medical history. I want to figure out if I have any customers whose religious affiliation pre-dates a post-surgery stay in hospital.&quot;<p>Data: a huge CSV file which, as you can tell, contains incredibly sensitive&#x2F;legally impactful information.<p>With this system, you send the prompt to GPT-4 or Claude, and it doesn&#x27;t see your data at all. It just writes a python program that can do the analysis.<p>You run the program locally on C:&#x2F;Users&#x2F;passwordoops&#x2F;SuperSensitiveData&#x2F;Confidential.csv<p>You get the result.<p>OpenAI has never seen your data.<p>It&#x27;s a win for confidentiality.<p>(of course, that&#x27;s if the LLM didn&#x27;t give you a program that would exfiltrate your prompt, and if the CSV contains no prompt injection to exfiltrate the data, etc. This system is a security nightmare.)","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T13:20:02.000Z","created_at_i":1699881602,"id":38249799,"options":[],"parent_id":38245918,"points":null,"story_id":38242343,"text":"Probably splitting hairs and I&#x27;m not arguing one way or another, just wondering - why isn&#x27;t the prompt itself considered leaked data?","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:36:27.000Z","created_at_i":1699839387,"id":38245918,"options":[],"parent_id":38245810,"points":null,"story_id":38242343,"text":"It is OpenAI&#x27;s model (although you can switch to another LLM). It&#x27;s just that your data and the actual run environment for the code you got from the ChatGPT API, runs locally.<p>So AFAICT your prompt is still &quot;leaked&quot; to OpenAI, but not your data.","title":null,"type":"comment","url":null},{"author":"codetrotter","children":[],"created_at":"2023-11-13T01:37:54.000Z","created_at_i":1699839474,"id":38245926,"options":[],"parent_id":38245810,"points":null,"story_id":38242343,"text":"The readme in the linked repository explains what they mean:<p>&gt; An open-source, locally running implementation of OpenAI&#x27;s Code Interpreter.<p>&gt; [\u2026]<p>&gt; Open Interpreter lets LLMs run code (Python, Javascript, Shell, and more) locally. You can chat with Open Interpreter through a ChatGPT-like interface in your terminal by running $ interpreter after installing.<p>&gt; [\u2026]<p>&gt; Comparison to ChatGPT&#x27;s Code Interpreter<p>&gt; OpenAI&#x27;s release of Code Interpreter with GPT-4 presents a fantastic opportunity to accomplish real-world tasks with ChatGPT.<p>&gt; However, OpenAI&#x27;s service is hosted, closed-source, and heavily restricted:<p>&gt; - No internet access.<p>&gt; - Limited set of pre-installed packages.<p>&gt; - 100 MB maximum upload, 120.0 second runtime limit.<p>&gt; - State is cleared (along with any generated files or links) when the environment dies.<p>&gt; Open Interpreter overcomes these limitations by running in your local environment. It has full access to the internet, isn&#x27;t restricted by time or file size, and can utilize any package or library.<p>&gt; This combines the power of GPT-4&#x27;s Code Interpreter with the flexibility of your local development environment.<p>&gt; [\u2026]<p>&gt; Change your Language Model<p>&gt; Open Interpreter uses LiteLLM to connect to hosted language models.<p>&gt; You can change the model by setting the model parameter<p>&gt; [\u2026]<p>&gt; Running Open Interpreter locally<p>&gt; Open Interpreter uses LM Studio to connect to local language models (experimental).<p>&gt; Simply run interpreter in local mode from the command line","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:13:31.000Z","created_at_i":1699838011,"id":38245810,"options":[],"parent_id":38245544,"points":null,"story_id":38242343,"text":"It might not, but the post has &quot;OpenAI&#x27;s Code Interpreter&quot; in the title","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T00:20:25.000Z","created_at_i":1699834825,"id":38245544,"options":[],"parent_id":38245522,"points":null,"story_id":38242343,"text":"openai does not have a monopoly on large language models","title":null,"type":"comment","url":null},{"author":"eightysixfour","children":[],"created_at":"2023-11-13T01:32:46.000Z","created_at_i":1699839166,"id":38245900,"options":[],"parent_id":38245522,"points":null,"story_id":38242343,"text":"This lets you use OpenAI\u2019s models or local LLMs.<p>The API is governed by a different policy than ChatGPT and won\u2019t be used for training data.","title":null,"type":"comment","url":null},{"author":"elif","children":[],"created_at":"2023-11-13T03:38:52.000Z","created_at_i":1699846732,"id":38246608,"options":[],"parent_id":38245522,"points":null,"story_id":38242343,"text":"The original post clearly states that you may use any number of models, even a local LLM it tells you how to run using a simple CLI flag.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T00:16:03.000Z","created_at_i":1699834563,"id":38245522,"options":[],"parent_id":38245452,"points":null,"story_id":38242343,"text":"I doubt this to be true openAI does not allow you to download models (with few exceptions)","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T00:04:19.000Z","created_at_i":1699833859,"id":38245452,"options":[],"parent_id":38245394,"points":null,"story_id":38242343,"text":"actually, this post is about a local replacement for code interpreter. the point is for you to not have to upload anything, but for you to download the model and run it locally on your computer.","title":null,"type":"comment","url":null},{"author":"dwaltrip","children":[{"author":"gumballindie","children":[],"created_at":"2023-11-13T10:59:16.000Z","created_at_i":1699873156,"id":38248942,"options":[],"parent_id":38245616,"points":null,"story_id":38242343,"text":"Op wrote &quot;uploading a dataset and having it play with it.&quot;, not that they would use it locally.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T00:35:55.000Z","created_at_i":1699835755,"id":38245616,"options":[],"parent_id":38245394,"points":null,"story_id":38242343,"text":"Need to think twice before using any tool that isn\u2019t running locally. OpenAI isn\u2019t unique here.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:53:45.000Z","created_at_i":1699833225,"id":38245394,"options":[],"parent_id":38245337,"points":null,"story_id":38242343,"text":"Cool stuff. You can upload sensitive customer data, employer proprietary code. Sounds good to me.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:44:11.000Z","created_at_i":1699832651,"id":38245337,"options":[],"parent_id":38245277,"points":null,"story_id":38242343,"text":"It\u2019s handy for uploading a dataset and having it play with it.","title":null,"type":"comment","url":null},{"author":"adeelk93","children":[{"author":"bugglebeetle","children":[],"created_at":"2023-11-13T01:40:01.000Z","created_at_i":1699839601,"id":38245942,"options":[],"parent_id":38245353,"points":null,"story_id":38242343,"text":"I\u2019ve not found this to be a beneficial feature. Aside from being prone to erroring out, it tends to write code that will run, but is not very well-organized. You then have to revise. In the standard UI, I can include instructions to structure everything as functions or classes, alongside whatever other constraints, review and provide feedback, until it\u2019s actually correct. This also almost runs for me on the first try.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:46:59.000Z","created_at_i":1699832819,"id":38245353,"options":[],"parent_id":38245277,"points":null,"story_id":38242343,"text":"Everybody knows GPT hallucinates - so occasionally it suggests code, you try it, and discover the functions or arguments it\u2019s suggesting don\u2019t exist.<p>Code interpreter takes you out of that loop - GPT can find and fix its own mistakes.","title":null,"type":"comment","url":null},{"author":"sebastiennight","children":[{"author":"panarky","children":[],"created_at":"2023-11-13T01:17:05.000Z","created_at_i":1699838225,"id":38245829,"options":[],"parent_id":38245746,"points":null,"story_id":38242343,"text":"GPT4 knows it sucks at math, but it&#x27;s awesome at writing simple code, so it answers math problems by writing and executing simple scripts.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:00:48.000Z","created_at_i":1699837248,"id":38245746,"options":[],"parent_id":38245277,"points":null,"story_id":38242343,"text":"Let&#x27;s say you have a complex question that requires some math or difficult logic to solve.<p>The idea of Code Interpreter is that ChatGPT, instead of inventing&#x2F;hallucinating the answer to your complex question, can write code to solve it.<p>ChatGPT is better at writing code that matches the logic of the problem, than it is at coming up with a straight-up reply.<p>So it comes up with the code, it runs it with Code Interpreter, and then reads the answer out loud to you.","title":null,"type":"comment","url":null},{"author":"Racing0461","children":[],"created_at":"2023-11-13T01:05:19.000Z","created_at_i":1699837519,"id":38245765,"options":[],"parent_id":38245277,"points":null,"story_id":38242343,"text":"chatgpt is bad at math.","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T23:37:15.000Z","created_at_i":1699832235,"id":38245277,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"What&#x27;s so useful about Code Interpreter? I&#x27;m getting a lot of value from normal Chat questions and DALL-E. I&#x27;m also using the chat interface to generate code sometimes. But I don&#x27;t see much point in the chat bot itself running the code for me without my environment, credentials, data, etc.<p>Am I missing an interesting use case here?","title":null,"type":"comment","url":null},{"author":"slowhadoken","children":[{"author":"sebastiennight","children":[{"author":"slowhadoken","children":[],"created_at":"2023-11-14T20:25:04.000Z","created_at_i":1699993504,"id":38269207,"options":[],"parent_id":38245761,"points":null,"story_id":38242343,"text":"Why do they call their company \u201cOpenAI\u201d then? I mean what\u2019s open about it?","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:04:33.000Z","created_at_i":1699837473,"id":38245761,"options":[],"parent_id":38245618,"points":null,"story_id":38242343,"text":"No... this library calls gpt (or claude, or another hosted LLM) and asks it to write the code.<p>The code is then retrieved to your computer and run locally.<p>This way you can run the code on local files or give it access to the internet. Basically, this is Code Interpreter with none of the security features.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T00:36:18.000Z","created_at_i":1699835778,"id":38245618,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"Im confused. Is OpenAI open source?","title":null,"type":"comment","url":null},{"author":"robbintt","children":[],"created_at":"2023-11-13T00:45:25.000Z","created_at_i":1699836325,"id":38245672,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"Why doesn&#x27;t it mention the lmstudio dependency in the local docs here <a href=\"https:&#x2F;&#x2F;docs.openinterpreter.com&#x2F;language-model-setup&#x2F;local-models&#x2F;getting-models\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;docs.openinterpreter.com&#x2F;language-model-setup&#x2F;local-...</a>?<p>And the linux build must be requested from discord: <a href=\"https:&#x2F;&#x2F;lmstudio.ai&#x2F;\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;lmstudio.ai&#x2F;</a>","title":null,"type":"comment","url":null},{"author":"sebastiennight","children":[{"author":"molticrystal","children":[{"author":"arthurcolle","children":[],"created_at":"2023-11-13T01:17:08.000Z","created_at_i":1699838228,"id":38245831,"options":[],"parent_id":38245817,"points":null,"story_id":38242343,"text":"unless you set the flag that lets it execute the code it gets","title":null,"type":"comment","url":null},{"author":"sebastiennight","children":[{"author":"skybrian","children":[{"author":"sebastiennight","children":[{"author":"skybrian","children":[],"created_at":"2023-11-13T17:07:55.000Z","created_at_i":1699895275,"id":38252444,"options":[],"parent_id":38249674,"points":null,"story_id":38242343,"text":"Yes, it could have security holes and it all needs to be reviewed. At scale, a lot of mistakes could pass code review.<p>But people make mistakes, too. The code that people write themselves or copy from Stack Overflow will have lots of bugs at scale.<p>For the individual programmer who knows what they&#x27;re doing and uses it responsibly, it&#x27;s unclear that the risks are any higher than writing code on your own.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T13:05:54.000Z","created_at_i":1699880754,"id":38249674,"options":[],"parent_id":38247512,"points":null,"story_id":38242343,"text":"I have. And I have already identified that it can generate, unwittingly, code or string values that break things or cause code injection if you don&#x27;t treat its outputs as &quot;untrustworthy&quot; and just run them as SQL&#x2F;insert to DB&#x2F;display to user.<p>Also, it is very likely that a further GPT model might behave, with non-malicious prompt, like a malicious actor, simply because such an fairly-unlikely event is almost guaranteed at the kinds of scales we are talking (100MM weekly active users is a lot of rolls of the dice).","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T06:16:55.000Z","created_at_i":1699856215,"id":38247512,"options":[],"parent_id":38245908,"points":null,"story_id":38242343,"text":"I think maybe you haven\u2019t played around with ChatGPT very much? Generating malicious code is possible, but unlikely unless you\u2019re prompting for it.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:34:15.000Z","created_at_i":1699839255,"id":38245908,"options":[],"parent_id":38245817,"points":null,"story_id":38242343,"text":"That&#x27;s security theater though.<p>It will protect you against an &quot;honest mistake&quot; like if you asked for code to delete all files with an &quot;x&quot; in the name and the command is deleting all files with a star &quot;*&quot; and you catch that. Great.<p>It will not protect you against actual malicious code. LLM inputs should be treated with the same caution and suspicion as unregistered-user inputs submitted over Tor.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:15:22.000Z","created_at_i":1699838122,"id":38245817,"options":[],"parent_id":38245755,"points":null,"story_id":38242343,"text":"The safeguard is your diligence before approving its actions:<p><pre><code>    Open Interpreter will ask for user confirmation before executing code.</code></pre>","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:03:08.000Z","created_at_i":1699837388,"id":38245755,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"Wait... so this is basically every sci-fi movie&#x27;s nightmare scenario.<p>Cool idea on paper and there was no way people wouldn&#x27;t do it.<p>Security-wise though, this seems like a pretty epically catastrophe-prone concept.","title":null,"type":"comment","url":null},{"author":"rahimnathwani","children":[{"author":"arthurcolle","children":[{"author":"swyx","children":[{"author":"qup","children":[],"created_at":"2023-11-13T04:29:06.000Z","created_at_i":1699849746,"id":38246916,"options":[],"parent_id":38246606,"points":null,"story_id":38242343,"text":"did you try watching the demo video?","title":null,"type":"comment","url":null},{"author":"arthurcolle","children":[],"created_at":"2023-11-13T05:18:00.000Z","created_at_i":1699852680,"id":38247217,"options":[],"parent_id":38246606,"points":null,"story_id":38242343,"text":"The rest of the owl is all of computer interaction, as a human that usually has to do the whole interaction themselves","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T03:38:39.000Z","created_at_i":1699846719,"id":38246606,"options":[],"parent_id":38246155,"points":null,"story_id":38242343,"text":"changing backgrounds, cool\u2026 what else that is useful?<p>for those of us too unimaginative to draw the rest of the owl","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T02:20:17.000Z","created_at_i":1699842017,"id":38246155,"options":[],"parent_id":38246039,"points":null,"story_id":38242343,"text":"Open Interpreter had one of the first working implementations of a very good way to interact with your computer just by typing prompts. Their canonical example was changing your desktop background, which, while a simple example, is a cool demonstration of something that previously was hiding behind AppleScript incantations...","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T01:58:24.000Z","created_at_i":1699840704,"id":38246039,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"How is this different from using OpenAI&#x27;s Function Calling API: <a href=\"https:&#x2F;&#x2F;platform.openai.com&#x2F;docs&#x2F;guides&#x2F;function-calling\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;platform.openai.com&#x2F;docs&#x2F;guides&#x2F;function-calling</a><p>... and running exec() on the resulting code?","title":null,"type":"comment","url":null},{"author":"chazeon","children":[],"created_at":"2023-11-13T02:20:56.000Z","created_at_i":1699842056,"id":38246162,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"Feels like very dangerous, if I ask it to delete my home folder I guess it will delete it right away","title":null,"type":"comment","url":null},{"author":"godelski","children":[],"created_at":"2023-11-13T02:48:39.000Z","created_at_i":1699843719,"id":38246330,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"This looks like a great way to brick your machine. I&#x27;m not sure how everyone gets high quality code from GPT, but I can&#x27;t get 3.5, 4, Falcon, LLaMA, or whatever to even do things like make ridge plots. Maybe I suck at prompting, but even assuming that&#x27;s true doesn&#x27;t mean this doesn&#x27;t have a good chance of bricking your machine. I hope people properly sandbox this, but the first thing in the demo is switching the UI to dark mode, so I&#x27;m assuming people aren&#x27;t going to do that.","title":null,"type":"comment","url":null},{"author":"upghost","children":[],"created_at":"2023-11-13T03:36:20.000Z","created_at_i":1699846580,"id":38246592,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"Wow, ok, bring on the downvotes, cause I&#x27;ve got plenty of nice stuff to say about Open Interpreter.  I came on here to voice some criticisms but since everyone else is already on that bandwagon, I&#x27;m switching teams!<p>I had a great experience with Open-Interpreter.  Watching it work with GPT-4 as LLM vendor is nothing short of magical. In fact it was the closest thing I&#x27;ve ever seen to pure science fiction in my lifetime, esp since I hooked it up to a microphone and I was controlling it with voice.  &quot;Computer, bring up Hacker News. Summarize.  Make it so.&quot;.<p>And it WORKS.  Good times!  That is a trivial exercise for GPT-4!<p>No, it&#x27;s not going to brick your computer.  You should know by now that GPT-4 is so well aligned at this point that it&#x27;s yawn inducingly boring.<p>Before Autogen, before LlamaIndex, before LangChain, etc, Open Interpreter was the first thing to convince me that LLMs had a use beyond mere novelty -- that they could be the engine for useful agentic software robotics. Up until that point it was all theory, I had never <i>seen</i> it.<p>In fact, the paranoia that it could brick your system or extract information from your machine requires you to concede that it could <i>generate and run code</i>.  Which it can -- except it in fact tries to be helpful.  If you tell it to brick your computer, I doubt it would even comply.<p>My criticism comes not from Open-Interpreter but from the fact that there are many products like this that <i>only</i> work with GPT-4, and that&#x27;s a shame.<p>But it was extremely inspiring to, rather than sit around and complain about it, get to work building some models and systems that can actually be used to do useful stuff and deliver on the automation promised, and it has become a sustainable small business model for me.  So, thank you killianlucas, for inspiring me and making me a lot of money.<p>So put that in your pipe and downvote it.","title":null,"type":"comment","url":null},{"author":"simonw","children":[{"author":"ebalit","children":[],"created_at":"2023-11-13T21:23:44.000Z","created_at_i":1699910624,"id":38255602,"options":[],"parent_id":38246804,"points":null,"story_id":38242343,"text":"I&#x27;ve built exactly this as an experiment (code interpreter with pyodide sandbox). Should probably tidy it up to open-source it.","title":null,"type":"comment","url":null}],"created_at":"2023-11-13T04:12:37.000Z","created_at_i":1699848757,"id":38246804,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"I am so looking forward to someone releasing a version of this that runs code in a proper sandbox.<p>One easier option which would likely work: run Python code entirely inside a WebAssembly sandbox directly in the browser using Pyodide. <a href=\"https:&#x2F;&#x2F;pyodide.org&#x2F;\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;pyodide.org&#x2F;</a><p>Anyone seen an attempt at that yet?","title":null,"type":"comment","url":null},{"author":"skybrian","children":[],"created_at":"2023-11-13T06:11:02.000Z","created_at_i":1699855862,"id":38247488,"options":[],"parent_id":38242343,"points":null,"story_id":38242343,"text":"If you\u2019d rather run code in a Jupyter notebook, I wrote a VS Code plugin for that:<p><a href=\"https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=skybrian.bot-typist\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=skybrian...</a>","title":null,"type":"comment","url":null}],"created_at":"2023-11-12T17:41:03.000Z","created_at_i":1699810863,"id":38242343,"options":[],"parent_id":null,"points":117,"story_id":38242343,"text":null,"title":"Open-interpreter: OpenAI's Code Interpreter in your terminal, running locally","type":"story","url":"https://github.com/KillianLucas/open-interpreter"}
