Code interpreter for ChatGPT plugin or standalone use
Top 99.3% on sourcepulse
CodeSherpa offers a Python-based code interpreter and ChatGPT plugin, aiming to replicate OpenAI's Code Interpreter functionality. It targets developers and ChatGPT users seeking to execute code, perform data analysis, and visualize results within a conversational AI context, with file persistence and no execution timeouts.
How It Works
CodeSherpa leverages OpenAI's GPT function calling to enable ChatGPT to interpret and execute code. It acts as a backend service that receives code execution requests from ChatGPT, runs the code (supporting Python, C++, and Rust), and returns the output. The system uses a local server and a frontend interface, with an experimental standalone UI now available.
Quick Start & Requirements
.env.example
to .env.local
, install dependencies (pnpm install
or npm install
), and run the Next.js app (pnpm dev
or npm run dev
). Alternatively, use Docker: docker pull ghcr.io/iamgreggarcia/codesherpa:latest
and docker compose up
.http://localhost:3000
(frontend) or localhost:3333
(API).Highlighted Details
Maintenance & Community
Recent contributions noted from emsi and PeterDaveHello. The project welcomes contributions via pull requests.
Licensing & Compatibility
Licensed under the MIT license, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
The project is explicitly described as "experimental," "very buggy," and "inconsistent." Users are warned to expect "many bugs and shortcomings." The standalone interpreter is also noted as experimental.
2 years ago
Inactive