MCPcopy Create free account
hub / github.com/78/tenbox

github.com/78/tenbox @v0.8.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.2 ↗ · + Follow
2,514 symbols 5,016 edges 248 files 229 documented · 9% updated 12d agov0.8.2 · 2026-05-31★ 25015 open issues

Browse by type

Functions 2,009 Types & classes 505
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TenBox

TenBox lets you run AI agents safely on your personal computer. Each agent runs inside a secure, isolated virtual machine — it can only access the files you explicitly authorize, keeping your privacy and data protected.

Under the hood, TenBox is a cross-platform Virtual Machine Monitor (VMM) with a shared C++ runtime. It runs full Linux desktop environments with hardware-accelerated virtualization, GPU display output, audio, shared folders, and clipboard integration. Windows hosts use WHVP with a Win32 manager; macOS hosts use Hypervisor Framework (both Apple Silicon and Intel) with a SwiftUI/AppKit manager; Linux hosts run tenboxd, a systemd daemon that manages VM lifecycle, exposes a local CLI, and provides optional browser-based remote desktop.

Screenshots

TenBox on macOS TenBox on Windows

Features

  • Cross-platform hypervisor backends — WHVP on Windows, Hypervisor Framework on macOS (Apple Silicon and Intel), KVM on Linux (x86_64 and arm64, including Raspberry Pi)
  • Native GUI managers — Win32 on Windows, SwiftUI/AppKit on macOS
  • Linux daemon (tenboxd) — systemd-managed, local RPC over /run/tenbox/tenbox.sock, tenbox system group access control
  • tenbox CLIdoctor / system info / vm ls|create|edit|start|stop|reboot|shutdown|rm|console|logs
  • Linux boot support — boots standard vmlinuz / Image kernels with initramfs
  • VirtIO MMIO devices — block, network, GPU, input, serial, sound, and filesystem
  • qcow2 & raw disk images — zlib and zstd compressed cluster support, copy-on-write
  • GPU display — virtio-gpu with SPICE protocol, resizable display window
  • Audio output — virtio-snd streamed to host via WASAPI on Windows and CoreAudio on macOS
  • Shared folders — virtiofs (virtio-fs), configurable per VM with optional read-only mode
  • Clipboard sharing — bidirectional host ↔ guest clipboard via SPICE vdagent protocol
  • Guest agent — qemu-guest-agent integration for VM lifecycle management (graceful reboot/shutdown)
  • NAT networking — built-in DHCP server, TCP/UDP NAT proxy, ICMP relay via lwIP
  • Port forwarding — host-forward (expose guest TCP services on host ports) and guest-forward (route guest traffic to host services)
  • Multi-VM management — create, edit, start, stop, reboot, and delete VMs; config persisted as vm.json
  • Platform-specific machine models — x86_64 (Local APIC / I/O APIC) and aarch64 (GICv3) guest support
  • Browser remote desktop (Linux) — daemon-embedded libdatachannel + FFmpeg H.264 (high/baseline) + Opus; dual input-fast / control DataChannels; bidirectional clipboard
  • Cloud pairing & self-update (Linux) — 8-digit pairing code → https://my.tenbox.ai/pair; daemon accepts host.update and runs apt-get install --only-upgrade tenbox in-place
  • LLM proxy — built-in OpenAI-compatible HTTP proxy mapping guest requests to configurable upstream providers; available in tenboxd on Linux and the GUI manager on Windows/macOS

Install

Linux (Debian 11+ / Ubuntu 20.04+ / Raspberry Pi OS 11+, amd64 / arm64)

curl -fsSL https://tenbox.ai/install.sh | sudo sh

Requires glibc 2.31+ and /dev/kvm. The installer registers the TenBox apt repo, installs the tenbox deb, adds the current user to the tenbox group, and enables tenboxd.service. After install, a pairing URL is printed to the terminal — open it (or visit https://my.tenbox.ai/) to claim the host. Tested on x86_64 PCs and Raspberry Pi 5; other arm64 boards may work but are not yet validated.

Windows / macOS

Download the latest installer from tenbox.ai or the GitHub Releases page.

Documentation

License

GPL v3 — see LICENSE for details.

Core symbols most depended-on inside this repo

Shape

Method 1,483
Function 526
Class 464
Enum 41

Languages

C++97%
Python3%
TypeScript1%

Modules by API surface

src/daemon/cloud_tunnel.cpp82 symbols
src/manager/manager_service.cpp78 symbols
src/daemon/runtime_manager.cpp62 symbols
src/core/device/virtio/virtio_fs.cpp57 symbols
src/daemon/remote_webrtc.cpp55 symbols
scripts/publish.py48 symbols
src/runtime/runtime_service.cpp47 symbols
src/core/vmm/vm.cpp46 symbols
src/core/net/net_backend.cpp45 symbols
src/platform/windows/hypervisor/whvp_vcpu.cpp42 symbols
src/manager/ui/win32_ui_shell.cpp41 symbols
src/daemon/llm_proxy.cpp35 symbols

For agents

$ claude mcp add tenbox \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page