Back to browse
GitHub Repository

self-extending sandboxed agentic harness. a loop, two tools and an llm

63 starsJavaScript

Tiny agentic loop with Docker sandbox

by everlier·May 13, 2026·1 point·0 comments

AI Analysis

●●SolidCozyBig Brain

Thirty-line agent loop with Docker sandboxing contains blast radius safely.

Strengths
  • Recursive delegation via 'goal' tool iterates subagents until bash checks pass.
  • Hot-loaded modular tools allow dropping .mjs files to extend capabilities instantly.
  • Works with any OpenAI-compatible API including local models via Ollama or LM Studio.
Weaknesses
  • Thirty-line constraint limits sophisticated error handling or complex state management.
  • Docker sandbox adds latency; not suitable for rapid iterative development cycles.
Target Audience

Developers experimenting with local LLM agents

Similar To

Aider · Swe-agent · OpenInterpreter

Post Description

New in mi v1.7.5: "--sandbox" runs the agent inside Docker with your current directory mounted, to contain the blast radious in case of unexpected attacks.

mi Works with any OpenAI-compatible model (including local ones). Has REPL, skills, and recursive agents and only 30 lines of code, optimised for local models.

--- mi --sandbox -p 'fix tests until all are passing' ---

Similar Projects

Security●●Solid

Minimal Linux sandboxes to manage AI-Generated Code with ease

Embedded Rust sandbox with seccomp and DNS rebinding protection, no VM required.

Big BrainSolve My ProblemShip It
bugthesystem
101mo ago
AI/ML●●Solid

VT Code – Rust coding agent with AST-validated shell and OS sandboxing

AST-validated shell commands with OS sandboxing for safer AI coding.

Solve My ProblemBig Brain
vinhnx
2028d ago