HNHacker News
TopNewBestAskShowJobs

mlejva

1,506 karma · joined September 12, 2016

https://x.com/mlejva

https://github.com/e2b-dev/e2b

vasek at e2b.dev

submissionscomments
mlejva··on Show HN: Open-source SDK for creating custom code interpreters with any LLM
Thank you Juraj!
mlejva··on Show HN: Open-source SDK for creating custom code interpreters with any LLM
Hey everyone! I'm the CEO of the company that built this SDK.

We're a company called E2B [0]. We're building and open-source [1] secure environments for running untrusted AI-generated code and AI agents. We call these environments sandboxes and they are built on top of micro VM called Firecracker [2]. We specifically decided to use Firecrackers instead of containers because of their security and ability to do snapshots.

You can think of us as giving small cloud computers to LLMs.

We recently created a dedicated SDK for building custom code interpreters in Python or JS/TS. We saw this need after a lot of our users have been adding code execution capabilities to their AI apps with our core SDK [3]. These use cases were often centered around AI data analysis so code interpreter-like behavior made sense

The way our code interpret SDK works is by spawning an E2B sandbox with Jupyter Server. We then communicate with this Jupyter server through Jupyter Kernel messaging protocol [4]. Here's how we added code interpreter to the new Llama-3 models [5].

We don't do any wrapping around LLM, any prompting, or any agent-like framework. We leave all of that to our users. We're really just a boring code execution layer that sits at the bottom. We're building for the future software that will be building another software.

Our long-term plan is to build an automated AWS for AI apps and agents where AI can build and deploy its own software while giving developers powerful observability into what's happening inside our sandboxes. With everything being open-source.

Happy to answer any questions and hear feedback!

[0] https://e2b.dev/

[1] https://github.com/e2b-dev

[2] https://github.com/firecracker-microvm/firecracker

[3] https://e2b.dev/docs

[4] https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

[5] https://github.com/e2b-dev/e2b-cookbook/blob/main/examples/l...

mlejva··on Show HN: Add AI code interpreter to any LLM via SDK
Hi, I'm the CEO of the company that built this SDK.

We're a company called E2B [0]. We're building and open-source [1] secure environments for running untrusted AI-generated code and AI agents. We call these environments sandboxes and they are built on top of micro VM called Firecracker [2].

You can think of us as giving small cloud computers to LLMs.

We recently created a dedicated SDK for building custom code interpreters in Python or JS/TS. We saw this need after a lot of our users have been adding code execution capabilities to their AI apps with our core SDK [3]. These use cases were often centered around AI data analysis so code interpreter-like behavior made sense

The way our code interpret SDK works is by spawning an E2B sandbox with Jupyter Server. We then communicate with this Jupyter server through Jupyter Kernel messaging protocol [4].

We don't do any wrapping around LLM, any prompting, or any agent-like framework. We leave all of that on users. We're really just a boring code execution layer that sats at the bottom that we're building specifically for the future software that will be building another software. We work with any LLM. Here's how we added code interpreter to Claude [5].

Our long-term plan is to build an automated AWS for AI apps and agents.

Happy to answer any questions and hear feedback!

[0] https://e2b.dev/

[1] https://github.com/e2b-dev

[2] https://github.com/firecracker-microvm/firecracker

[3] https://e2b.dev/docs

[4] https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

[5] https://github.com/e2b-dev/e2b-cookbook/blob/main/examples/c...

mlejva··on Show HN: SDK for building custom code interpreters for any LLM
Hi, I'm one of the authors of this SDK.

We're a company called E2B [0]. We're building and open-source [1] secure environments for running untrusted AI-generated code and AI agents. We call these environments sandboxes and they are built on top of micro VM called Firecracker [2].

You can think of us as giving small cloud computers to LLMs.

We recently created a dedicated SDK for building custom code interpreters in Python or JS/TS. We saw this need after a lot of our users have been adding code execution capabilities to their AI apps with our core SDK [3]. These use cases were often centered around AI data analysis so code interpreter-like behavior made sense

The way our code interpret SDK works is by spawning an E2B sandbox with Jupyter Server. We then communicate with this Jupyter server through Jupyter Kernel messaging protocol [4].

We don't do any wrapping around LLM, any prompting, or any agent-like framework. We leave all of that on users. We're really just a boring code execution layer that sats at the bottom that we're building specifically for the future software that will be building another software. We work with any LLM. Here's how we added code interpreter to Claude [5].

Our long-term plan is to build an automated AWS for AI apps and agents.

Happy to answer any questions and hear feedback!

[0] https://e2b.dev/

[1] https://github.com/e2b-dev

[2] https://github.com/firecracker-microvm/firecracker

[3] https://e2b.dev/docs

[4] https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

[5] https://github.com/e2b-dev/e2b-cookbook/blob/main/examples/c...

mlejva··on Show HN: GritQL, a Rust CLI for rewriting source code
Congrats to the launch!

Managing tech debt is and will be an important issue in the world of AI software. I'm glad there's a company solving this. Additionally, this is something the current generation of LLMs are already helpful at solving. GritQL is very unique way of approaching this problem.

OT: We've been working with Grit and Morgante for the past months and I have only positive things to say about them. If GritQL looks useful to you, you should reach out.

mlejva··on AI Developer working on your repo
> This question is tangential to your product, but I’m curious about where/how you host these?

We are running on GCP at the moment and using Nomad as our orchestration layer.

Our future goal is to move to bare metal as much as possible (I'm especially fan of Oxide https://oxide.computer/)

mlejva··on AI Developer working on your repo
Hey everyone,

I'm the CEO of E2B. We're building a cloud runtime for AI agents. You can use it to build custom code interpreters for example.

We build this demo example with our sandboxes. Our sandboxes are isolated microVMs (Firecrackers) that you can quickly spawn (~1s) and control with our SDK. It's like a playground for AI agents.

We took GPT-4-Turbo, connected it to GitHub, and gave it our cloud sandbox as a playground.

The AI can:

- clone repo

- list, read, and edit files

- make commits and make PRs

You control everything from your terminal. The whole code is open source.

mlejva··on Will OpenAI's GPTs kill AI agents?
Do you think products that are "bring your own LLM" have a chance?
mlejva··on Show HN: Run LLM-generated code in sandboxed envs
Hi,

I'm a co-founder of E2B and we just released a simple way to run LLM-generated code in a sandboxed environments powered by Firecracker microVMs [0].

You essentially just import the `run_code` method, select a runtime and pass the code. We run it and return stdout and stderr. Without worrying about any infra.

A lot of E2B is open-source and we're on a track to open source our whole infra. [1]

[0] - https://github.com/firecracker-microvm [1] - https://github.com/e2b-dev/e2b

mlejva··on Show HN: Cloud for AI Agents and AI Apps
Thanks for the feedback!

You can use to start sandboxed playgrounds where you can run LLM generated code, run headless browsers, let LLMs do data analysis, and more.

mlejva··on Show HN: Cloud Playgrounds for AI Agents and Copilots
Thanks!
mlejva··on Show HN: Cloud Playgrounds for AI Agents and Copilots
Hey HN,

We've been building cloud for AI agents/copilots/AI apps. One of the first products that we're launching are AI Playgrounds. It's essentially a sandboxed VM (Firecracker [0]) where your agent can freely run code, use filesystem, use headless browser, and more. Every playground has also it's own URL. So for example you can have your agent start a webapp, let the agent work on it inside the playground, and because the playground has URL, the user can see all of the changes.

We've seen that it's especially useful for coding copilots and agents. They can easily run linters, formatters, or debug code and feed all this information back to LLM to make the next iteration better. Our short-term goal is to offer coding agents/copilots all of the tooling that human developers get in their coding editors. And have all of this happen in a secure sandboxed environment that people will eventually be able to self-host it.

You don't need to manage any infrastructure. You just call a single line of code with our SDK and we spin up a cloud playground in a few hundred ms for your AI app.

We have parts of our product open source here https://github.com/e2b-dev and are thinking of actually open-sourcing the whole infrastructure and make it really easy to 1-click deploy for anyone. One of the reasons we haven't done that is how much tooling we had to build on top Firecrackers and how much specialized environment they need. Which makes it a bit of challenge to offer great DX.

Happy to answer more questions!

[0] https://github.com/firecracker-microvm/firecracker

mlejva··on Show HN: Axilla – Open-source TypeScript framework for LLM apps
Thank you Will :)
mlejva··on Show HN: Axilla – Open-source TypeScript framework for LLM apps
Thanks! Just sent you an email (vasek@e2b.dev)
mlejva··on Show HN: Axilla – Open-source TypeScript framework for LLM apps
Hey Nick and Ben, congrats to launch! I really like that you're going in the TS way by default. I personally think there will me more AI Engineers (devs building LLM apps/agents) working in TS than in Python.

I wanted to ask if you accept PRs for integrations?

I'm a co-founder of E2B [0]. We give private sandboxed cloud envs to any agent. We're building two things:

- [1] Agent Protocol - it's an open protocol that defines how to communicate with an agent. The current goal is to make benchmarking agents simple (it's used for example by folks at AutoGPT and other popular agents)

- [2] SDK that gives your agent a cloud environment (currently in early access)

Would love to figure out how to integrate these to into Axilla if it makes sense to you. What would be the best way to connect?

[0] https://e2b.dev/

[1] https://github.com/e2b-dev/agent-protocol

[2] https://github.com/e2b-dev/rest-api We built for example our ChatGPT plugin with it https://github.com/e2b-dev/chatgpt-plugin

mlejva··on Show HN: Code Interpreter on Steroids
Hey folks,

We built a ChatGPT plugin that gives your ChatGPT instance access to a full cloud environment that's sandboxed. That means: - Access to Linux OS

- Using filesystem (create, list, and delete files and dirs)

- Run processes

- Sandboxed - you can run any code

- Access to the internet

Check out a demo where ChatGPT writes Nodejs code that scrapes GitHub [1]

These cloud instances are meant to be used for AI agents. Like a sandboxed playgrounds, where the agent can do whatever it wants.

The plugin is open source (not the infra where the cloud envs are running though) but isn't in the store yet so you need to have a dev access to ChatGPT plugins.

Happy to answer any questions!

[1] https://www.youtube.com/watch?v=kJuJnsatU2s?utm_source=githu...

mlejva··on Chidori – Declarative framework for AI agents (Rust, Python, and Node.js)
Hey, CEO of e2b here (the ones currently pushing the protocol). Congrats to the launch of Chidori! Great work!

> I do feel that long term there might be a common interface for agent <-> agent or user <-> agent communication. Definitely! We're just starting really small so we don't build the wrong thing and abstraction.

We'd would love to hear your thoughts and feedback on the direction of the protocol. And how the protocol could help Chidori and your users. Essentially, how we can get it to more agent devs and make it useful for them.

Would you be up for a chat? I'm @mlejva on Twitter

mlejva··on Show HN: Personal AI Developer Connected to GitHub
sorry about that, we're currently hitting the limits of our OpenAI quotas
mlejva··on A list of popular AI agents
Hey folks, OP here.

We've been exploring the space of AI agents and as part of our research we've made a list of both open source and closed source AI agents.

We've tried to include mostly just agents but the lines sometimes get blurry as it's hard to sometimes distinguish agents from SDK.

At the moment, a lot of these agents are still in the "toys" stage but we think the future looks very promising. Especially some of these agents are already pretty helpful.

Curious to hear what has been yours experience with agents?

mlejva··on Show HN: We are building an open-source IDE powered by AI
No it's not. Even the UX is different from copilot.
mlejva··on Show HN: We are building an open-source IDE powered by AI
Thank you for the kind words:)
mlejva··on Show HN: We are building an open-source IDE powered by AI
Yes. That’s one of the goals with e2b
mlejva··on Show HN: We are building an open-source IDE powered by AI
Thanks for the questions. I’ll reply just a bit later. I’m in a train and reading/writing makes my stomach sick
mlejva··on Show HN: We are building an open-source IDE powered by AI
e2b isn't like copilot. You don't really write code in our "IDE". Currently, it works in a way that you write a technical spec and then collaborate with an AI agent that builds the software for you. It's more like having a virtual developer available for you.
mlejva··on Show HN: We are building an open-source IDE powered by AI
I don't think the integration with vscode would work well here. We're ditching a lot of existing workflows for a completely new interaction between the developer and the agent. It's not like copilot at all. E2b is more like having a virtual developer at your disposal 24/7. You write a technical spec and e2b codes builds the app for you
mlejva··on Show HN: We are building an open-source IDE powered by AI
Would love to learn more about what you're building! Do you have anything to share?
mlejva··on Show HN: We are building an open-source IDE powered by AI
Hey! Thanks for the question.

Our editor isn't a regular coding editor. You don't actually write code with e2b. You write technical specs and then collaborate with an AI agent. Imagine it more like having a virtual developer at your disposal 24/7. It's built on a completely new paradigms enabled by LLMs. This enables to unlock a lot of new use cases and features but at the same time there's a lot that needs to be built.

mlejva··on Show HN: We are building an open-source IDE powered by AI
Good point and feedback, thank you. We'll update readme.

A lot of UX, UI, DX work related to LLMs is completely new. We ourselves have a lot of new realizations.

> While you mention that you can bring your own model, prompt, etc, the current main use case seems to be integrating with OpenAI

You're right. This is because we started with OpenAI and to be fair it's easiest to use from the DX point of view. We want to make it more open very soon. We probably need more user feedback to learn what would be the best way how this integration should look like.

> How, if at all, do you plan to address the current shortcoming that the code generated by it often doesn't work at all without numerous revisions?

The AI agents work in a self-repairing loop. For example they write code, get back type errors or a stack trace and then try to fix the code. This works pretty well and often a bigger problem is short context window.

We don't think this will replace developers, rather we need to figure out the right feedback loop between the developer and these AI agents. So we expect that developers most likely will edit some code.

mlejva··on Show HN: We are building an open-source IDE powered by AI
Hey, thank you for the feedback. I understand that having a requirement for OpenAI key isn’t good for folks. The project is 4 weeks old and OpenAI is what we started with as a LLM. We want to create interface for people to bring and connect their own models though. We will do a better work of explaining this in our readme
mlejva··on Show HN: We are building an open-source IDE powered by AI
Hey everyone, I quite frankly really didn't expect our project getting on HN front page in 2 minutes after posting. I'm one of the creators of this project.

It's pretty nascent and a lot of work needs to be done so bear with us please. I'm traveling in 30 minutes but I'm happy to answer your questions.

A little about my co-founder and myself: We've been building devtools for years now. We're really passionate about the field. The most recent thing we built is https://usedevbook.com. The goal was to build a simple framework/UI for companies to demo their APIs. Something like https://gradio.app but for API companies. It's been used for example by Prisma - we helped them build their playground with it - https://playground.prisma.io/

Our new project - e2b - is using some of the technology we built for Devbook in the past. Specifically the secure sandbox environments where the AI agents run are our custom Firecracker VMs that we run on Nomad.

If you want to follow the progress you can do follow the repo on GH or you can follow my co-founder, me, and the project on Twitter:

- https://twitter.com/e2b_dev

- https://twitter.com/t_valenta

- https://twitter.com/mlejva

And we have a community Discord server - https://discord.gg/U7KEcGErtQ

← PreviousPage 2 of 6Next →