Open-source framework for code interpreter agents
Top 98.8% on sourcepulse
Octogen is an open-source framework for building and deploying code interpreter agents, designed for developers and researchers who need to execute AI-generated code safely and efficiently. It provides a local, deployable solution that supports various LLM backends and offers features for interactive code execution and application assembly.
How It Works
Octogen utilizes a modular architecture comprising an Octogen Kernel for code execution (based on notebook kernels), an Octogen Agent for request management and task processing (using ReAct patterns), and an Octogen Terminal CLI for user interaction. Code execution is sandboxed within Docker containers, ensuring isolation and security. It supports multiple LLM integrations, including OpenAI, Azure OpenAI, and CodeLlama, allowing users to choose their preferred AI model.
Quick Start & Requirements
pip install og_up
og_up
(select LLM backend: OpenAI, Azure OpenAI, CodeLlama, or Octogen Agent)og
git clone
, cd octogen
, python3 -m venv octogen_venv
, source octogen_venv/bin/activate
, pip install -r requirements.txt
.Highlighted Details
/up
command./run
.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README does not specify the project's license, which is a critical factor for commercial adoption or integration into closed-source projects. Image rendering is limited to iTerm2 and Kitty terminals.
1 year ago
1 day