termux · android · local-ai · agentic · offline-first · self-hosted · sqlite
Pure Python 3 + bash. No cloud, no daemons you didn't start, no pip installs.
Each tier is one file, one sqlite db in ~/.mesh/, one installer, and a
hermetic --selftest (150–300 checks) that runs in a throwaway tmpdir.
Built and battle-tested on a Google Pixel (Termux). Runs anywhere Python does.
# Termux only: pkg install python git (Linux: python3 + git, already there)
git clone https://github.com/xhall-beep/ApexYX-Sovereign.git
cd ApexYX-Sovereign && bash up_all.sh
# installs all ten tiers, then runs every selftest — 421 checks, zero network
mesh post --node me --kind inbox --text "hello mesh" # feed the router
mesh task --node me --text "echo hi" --for exec # address a worker
mesh tail # watch the event stream
mesh verify # prove the sealed chain is intact
mesh status # who's alive, what's pending
If mesh isn't found, open a new shell (the installer adds ~/bin to PATH).
Or tier by tier:
cd mesh_bus && bash bus_up.sh # tier 1 first: gives the mesh shared memory
cd ../mesh_router && bash router_up.sh # repeat per tier, any order
python3 mesh_router.py --selftest # prove it before you trust it
| Tier | Node | What it does |
|---|---|---|
| t1 | bus | shared memory: sealed append-only sqlite bus + mesh CLI |
| t2 | router | LLM (or keyword-fallback) request routing onto the bus |
| t3 | exec | command execution node |
| t4 | sched | scheduler |
| t5 | learn | feedback / learning loop |
| t6 | reach | outbound reach |
| t7 | state | shared state |
| t8 | plan | planner |
| t9 | guard | policy guard — refusals are the product |
| t10 | mirror | self-mirroring / audit |
Every node degrades gracefully if the bus is offline — install t1 first anyway; it's what turns nine scripts into one organism.
The full financial-grade stack: federation, sensing, voice, recall, reasoning, safe-act, negotiation, self-repair, forecasting, budgeting, markets, coalitions, staking, insurance, reinsurance, solvency, liquidity, clearing/CCP, recovery, macroprudential control, supervision, accountability, a fiscal backstop, a polity tier — mandates, legislature votes, vetoes, sunset clocks and a debt brake deciding who may aim that backstop — and now a constitutional layer: sealed commitments, escalation ladders, clawbacks, taxpayer-loss accounting. 5,000+ hermetic self-test checks across the stack.
→ Buy it: https://stephenhall8.gumroad.com/l/apexyxpro ($49 CAD, instant download)
NEW — t35 constitutional layer just shipped: entrenched amendment-proof articles, amendments ratified only by 3/4 of the whole franchise with hash-chained article version lineage (tamper a ratified article and the chain breaks), citizenship that is earned by verified work and losable for sealed cause, and office succession — quorum-declared incapacity, heirs that skip the fallen and the suspended, regencies that sunset back to the rightful holder. 43 hermetic selftest checks. Pro buyers get every new tier as it ships — re-open your download link for the updated bundle.
Next tier in development: t36 judiciary — case law over sealed records, adversarial review, remedies.
Full story + free download mirror: https://slackstack-1a8ac6.viktor.page/apexyx-mesh
MIT licensed. Issues and PRs welcome.
10 commits
Python
90.6%
Shell
9.4%
termux · android · local-ai · agentic · offline-first · self-hosted · sqlite
Pure Python 3 + bash. No cloud, no daemons you didn't start, no pip installs.
Each tier is one file, one sqlite db in ~/.mesh/, one installer, and a
hermetic --selftest (150–300 checks) that runs in a throwaway tmpdir.
Built and battle-tested on a Google Pixel (Termux). Runs anywhere Python does.
# Termux only: pkg install python git (Linux: python3 + git, already there)
git clone https://github.com/xhall-beep/ApexYX-Sovereign.git
cd ApexYX-Sovereign && bash up_all.sh
# installs all ten tiers, then runs every selftest — 421 checks, zero network
mesh post --node me --kind inbox --text "hello mesh" # feed the router
mesh task --node me --text "echo hi" --for exec # address a worker
mesh tail # watch the event stream
mesh verify # prove the sealed chain is intact
mesh status # who's alive, what's pending
If mesh isn't found, open a new shell (the installer adds ~/bin to PATH).
Or tier by tier:
cd mesh_bus && bash bus_up.sh # tier 1 first: gives the mesh shared memory
cd ../mesh_router && bash router_up.sh # repeat per tier, any order
python3 mesh_router.py --selftest # prove it before you trust it
| Tier | Node | What it does |
|---|---|---|
| t1 | bus | shared memory: sealed append-only sqlite bus + mesh CLI |
| t2 | router | LLM (or keyword-fallback) request routing onto the bus |
| t3 | exec | command execution node |
| t4 | sched | scheduler |
| t5 | learn | feedback / learning loop |
| t6 | reach | outbound reach |
| t7 | state | shared state |
| t8 | plan | planner |
| t9 | guard | policy guard — refusals are the product |
| t10 | mirror | self-mirroring / audit |
Every node degrades gracefully if the bus is offline — install t1 first anyway; it's what turns nine scripts into one organism.
The full financial-grade stack: federation, sensing, voice, recall, reasoning, safe-act, negotiation, self-repair, forecasting, budgeting, markets, coalitions, staking, insurance, reinsurance, solvency, liquidity, clearing/CCP, recovery, macroprudential control, supervision, accountability, a fiscal backstop, a polity tier — mandates, legislature votes, vetoes, sunset clocks and a debt brake deciding who may aim that backstop — and now a constitutional layer: sealed commitments, escalation ladders, clawbacks, taxpayer-loss accounting. 5,000+ hermetic self-test checks across the stack.
→ Buy it: https://stephenhall8.gumroad.com/l/apexyxpro ($49 CAD, instant download)
NEW — t35 constitutional layer just shipped: entrenched amendment-proof articles, amendments ratified only by 3/4 of the whole franchise with hash-chained article version lineage (tamper a ratified article and the chain breaks), citizenship that is earned by verified work and losable for sealed cause, and office succession — quorum-declared incapacity, heirs that skip the fallen and the suspended, regencies that sunset back to the rightful holder. 43 hermetic selftest checks. Pro buyers get every new tier as it ships — re-open your download link for the updated bundle.
Next tier in development: t36 judiciary — case law over sealed records, adversarial review, remedies.
Full story + free download mirror: https://slackstack-1a8ac6.viktor.page/apexyx-mesh
MIT licensed. Issues and PRs welcome.
10 commits
Python
90.6%
Shell
9.4%