{"id":13494667,"url":"https://github.com/e2b-dev/llm-code-interpreter","last_synced_at":"2025-04-05T01:08:30.179Z","repository":{"id":184676614,"uuid":"672267531","full_name":"e2b-dev/llm-code-interpreter","owner":"e2b-dev","description":"[DEPRECATED] Powered by AI Playgrounds by E2B. Code interpreter on steroids for ChatGPT. Run any language, any terminal process, use filesystem freely. All with access to the internet.","archived":false,"fork":false,"pushed_at":"2024-04-28T14:47:00.000Z","size":929,"stargazers_count":469,"open_issues_count":5,"forks_count":44,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-05-21T12:48:34.061Z","etag":null,"topics":["ai","api","chatgpt","chatgpt-api","chatgpt-plugin","code","code-execution","code-interpreter","development","gpt-3","gpt-3-5-turbo","gpt-4","javascript","llm","nodejs","openai","openapi","plugins","rest","typescript"],"latest_commit_sha":null,"homepage":"https://e2b.dev/docs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e2b-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T13:43:36.000Z","updated_at":"2024-06-04T13:14:41.099Z","dependencies_parsed_at":"2024-04-28T15:50:04.439Z","dependency_job_id":null,"html_url":"https://github.com/e2b-dev/llm-code-interpreter","commit_stats":null,"previous_names":["e2b-dev/chatgpt-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e2b-dev%2Fllm-code-interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e2b-dev%2Fllm-code-interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e2b-dev%2Fllm-code-interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e2b-dev%2Fllm-code-interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e2b-dev","download_url":"https://codeload.github.com/e2b-dev/llm-code-interpreter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271532,"owners_count":20911587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","api","chatgpt","chatgpt-api","chatgpt-plugin","code","code-execution","code-interpreter","development","gpt-3","gpt-3-5-turbo","gpt-4","javascript","llm","nodejs","openai","openapi","plugins","rest","typescript"],"created_at":"2024-07-31T19:01:27.027Z","updated_at":"2025-04-05T01:08:30.159Z","avatar_url":"https://github.com/e2b-dev.png","language":"TypeScript","readme":"\n  \u003ch1 align=\"center\"\u003eDEPRECATED - visit \u003ca href=\"https://github.com/e2b-dev/code-interpreter\"\u003eCode Interpreter SDK\u003c/a\u003e instead\u003c/h1\u003e\n  \t\u003ch3 align=\"center\"\u003eCode Interpreter on steroids for ChatGPT (by e2b)\u003c/h3\u003e\n\t\u003cp align=\"center\"\u003e\n\t\t\u003ca href=\"https://discord.gg/U7KEcGErtQ\" target=\"_blank\"\u003e\n\t\t\t\u003cimg src=\"https://img.shields.io/static/v1?label=Join\u0026message=%20discord!\u0026color=mediumslateblue\"\u003e\n\t\t\u003c/a\u003e\n\t\t\u003ca href=\"https://twitter.com/e2b_dev\" target=\"_blank\"\u003e\n\t\t\t\u003cimg src=\"https://img.shields.io/twitter/follow/e2b.svg?logo=twitter\"\u003e\n\t\t\u003c/a\u003e\n\t\u003c/p\u003e\n\n\n\u003ch3 align=\"center\"\u003eThis plugin is powered by E2B's \u003ca href=\"https://e2b.dev/docs?ref=chatgpt-plugin\" target=\"_blank\"\u003eAI Playgrounds\u003c/a\u003e\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\nClick on the image to watch the demo\n\u003c/p\u003e\n\n[![Video](./assets/thumbnail.png)](https://www.youtube.com/watch?v=kJuJnsatU2s?utm_source=github)\n\n[E2B](https://e2b.dev/) plugin for ChatGPT is like **code interpreter on steroids**.\n\nWe give your ChatGPT instance access to a full cloud environment that's sandboxed. That means:\n- Access to Linux OS\n- Install programs\n- Using filesystem (create, list, and delete files and dirs)\n- Run processes\n- Sandboxed - you can run any code\n- Access to the internet\n\nThese cloud instances are meant to be used for agents. Like a sandboxed playgrounds, where the agent can do whatever it wants.\n\n👉 **This plugin is powered by the E2B API. If you'd like an early access, [join our Discord](https://discord.gg/U7KEcGErtQ) and send us a message!** 👈\n\n## ❓ What can I do with this plugin?\nThis plugin exposes 3 simple commands (see the [OpenAPI file](https://github.com/e2b-dev/chatgpt-plugin/blob/main/openapi.yaml)):\n- `RunCommand`\n  - Runs any shell command\n- `ReadFile`\n  - Reads file on path\n- `WriteFile`\n  - Writes content to a file on a path\n\nThese simple 3 primitives enable a whole set of possibilities. \n\nHere is a few ideas what you can do with these commands:\n- Run **any** language, not just Python. Currently supported out of the box:\n  - Nodejs\n  - Go\n  - Bash\n  - Rust\n  - Python3\n  - PHP\n  - Java\n  - Perl\n  - .NET\n\n  Please open an issue if you want us to support another language\n\n- Install headless chrome (go wild!)\n- Run databases\n- Start servers\n- Run terminal commands\n- Create long running processes\n- Deploy websites\n- Install programs via terminal\n\n## 💻 Installation\nThere are two ways:\n1. Wait for OpenAI to approve our plugin in their store\n2. Have developer access to ChatGPT plugins and install the plugin by following the instructions below for how to [run plugin locally](#how-to-run-plugin-locally)\n\n### How to run plugin locally\nTo install the required packages for this plugin, run the following command:\n\n```bash\nnpm install\n```\n\nTo run the plugin, you will need **API Key**. Click [here](https://e2b.dev/docs?reason=sdk-missing-api-key) to get your API key.\n\nThen enter the following command:\n\n```bash\nE2B_API_KEY=*** npm run dev\n```\n\nOnce the local server is running:\n\n1. Navigate to https://chat.openai.com.\n2. In the Model drop down, select \"Plugins\" (note, if you don't see it there, you don't have access yet).\n3. Select \"Plugin store\"\n4. Select \"Develop your own plugin\"\n5. Enter in localhost:3000 since this is the URL the server is running on locally, then select \"Find manifest file\".\n\n## 🤖 Usage examples\n\u003e Install youtube-dl and use it to download this video https://www.youtube.com/watch?v=jNQXAC9IVRw\n\n\u003e Start HTTP server on port 3000\n\n\u003e Clone this repo \"https://github.com/e2b-dev/chatgpt-plugin\", fix any typos in readme push it\n\n## 📂 How to upload \u0026 download files\nThe official ChatGPT Code Interpreter supports uploading and downloading files. While the e2b code interpreter doesn't support this functionality natively (yet), you can \"hack\" around it just by using the `curl` or `wget` command and a service such as the S3 bucket.\n\n### Uploading your files to plugin\n1. Get S3 bucket (or any alternative)\n2. Upload your files there and make them public\n3. Tell ChatGPT to download that files using curl\n\n### Downloading files from plugin\n1. Tell ChaGPT to upload its files to S3 bucket using curl\n\n## What is e2b?\n[E2B](https://www.e2b.dev/) is the company behind this plugin. We're building an operating system for AI agents. A set of low-level APIs for building agents (debugging, auth, monitor, and more) together with sandboxed cloud environments for the agents where the agents can roam freely without barriers 🐎.\n\n\n## Development\nInstall dependencies:\n```bash\nnpm install\n```\n\nThen start reloading server by running:\n```bash\nnpm run dev\n```\n\n### API routes\nWe are using [tsoa](https://github.com/lukeautry/tsoa) to generate [OpenAPI spec](./openapi.yaml) and to generate server route boilerplate. It uses TypeScript decorators to describe the API.\n\nEdit the Controllers in [`src/plugin`](./src/plugin/) to modify the API exposed to the plugin.\n\n### Documentation\nThe documentation of API in the OpenAPI spec is generated from the JSDoc comments in the Controllers. See [tsoa docs](https://tsoa-community.github.io/docs/descriptions.html) for more info.\n\nThe info section inside of OpenAPI spec is injected in the [script that reformats the generated spec](./scripts/formatSpec.js) so if you want to change it, you need to change it there not by changing the `openapi.yaml` file directly.\n\n### Manifest\nYou may also want to modify the [ChatGPT plugin manifest](./.well-known/ai-plugin.json) to change metadata about the plugin.\n","funding_links":[],"categories":["TypeScript","CLIs"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe2b-dev%2Fllm-code-interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe2b-dev%2Fllm-code-interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe2b-dev%2Fllm-code-interpreter/lists"}