octogen  by dbpunk-labs

Open-source framework for code interpreter agents

Created 2 years ago
257 stars

Top 98.4% 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
0 stars in the last 30 days

Explore Similar Projects

Starred by Chris Van Pelt Chris Van Pelt(Cofounder of Weights & Biases), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
30 more.

developer by smol-ai

0.0%
12k
Agent for embedding a developer in your app
Created 2 years ago
Updated 1 year ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

4.3%
22k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 17 hours ago
Feedback? Help us improve.