codeinterpreter-api  by shroominic

LangChain implementation of ChatGPT Code Interpreter

created 2 years ago
3,852 stars

Top 12.9% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an open-source Python API that replicates the functionality of OpenAI's ChatGPT Code Interpreter, enabling users to execute Python code within a sandboxed environment for tasks like data analysis, charting, and image manipulation. It's designed for developers and researchers who want to integrate code execution capabilities into their LLM applications, offering local execution for most components except the LLM itself.

How It Works

The API leverages LangChain for orchestration and CodeBoxes as a backend for secure, sandboxed Python code execution. It supports internet access and automatic Python package installation, allowing the LLM to generate and run Python code based on user input, including file uploads. The system maintains conversation memory, enabling context-aware responses and iterative problem-solving.

Quick Start & Requirements

Highlighted Details

  • Supports dataset analysis, stock charting, and image manipulation.
  • Enables internet access and automatic Python package installation.
  • Offers both synchronous and asynchronous API usage.
  • Local execution for all components except the LLM.

Maintenance & Community

  • Project is open for contributions, with TODOs listed for potential improvements.
  • Contact via email (contact@shroominic.com), Twitter, or Discord DMs.
  • Donations are accepted to support the project.

Licensing & Compatibility

  • The specific license is not explicitly stated in the README. Compatibility for commercial use or closed-source linking is not detailed.

Limitations & Caveats

The CodeBox API for production scalability is in early development. The project is open to contributions and bug reports, indicating it may still be maturing.

Health Check
Last commit

8 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
28 stars in the last 90 days

Explore Similar Projects

Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Michael Han Michael Han(Cofounder of Unsloth), and
15 more.

open-interpreter by openinterpreter

0.1%
60k
Natural language interface for computers
created 2 years ago
updated 4 days ago
Feedback? Help us improve.