OpenMinis open-source AI agent runs a Linux sandbox on iOS and Android for mobile task automation

OpenMinis is an open-source, cross-platform AI agent that provides models with a full Alpine Linux sandbox directly on mobile devices. On iOS it uses a customized iSH fork running an ARM64 guest with a JIT interpreter, exposing process management, 100+ syscalls, and full networking within Apple's sandbox. Android uses a PRoot-based chroot with a real Alpine rootfs. The agent sees only 8 tools (shell_execute, file read/write/edit, browser_use, memory write/get, read_image). All 20+ device integrations—calendar, health, HomeKit, Bluetooth, clipboard, etc.—are CLI programs inside the sandbox, not LLM tools. Kernel-level execve() interception routes calls to native handlers, returning JSON via pipes. This keeps tool schemas small and lets models compose capabilities with shell piping and scripts. The agent loop includes up to 200 turns, concurrent tool execution (limit 10), context window compression, and a ToolLoopDetector fuse. Other design features: minis:// URL scheme for session-scoped resource addressing, Claude Code-compatible SKILL.md progressive disclosure, memory layers (GLOBAL.md, daily log, SOUL.md), iOS background persistence via location and audio tricks, and three-tier privacy permission for sensitive CLIs.