News for hackers. Stuff that matters.
Re:Show HN: Open Interpreter - Ask CodeLlama to write and ru... by killianlucas on Tuesday August 29, 2023 @08:41PM (#37316164)
Hey HN! Over the summer I built Open Interpreter, a CLI that lets you ask Code-Llama to write and run code.

It executes multiple languages (Python, Shell, HTML+CSS, Node JS, R soon) then sends the output back to the language model.

It’s essentially an open-source, local implementation of OpenAI’s Code Interpreter, but without limits on file-size, runtime timeouts, or web access.

Everything is streamed beautifully to your terminal and rendered with Markdown and syntax highlighting.

Try it out and let me know what you tried!

- Killian

Re:Show HN: Open Interpreter - Ask CodeLlama to write and ru... by pplonski86 on Wednesday August 30, 2023 @12:59PM (#37325160)
Congrats. Is there any way to provide feedback for LLM? Is there any way to ask for approval before code execution?
Re:Show HN: Open Interpreter - Ask CodeLlama to write and ru... by killianlucas on Wednesday August 30, 2023 @02:48PM (#37326995)
Yes, you can iterate on the code being written by asking for changes— very much like ChatGPT. If it starts writing code you don't want, you can hit CTRL-C to stop generating, and give it your feedback right away.

And yes, `$: interpreter` runs in confirmation mode by default. You'll need to approve every block of code before it's run (bypass this with the `-y` flag).

Re:Show HN: Open Interpreter - Ask CodeLlama to write and ru... by jawerty on Thursday August 31, 2023 @11:02AM (#37338262)
Killian, you're killin it!