{"repo":"av/mi","free":true,"listed":false,"github":"https://github.com/av/mi","clone":"git clone https://github.com/av/mi.git","description":"self-extending sandboxed agentic harness. a loop, two tools and an llm","language":"JavaScript","stars":102,"topics":["agentic-ai","agentic-coding","ai","cli","codegolf","harness","llm","repl","autonomous-agent","coding-agent"],"license":null,"category":"ai-agents","readme_excerpt":"agentic coding in 30 loc. a loop, two tools, and an llm. features - works with any OpenAI-compatible API: OpenAI, ollama, lmstudio, litellm, vllm, local models - bash tool gives full system access: git, curl, compilers, file I/O ( cat , sed -i , heredocs); optional timeout= and bg=truthy for background tasks - delegate tool spawns a mi subagent with a prompt — runs in the same directory, same API, streams output in real-time; optional timeout= - goal tool pursues a high-level goal by iterating subagents until a bash check command exits 0 — uses a progress file so iterations build on prior work (up to 128 by default) - recursive agents: delegate and goal tools spawn sub-agents natively; any tool can also call mi as a child process - self-extending: agent can write its own tools via the self skill - skill tool loads markdown playbooks from skills/ and /.agents/skills/ (auto-advertised in system prompt) - bundled skills: plan , tasks , delegate , explore , refactor , review , verify , debug , tdd , new-skill , self - modular tools: add new tools by dropping .mjs files in tools/ (hot-loaded before each model call) - --sandbox mode: run inside a Docker container with PWD mounted — safe for destructive experiments. image ships with node, python, uv, git, GNU coreutils/grep/sed/awk/find, curl, jq, ssh, rsync, vim, less, procps, util-linux, bind-tools (dig), iputils (ping), tree - automatic AGENTS.md ingestion from current directory for repo-specific context - chat REPL with /reset (","default_branch":null,"files":null,"tree":[],"storefront":"/r/av","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/av/mi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}