octogen  by dbpunk-labs

Open-source framework for code interpreter agents

created 1 year ago
257 stars

Top 98.8% on sourcepulse

GitHubView on GitHub
Project Summary

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

  • Install via pip: pip install og_up
  • Run setup: og_up (select LLM backend: OpenAI, Azure OpenAI, CodeLlama, or Octogen Agent)
  • Execute: og
  • Requirements: Python 3.10+, Docker 24.0.0+ or Podman. Running CodeLlama locally requires 8+ CPUs and 16GB RAM.
  • Development setup: git clone, cd octogen, python3 -m venv octogen_venv, source octogen_venv/bin/activate, pip install -r requirements.txt.
  • Official Docs: https://github.com/dbpunk-labs/octogen

Highlighted Details

  • Supports automatic execution of AI-generated code within Docker.
  • Enables rendering images directly in iTerm2 and Kitty terminals.
  • Allows file uploads for use in prompts via /up command.
  • Facilitates assembling code blocks into runnable applications with /run.
  • Manages prompt histories within the CLI.

Maintenance & Community

Licensing & Compatibility

  • License: Not explicitly stated in the README. Compatibility for commercial use or closed-source linking is undetermined.

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.

Health Check
Last commit

1 year ago

Responsiveness

1 day

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

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
9 more.

codex by openai

0.8%
32k
Coding agent CLI tool for terminal-based chat-driven development
created 3 months ago
updated 16 hours ago
Feedback? Help us improve.