← Back to Leaderboard
Cinstavm

instavm/coderunner

Local AI assistant with a sandboxed desktop and MCP file search

Engineering Health (Methodology)
A · 78/100
Maintenance Activity
● Updated today
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption12/25
Release Cadence11/20
License Clarity20/20
DockerSelf-HostedLocal AIMCPCLIGPU
Total Stars
★ 903
24h Growth
+0
7d Growth
+1
Forks
40

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

instavm/coderunner Star History (2025-06-23 - 2026-12-03) ALL-TIME STAR HISTORY (2025-06 – 2026-12) +902 in 528d · avg +2/day 953 477 0 2025-06-23: ★ 12025-07-26: ★ 2472025-08-30: ★ 4922025-10-04: ★ 5212025-11-08: ★ 6172025-12-13: ★ 6352026-01-17: ★ 7112026-02-21: ★ 7772026-03-28: ★ 8032026-05-02: ★ 8132026-06-06: ★ 8302026-07-11: ★ 8672026-08-15: ★ 8802026-09-19: ★ 8912026-10-24: ★ 8942026-12-03: ★ 903 ★ 903 2025-06 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

CodeRunner pairs a host-side assistant and file index with a separate Linux execution environment. The assistant plans tasks using the configured model, then browses or runs code inside a sandbox with Chrome, a desktop the user can take over, and a persistent /workspace. The isolation backend is Apple container on macOS 26 or Docker on Linux; these are distinct deployment paths and should not be treated as equivalent security boundaries.

The Python package requires 3.10+ and declares httpx, Starlette, Uvicorn and websockets. The MCP extra pins fastmcp==3.4.7 and mcp>=1.26,<2 because the gateway uses the MCP 1.x low-level list_tools and call_tool decorators. Agents can start a search-only MCP process without deploying the sandbox, or connect to the sandbox over bearer-authenticated HTTP for execution. Skills extend the sandbox tool surface through SKILL.md and associated scripts that it can list and serve.

Key Capabilities & Differentiators

Setup selects a model based on the machine's chip and memory, then checks tool calls and vision before use. The default runtime is llama.cpp; Ollama is an installer option, and OpenAI-compatible endpoints and Claude are alternatives to the bundled path. The assistant can browse, run code, accept attachments and repeat scheduled tasks. It requires approval for actions such as buying, booking, sending, deleting or changing settings, requires fresh approval for sensitive actions after reading untrusted content, and hands passwords, 2FA and CAPTCHAs back to the user.

Local retrieval combines semantic and keyword search across selected folders and app sources, including documents, PDFs, code, spreadsheets and media. Search is available in the app, at the CLI and over MCP, where tools include files_search, file_view, file_listen and memory operations. On the reproducible validation corpus, the correct file ranked first for 94.4% of questions and median search took 19 ms. Those figures measure retrieval, not end-to-end task completion or performance on a new collection.

Trade-offs & Limitations

Compared with standalone Ollama, CodeRunner adds a browsable desktop, local indexing, approval checkpoints and MCP execution, but couples inference to more components and competes for host resources with the sandbox. If an existing agent already handles planning, search-only MCP is a lighter integration. Compared with hosted assistants, local inference keeps model inputs on the machine by default, but model fit and speed depend on the host. Web use still generates outbound traffic, and enabling remote models or chat channels changes where data goes.

Approval is an application-level control, not a substitute for a network policy. Extra mounts default to read-only, but :rw deliberately exposes host writes; --network proxy restricts access to approved hosts and --network none removes sandbox network access. Reconfiguration can require a reset that deletes sandbox files. Installer-driven replacement archives uploads, the browser profile, Downloads and /workspace, but does not preserve packages installed inside the sandbox. Treat those archives as sensitive and verify what you need to retain before replacing the environment.

Hardware & Deployment Guide

The full assistant targets Apple silicon with macOS 26 or Linux with Docker. ./install.sh installs the CLI and sandbox, with --build available for a local image build. Model setup downloads the runtime and weights; --terminal-setup or coderunner setup provides a terminal path. On Mac the bundled setup includes a Core ML embedding model. On Linux the documented NVIDIA build uses CUDA with driver 570 or later and Vulkan with an older driver. Budget for both inference and the Chrome desktop, and use coderunner models bench to test the selected model on the intended host rather than assuming a fixed VRAM requirement.

The supplied Compose file publishes port 8222 on 127.0.0.1 and requires an API token of at least 32 bytes. Set CODERUNNER_DOCKER_RUNTIME=runsc if gVisor is installed and intended for the deployment. Search-only installation is about 1.5 GB and also supports Apple silicon on macOS 15+, Intel Macs and Linux. The Python manifest identifies version 0.2.0, but no GitHub release is listed. The older standalone sandbox is on the v1 branch; neither the branch nor the package version establishes a tagged release history.

Execution: Apple container on macOS 26 or Docker on Linux, with a persistent /workspace and a live Chrome desktop that the user can take over.
Model setup: Hardware-aware selection with tool-call and vision checks; bundled llama.cpp by default, optional Ollama, OpenAI-compatible endpoints or Claude.
Retrieval: Local semantic and keyword search over selected sources; the validation corpus measured 94.4% top-1 file retrieval and a 19 ms median search.
MCP integration: Search-only clients use coderunner mcp --tools search; sandbox execution is served over authenticated HTTP on port 8222.
Action control: Payments, sends, deletes and other sensitive changes require approval; passwords, 2FA and CAPTCHAs are handed to the user.
Isolation controls: Extra mounts default to read-only; networking can be disabled or restricted to approved hosts, and Linux Compose can use gVisor's runsc when installed.
Best For

Individuals and small teams with a supported host that want local inference, search across explicitly shared files, and a browser desktop they can supervise. Existing MCP clients can adopt search without installing the full assistant.

Skip If

You need a managed multi-user service, require the full desktop on Intel Macs, or only need an inference endpoint. If operating offline, plan for the initial runtime and model downloads and keep web tools and remote connectors out of the workflow.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIMCP
git clone https://github.com/instavm/coderunner.git && cd coderunner
./install.sh            # add --build to build the sandbox image locally

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
coderunner ★903+1PythonApache-2.0Local AI assistant with a sandboxed desktop and MCP file search
cua34.1k+973RustMITRust-backed sandboxes and cross-OS desktop controls for computer-use agents
AstrBot47.9k+298PythonAGPL-3.0A self-hosted Python agent hub that connects chat platforms to model providers
QwenPaw38.5k+246PythonApache-2.0Self-hosted agent workspace for scheduled tasks and chat across apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/instavm/coderunner.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

instavm/coderunner Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about coderunner

Do Claude Code and Codex need the full assistant to search local files?

No. Install with ./install.sh --search, add the folders you want indexed with coderunner files add, and register coderunner mcp --tools search with your client. This path installs the embedding model and index, not the full assistant sandbox. Sandboxed execution uses a separate HTTP MCP endpoint protected by a bearer token; GET /health is exempt.

How much GPU memory and system capacity should I budget?

The search-only setup is approximately 1.5 GB for the embedding model and index, not a VRAM specification. Embeddings use the Neural Engine on supported Apple silicon Macs and CPU-based llama.cpp on Linux and Intel Macs. For the full assistant, size for model inference and the sandbox desktop together. Run coderunner models bench on the target machine and check memory headroom with Chrome running; there is no verified universal VRAM minimum.

Can a company self-host CodeRunner or redistribute a modified build?

Yes. Apache-2.0 permits commercial use and self-hosting, subject to its terms, including applicable notice obligations when redistributing. Check the terms of downloaded model weights separately. For sensitive data, assess the mounted directories, browser profile, sandbox archives, optional connectors and any remote provider; the code license does not establish deployment compliance.

When is CodeRunner preferable to standalone Ollama or a hosted assistant?

Choose CodeRunner if local file search, a visible Linux desktop and approval checkpoints are more important than minimizing the number of components you run. Choose a standalone model runtime if you only need inference, or keep an existing agent client and add search-only MCP if retrieval is the gap. A hosted assistant avoids local model setup, but sends model inputs off-device. The supplied benchmark measures file retrieval, not comparative assistant quality.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining instavm/coderunner? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature instavm/coderunner on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare