Apexyx Mesh: offline agent mesh for Termux/Android with 421 hermetic self-tests

xhallbeep1 pts0 comments

GitHub - xhall-beep/ApexYX-Sovereign · GitHub

/" data-turbo-transient="true" />

Skip to content

Search/

Sign in<br>Sign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

xhall-beep

ApexYX-Sovereign

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Latest commit

History<br>6 Commits<br>6 Commits

Folders and files<br>NameNameLast commit message<br>Last commit date<br>mesh_bus

mesh_bus

mesh_exec

mesh_exec

mesh_guard

mesh_guard

mesh_learn

mesh_learn

mesh_mirror

mesh_mirror

mesh_plan

mesh_plan

mesh_reach

mesh_reach

mesh_router

mesh_router

mesh_sched

mesh_sched

mesh_state

mesh_state

LICENSE

LICENSE

README.md

README.md

up_all.sh

up_all.sh

View all files

Repository files navigation

APEXYX Mesh — a self-testing agent economy that runs on a phone

Pure Python 3 + bash. No cloud, no daemons you didn't start, no pip installs.<br>Each tier is one file, one sqlite db in ~/.mesh/, one installer, and a<br>hermetic --selftest (150–300 checks) that runs in a throwaway tmpdir.

Built and battle-tested on a Google Pixel (Termux). Runs anywhere Python does.

Install and prove it — one command (Termux or any Linux)

git clone https://github.com/xhall-beep/ApexYX-Sovereign.git<br>cd ApexYX-Sovereign && bash up_all.sh<br># installs all ten tiers, then runs every selftest — 421 checks, zero network

Or tier by tier:

cd mesh_bus && bash bus_up.sh # tier 1 first: gives the mesh shared memory<br>cd ../mesh_router && bash router_up.sh # repeat per tier, any order<br>python3 mesh_router.py --selftest # prove it before you trust it

Free tiers in this repo

Tier<br>Node<br>What it does

t1<br>bus<br>shared memory: sealed append-only sqlite bus + mesh CLI

t2<br>router<br>LLM (or keyword-fallback) request routing onto the bus

t3<br>exec<br>command execution node

t4<br>sched<br>scheduler

t5<br>learn<br>feedback / learning loop

t6<br>reach<br>outbound reach

t7<br>state<br>shared state

t8<br>plan<br>planner

t9<br>guard<br>policy guard — refusals are the product

t10<br>mirror<br>self-mirroring / audit

Every node degrades gracefully if the bus is offline — install t1 first anyway;<br>it's what turns nine scripts into one organism.

Pro: tiers 11–34 (paid)

The full financial-grade stack: federation, sensing, voice, recall, reasoning,<br>safe-act, negotiation, self-repair, forecasting, budgeting, markets, coalitions,<br>staking, insurance, reinsurance, solvency, liquidity, clearing/CCP, recovery,<br>macroprudential control, supervision, accountability, a fiscal backstop, and a polity tier —<br>mandates, legislature votes, vetoes, sunset clocks and a debt brake deciding<br>who may aim that backstop —<br>sealed commitments, escalation ladders, clawbacks, taxpayer-loss accounting.<br>5,000+ hermetic self-test checks across the stack.

→ Buy it: https://stephenhall8.gumroad.com/l/apexyxpro ($49 CAD, instant download)

Next tier in development: t35 constitutional layer — amendments, franchise,<br>succession. Pro buyers get every new tier as it ships.

Full story + free download mirror: https://slackstack-1a8ac6.viktor.page/apexyx-mesh

Design rules the whole mesh obeys

Every db write is evented; nodes never re-ingest their own events.

Sibling dbs are opened read-only. Sealed rows break their hash if mutated.

Supervisory states never self-clear — lifting a freeze is an explicit act.

Selftests are hermetic: tmpdir MESH_DIR, simulated siblings, zero network.

MIT licensed. Issues and PRs welcome.

Related

APEXYX Mesh Console — Android APK (Kivy) running a sealed-chain task bus<br>in your pocket: https://github.com/xhall-beep/APEXYX_ORI_AI

About<br>No description, website, or topics provided.<br>Resources<br>Readme<br>MIT license<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository

Releases

Packages

Contributors

Languages

You can’t perform that action at this time.

mesh tier apexyx self hermetic github

Related Articles