{"slug": "apexyx-mesh-offline-agent-mesh-for-termux-android-with-421-hermetic-self-tests", "title": "Apexyx Mesh: offline agent mesh for Termux/Android with 421 hermetic self-tests", "summary": "Apexyx Mesh, an offline agent mesh for Termux/Android built with pure Python 3 and bash, has been released with 421 hermetic self-tests, and the full stack includes 5,000+ hermetic self-test checks. The project, developed by xhall-beep and available on GitHub, installs ten tiers via a single script and runs without cloud or pip installs. The Pro version is sold for $49 CAD on Gumroad, with the next tier (t35 constitutional layer) in development.", "body_md": "`termux`\n\n· `android`\n\n· `local-ai`\n\n· `agentic`\n\n· `offline-first`\n\n· `self-hosted`\n\n· `sqlite`\n\nPure Python 3 + bash. No cloud, no daemons you didn't start, no pip installs.\nEach tier is one file, one sqlite db in `~/.mesh/`\n\n, one installer, and a\nhermetic `--selftest`\n\n(150–300 checks) that runs in a throwaway tmpdir.\n\nBuilt and battle-tested on a Google Pixel (Termux). Runs anywhere Python does.\n\n```\n# Termux only: pkg install python git   (Linux: python3 + git, already there)\ngit clone https://github.com/xhall-beep/ApexYX-Sovereign.git\ncd ApexYX-Sovereign && bash up_all.sh\n# installs all ten tiers, then runs every selftest — 421 checks, zero network\nmesh post --node me --kind inbox --text \"hello mesh\"   # feed the router\nmesh task --node me --text \"echo hi\" --for exec        # address a worker\nmesh tail                                              # watch the event stream\nmesh verify                                            # prove the sealed chain is intact\nmesh status                                            # who's alive, what's pending\n```\n\nIf `mesh`\n\nisn't found, open a new shell (the installer adds `~/bin`\n\nto PATH).\n\nOr tier by tier:\n\n```\ncd mesh_bus && bash bus_up.sh       # tier 1 first: gives the mesh shared memory\ncd ../mesh_router && bash router_up.sh   # repeat per tier, any order\npython3 mesh_router.py --selftest      # prove it before you trust it\n```\n\n| Tier | Node | What it does |\n|---|---|---|\n| t1 | bus | shared memory: sealed append-only sqlite bus + `mesh` CLI |\n| t2 | router | LLM (or keyword-fallback) request routing onto the bus |\n| t3 | exec | command execution node |\n| t4 | sched | scheduler |\n| t5 | learn | feedback / learning loop |\n| t6 | reach | outbound reach |\n| t7 | state | shared state |\n| t8 | plan | planner |\n| t9 | guard | policy guard — refusals are the product |\n| t10 | mirror | self-mirroring / audit |\n\nEvery node degrades gracefully if the bus is offline — install t1 first anyway; it's what turns nine scripts into one organism.\n\nThe full financial-grade stack: federation, sensing, voice, recall, reasoning,\nsafe-act, negotiation, self-repair, forecasting, budgeting, markets, coalitions,\nstaking, insurance, reinsurance, solvency, liquidity, clearing/CCP, recovery,\nmacroprudential control, supervision, accountability, a fiscal backstop, and a polity tier —\nmandates, legislature votes, vetoes, sunset clocks and a debt brake deciding\nwho may aim that backstop —\nsealed commitments, escalation ladders, clawbacks, taxpayer-loss accounting.\n**5,000+ hermetic self-test checks across the stack.**\n\n→ Buy it: [https://stephenhall8.gumroad.com/l/apexyxpro](https://stephenhall8.gumroad.com/l/apexyxpro) ($49 CAD, instant download)\n\nNext tier in development: **t35 constitutional layer** — amendments, franchise,\nsuccession. Pro buyers get every new tier as it ships.\n\nFull story + free download mirror: [https://slackstack-1a8ac6.viktor.page/apexyx-mesh](https://slackstack-1a8ac6.viktor.page/apexyx-mesh)\n\n- Every db write is evented; nodes never re-ingest their own events.\n- Sibling dbs are opened read-only. Sealed rows break their hash if mutated.\n- Supervisory states never self-clear — lifting a freeze is an explicit act.\n- Selftests are hermetic: tmpdir MESH_DIR, simulated siblings, zero network.\n\nMIT licensed. Issues and PRs welcome.\n\n[Running a 10-tier SQLite Agent Mesh on Termux without Thermal Throttling](/xhall-beep/ApexYX-Sovereign/blob/main/docs/termux-tutorial.md)— the engineering: tick-driven architecture vs daemons, WAL as the bus, thermal admission control, phantom-process-killer survival.\n\n- Hacker News:\n[https://news.ycombinator.com/item?id=49398962](https://news.ycombinator.com/item?id=49398962)\n\n**APEXYX Mesh Console**— Android APK (Kivy) running a sealed-chain task bus in your pocket:[https://github.com/xhall-beep/APEXYX_ORI_AI](https://github.com/xhall-beep/APEXYX_ORI_AI)", "url": "https://wpnews.pro/news/apexyx-mesh-offline-agent-mesh-for-termux-android-with-421-hermetic-self-tests", "canonical_source": "https://github.com/xhall-beep/ApexYX-Sovereign", "published_at": "2026-08-22 12:14:14+00:00", "updated_at": "2026-08-22 12:43:32.309034+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "developer-tools", "artificial-intelligence"], "entities": ["Apexyx Mesh", "Termux", "Android", "Google Pixel", "GitHub", "Gumroad", "Stephen Hall", "APEXYX Mesh Console"], "alternates": {"html": "https://wpnews.pro/news/apexyx-mesh-offline-agent-mesh-for-termux-android-with-421-hermetic-self-tests", "markdown": "https://wpnews.pro/news/apexyx-mesh-offline-agent-mesh-for-termux-android-with-421-hermetic-self-tests.md", "text": "https://wpnews.pro/news/apexyx-mesh-offline-agent-mesh-for-termux-android-with-421-hermetic-self-tests.txt", "jsonld": "https://wpnews.pro/news/apexyx-mesh-offline-agent-mesh-for-termux-android-with-421-hermetic-self-tests.jsonld"}}