EctoLedger: Open-source microVM sandbox for local AI agents with terminal access

EctoLedger is an open-source runtime firewall and ledger designed to securely run autonomous AI agents locally with terminal or tool access. The tool addresses the security risk that standard Docker or chroot sandboxes can eventually fail, potentially allowing a hallucinated command like curl | bash or a kernel exploit to compromise the host system.
Security layers and isolation
EctoLedger implements four prevention layers that execute before any action runs:
- Semantic policy checks
- Dual-LLM validator
- Schema enforcer
- Tripwire kill-switch
Only after these checks does the system spin up commands in real isolation using either Apple Hypervisor.framework on macOS or Firecracker microVM on Linux. According to the source, this provides zero host access possible.
Technical implementation
The core is written in Rust with a Tauri GUI. The system creates a ZK-verifiable audit trail of every tool call, providing a ledger of agent actions. The project is fully open source under the Apache 2.0 license with no paywalls.
Getting started
The quickstart involves running docker compose up according to the demo and quickstart instructions. The source provides two main links:
- Demo + quickstart: https://ectospace.com/EctoLedger
- GitHub repository: https://github.com/EctoSpace/EctoLedger
The source material frames this as a solution for developers running local AI agents who need stronger isolation than standard containerization provides, particularly when agents have terminal access that could execute potentially harmful commands.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Skales: A Desktop AI Agent That Connects to Ollama Without Docker
Skales is a desktop AI agent that connects to Ollama locally, requiring no Docker setup. It offers features like email management via Gmail IMAP, browser automation, and voice chat using Whisper through Groq.

AgentWorkingMemory: A Local Memory System for AI Coding Agents
AgentWorkingMemory (AWM) is a local memory system that solves the session-to-session amnesia problem in AI coding agents. It uses a SQLite database, three local ML models (~124MB total), and integrates automatically via MCP to provide persistent, context-aware memory across Claude Code sessions.

Log Reducer MCP Server Cuts Token Usage When Claude Code Reads Logs
Log Reducer is an MCP server that processes log files server-side before sending reduced output to Claude Code, avoiding raw logs in the context window. It applies 19 deterministic transforms that compress logs by 50-90%, with a 2000-line log representing 20,000+ tokens removed from sessions.

Run local LLMs on your phone with Observer: offline agents for monitoring and logging
Observer is an open-source iOS app that runs multimodal LLMs locally on your phone to monitor events, log data, and trigger Discord notifications — all offline and free.