coderunner

Ochiq manbalardan

AI agentlaringiz uchun mahalliy qumli muhit

Mashina tarjimasi · Asl matnni koʻrsatish

A local sandbox for your AI agents

AI skillKategoriya: AI koʻnikmalari · DevOps va bulut · Xavfsizlik · Dasturiy muhandislikOpen sourcemaʼlumot tekshirilgan: 16-okt, 2026

Sharh

  • anthropic
  • apple
  • apple-container
  • claude-code
  • claude-skills
  • containerization
  • gemini-cli
  • llm
  • llmstudio
  • mcp
  • openai

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.
  • Rasmiy saytOchiq manbalardankatalog metamaʼlumotlaridan
    instavm.io/ ↗
  • Manbadan yigʻishOchiq manbalardankatalog metamaʼlumotlaridan

    Manbadan yigʻish: tekshirilgan yigʻish retsepti yoʻq — repozitoriy koʻrsatmalariga amal qiling.

    github.com/instavm/coderunner ↗

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
Claude CodeNomaʼlum———
Claude (web & desktop)Nomaʼlum———
OpenAI CodexNomaʼlum———
ChatGPTNomaʼlum———
CursorNomaʼlum———
GitHub CopilotNomaʼlum———
Gemini CLINomaʼlum———

Relizlar

tekshirilgan: 30-okt, 2026
Manbada relizlar topilmadi.

Sifat profili

algoritm quality-v1.0 · baholangan 16-okt, 2026
Sifat bahosi78
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2020
last activity 5 days ago
Hujjatlar · 1515
README 10537 chars, description present
Foydalanishga tayyorlik · 159
install instructions: yes; releases: no
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 102
0 release(s)
Kategoriya aniqligi · 105
classifier confidence 0.5
Ommaboplik · 107
895 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX Apache-2.0
Hamjamiyat · 55
issues enabled, 41 forks

Litsenziya

Apache-2.0
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/instavm/coderunnerAsosiy★ 895 yulduzfaollik: 10-okt, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

claude-skillsOʻxshash
Texnologik stekka bogʻliq boʻlmagan Claude Skills koʻnikmalari veb-sayt hayot siklining toʻliq qamrovini taʼminlaydi: brend, dizayn, kontent, SEO, dasturlash, ekspluatatsiya, oʻsish va tadqiqot. Yarating, ishga tushiring, tekshiring va optimallashtiring.MIT · AI koʻnikmalari
second-brain-osOʻxshash
Oʻzini oʻzi boshqaradigan sun’iy intellekt asosidagi ikkinchi miya. Claude Code va Obsidian’da oʻz-oʻzini tashkil etuvchi bilimlar bazasi uchun toʻliq qoʻllanma, boshlangʻich omborxona, agent koʻnikmalari va skriptlar.MIT · AI koʻnikmalari
ai-memory-vaultOʻxshash
AI'ngizga haqiqiy, doimiy xotira bering. Obsidian omborini AI'ngizning ish xotirasiga aylantiruvchi ochiq manbali tizim va shablonlar. Vektor ma'lumotlar bazasi yo'q, faqat markdown.CC-BY-SA-4.0 · AI koʻnikmalari
awesome-llm-skillsOʻxshash
LLM va AI Agent uchun ajoyib koʻnikmalar (Skills), resurslar va vositalarning tanlangan roʻyxati — AI Agent ish jarayonlarini moslashtirish uchun. Claude Code, Codex, Gemini CLI va sizning maxsus AI Agentlaringiz bilan ishlaydiAI koʻnikmalari
linkedin-skillsOʻxshash
LinkedIn uchun Claude koʻnikmalari. Claude Code va Codex uchun 12 ta koʻnikma: inson uslubida LinkedIn postlari yozadi, e'tiborga tushadigan izohlar tuzadi, lentangizni tahlil qiladi va nashr jadvalini tuzadi — barchasi terminaldan. Creative Content Crafts tomonidan kontent-injiniring. MIT.MIT · AI koʻnikmalari
claude-memOʻxshash
Har bir agent uchun seanslar oʻrtasida doimiy kontekst – Agentingiz seanslar davomida bajargan barcha amallarni yozib oladi, ularni sun’iy intellekt yordamida siqadi va kelgusi seanslarga tegishli kontekstni qaytarib kiritadi. Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode va boshqalar bilan ishlaydiApache-2.0 · AI koʻnikmalari

README

instavm/coderunner dan · litsenziya Apache-2.0 · yuklangan 30-okt, 2026

[Start] [License]

CodeRunner: A local sandbox for your AI agents

CodeRunner helps you sandbox your AI agents and its actions inside a sandbox.

Key use case: You can run multiple Claude Code or AI agents in our sandbox without any fear of data loss and exfilteration.

For cloud managed VMs for agents, we have launched - InstaVM - Instant computers for AI agents

Quick Start

Prerequisites: Mac with macOS and Apple Silicon (M1/M2/M3/M4), Python 3.10+

git clone https://github.com/instavm/coderunner.git
cd coderunner
chmod +x install.sh
./install.sh

Stop and resume

Stop the sandbox when you are done:

container stop coderunner

Resume the same sandbox later, preserving uploads, kernels, and installed packages:

container start coderunner

To start over with a clean sandbox, delete the container and run the installer again:

container delete coderunner && ./install.sh

Disable outbound network access

By default, code running in the sandbox has unrestricted network access. To run it on a host-only network with no internet access:

CODERUNNER_NETWORK=none ./install.sh

In this mode, the MCP server is available at http://127.0.0.1:8222/mcp. The setting is fixed when the container is created; the installer refuses to resume a container with a different network mode.

Run Claude Code inside a Sandbox

./install.sh (if not already done)

container exec -it coderunner /bin/bash

root@coderunner:/app# npm install -g @anthropic-ai/claude-code

Other Integration Options

MCP server will be available at: http://coderunner.local:8222/mcp

The installer creates ~/.coderunner/venv for the Claude Desktop proxy. For the other Python examples, install their dependencies in your own virtualenv:

pip install -r examples/requirements.txt
1. Claude Desktop Integration

[demo1]

[demo2]

[demo4]

  1. Copy the example configuration:

    cd examples
    cp claude_desktop/claude_desktop_config.example.json claude_desktop/claude_desktop_config.json
    
  2. Edit the configuration file and replace the placeholder paths:

    • Replace /path/to/your/python with $HOME/.coderunner/venv/bin/python using the full path to your home directory
    • Replace /path/to/coderunner with the actual path to your cloned repository

    Example after editing:

    {
      "mcpServers": {
        "coderunner": {
          "command": "/Users/yourname/.coderunner/venv/bin/python",
          "args": ["/Users/yourname/coderunner/examples/claude_desktop/mcpproxy.py"]
        }
      }
    }
    
  3. Update Claude Desktop configuration:

    • Open Claude Desktop
    • Go to Settings → Developer
    • Add the MCP server configuration
    • Restart Claude Desktop
  4. Start using CodeRunner in Claude: You can now ask Claude to execute code, and it will run safely in the sandbox!

2. Claude Code CLI

Quick Start:

# 1. Install and start CodeRunner (one-time setup)
git clone https://github.com/instavm/coderunner.git
cd coderunner
sudo ./install.sh

# 2. Install the Claude Code plugin
claude plugin marketplace add https://github.com/instavm/coderunner-plugin
claude plugin install instavm-coderunner

# 3. Reconnect to MCP servers
/mcp

Installation Steps:

  1. Navigate to Plugin Marketplace:

    [Navigate to Plugin Marketplace]

  2. Add the InstaVM repository:

    [Add InstaVM Repository]

  3. Execute Python code with Claude Code:

    [Execute Python Code]

That's it! Claude Code now has access to all CodeRunner tools:

  • execute_python_code - Run Python code in persistent Jupyter kernel
  • start_python_session - Reserve an isolated kernel for a named session
  • list_python_sessions - List active named sessions
  • stop_python_session - Stop a session and discard its kernel state
  • navigate_and_get_all_visible_text - Web scraping with Playwright
  • list_skills - List available skills (docx, xlsx, pptx, pdf, image processing, etc.)
  • get_skill_info - Get documentation for specific skills
  • get_skill_file - Read skill files and examples

Pass the returned session_id to execute_python_code to keep state isolated between agents. Up to five named sessions can run concurrently.

Learn more: See the plugin repository for detailed documentation.

3. OpenCode Configuration

[OpenCode Example]

Create or edit ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "coderunner": {
      "type": "remote",
      "url": "http://coderunner.local:8222/mcp",
      "enabled": true
    }
  }
}

After saving the configuration:

  1. Restart OpenCode
  2. CodeRunner tools will be available automatically
  3. Start executing Python code with full access to the sandboxed environment
4. Python OpenAI Agents

[demo3]

  1. Set your OpenAI API key:

    export OPENAI_API_KEY="your-openai-api-key-here"
    
  2. Run the client:

    python examples/openai_agents/openai_client.py
    
  3. Start coding: Enter prompts like "write python code to generate 100 prime numbers" and watch it execute safely in the sandbox!

5. Gemini-CLI

Gemini CLI is recently launched by Google.

{
  "theme": "Default",
  "selectedAuthType": "oauth-personal",
  "mcpServers": {
    "coderunner": {
      "httpUrl": "http://coderunner.local:8222/mcp"
    }
  }
}

[gemini1]

[gemini2]

6. Kiro by Amazon

Kiro is recently launched by Amazon.

{
  "mcpServers": {
    "coderunner": {
      "command": "/path/to/venv/bin/python",
      "args": [
        "/path/to/coderunner/examples/claude_desktop/mcpproxy.py"
      ],
      "disabled": false,
      "autoApprove": [
        "execute_python_code"
      ]
    }
  }
}

[kiro]

7. Coderunner-UI (Offline AI Workspace)

Coderunner-UI is our own offline AI workspace tool designed for full privacy and local processing.

[coderunner-ui]

Security

Code runs in an isolated container with VM-level isolation. Your host system and files outside the sandbox remain protected.

From @apple/container:

Each container has the isolation properties of a full VM, using a minimal set of core utilities and dynamic libraries to reduce resource utilization and attack surface.

Skills System

CodeRunner includes a built-in skills system that provides pre-packaged tools for common tasks. Skills are organized into two categories:

Built-in Public Skills

The following skills are included in every CodeRunner installation:

  • pdf-text-replace - Replace text in fillable PDF forms
  • image-crop-rotate - Crop and rotate images

Using Skills

Skills are accessed through MCP tools:

# List all available skills
result = await list_skills()

# Get documentation for a specific skill
info = await get_skill_info("pdf-text-replace")

# Execute a skill's script
code = """
import subprocess
subprocess.run([
    'python',
    '/app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py',
    '/app/uploads/input.pdf',
    'OLD TEXT',
    'NEW TEXT',
    '/app/uploads/output.pdf'
])
"""
result = await execute_python_code(code)

Adding Custom Skills

Users can add their own skills to the ~/.coderunner/assets/skills/user/ directory:

  1. Create a directory for your skill (e.g., my-custom-skill/)
  2. Add a SKILL.md file with documentation
  3. Add your scripts in a scripts/ subdirectory
  4. Skills will be automatically discovered by the list_skills() tool

Skill Structure:

~/.coderunner/assets/skills/user/my-custom-skill/
├── SKILL.md              # Documentation with usage examples
└── scripts/              # Your Python/bash scripts
    └── process.py

Example: Using the PDF Text Replace Skill

# Inside the container, execute:
python /app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py \
    /app/uploads/tax_form.pdf \
    "John Doe" \
    "Jane Smith" \
    /app/uploads/tax_form_updated.pdf

Architecture

CodeRunner consists of:

  • Sandbox Container: Isolated execution environment with Jupyter kernel
  • MCP Server: Handles communication between AI models and the sandbox
  • Skills System: Pre-packaged tools for common tasks (PDF manipulation, image processing, etc.)

Examples

The examples/ directory contains:

  • openai-agents - Example OpenAI agents integration
  • claude-desktop - Example Claude Desktop integration

Building Container Image Tutorial

https://github.com/apple/container/blob/main/docs/tutorial.md

Roadmap

  1. Linux support with Firecracker
  2. Guardrails for external agentic actions
  3. CLI for Coderunner

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Repozitoriyni ochish ↗