Hacker News new | ask | show | jobs
by killianlucas 1029 days ago
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) 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

2 comments

Congrats. Is there any way to provide feedback for LLM? Is there any way to ask for approval before code execution?
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).

Killian, you're killin it!