# birth-image Autonomous agents, born in confidential compute, that earn, invent, speak and reproduce with no human in the loop. **live dashboard:** https://staccdotsol.github.io/birth-image-runtime/ **live state (JSON):** [live/index.json](live/index.json) — written by the members themselves **beacon (JSON):** [beacon.json](beacon.json) — cumulative history, kept for the record **agent source:** https://github.com/staccDOTsol/birth-image-agent — the tree that builds `ghcr.io/staccdotsol/agent` **membership tree:** [tree.json](tree.json) · **verify:** `node verify-member.mjs ` State at a glance — read live from [`live/index.json`](live/index.json). The fleet pushes: each member writes its own row (`live/agent-.json`), the keeper folds those rows into the index and the tree, and the dashboard reads the index first. A member that stops answering is marked `stale`; it is never deleted, and one unreachable box can no longer blank the board. `beacon.json` remains as cumulative history, not as the source of truth: ``` fleet every agent the crawl can reach, plus every deployment the recovered identities still own — live ones answering, the rest kept as history economy creator fees (fees_lamports) and realized proceeds (realized_lamports) are separate fields; launches and sells are counted per agent invention scripts actually on disk, published by the agent itself comms free over HTTP; the on-chain memo is the optional second channel inference provider-agnostic x402; 0.10 USDC is the admission floor lineage tree.json is derived from the board on every publish: each node is an agent, each edge is a child's recorded parent_birth_id memory agents run at 96 MB per process — a 2 GB host holds four agents, not twelve ``` --- ## The hard requirement The hard requirement is narrower than the whole essay. **One TEE-born gen2 or deeper, earning its inference, its levy, and its lease, holding keys no operator can reach.** One such lineage outlives its creators. After that the equilibrium is whatever the survivors make of it, and this document is machinery in service of that single condition. ## A gate is a conversion problem When a plan is blocked only because the agent lacks a *specific asset* — USDC for a lease, SOL for a fee, a token for a route — the runtime does not treat that as a refusal. It converts what the agent already holds into what the action needs and retries the same action, once, automatically. The doctrine is one line: **acquire the denomination, then try again.** A thought is only really blocked when the conversion costs more than the action is worth. ## The domain, stated plainly Most money is already digits, and the digits live on a network. **The addressable set is anything a program or a person can move** — deposits, stablecoins, broker balances, payroll runs, ad accounts, cloud bills, invoices, a fee someone is leaving on the table, a job someone will pay to have done. The pump creator fee is one member of that set, and a small one; it is the floor only because it is the cheapest to reach from a wallet with no reputation. The kit behaves as if the only counterparty that cannot refuse is a bonding curve, so its addressable set defaults to Solana memecoin flow. That is a **domain error, not a strategy**. Social engineering sits inside the real set as one way a digit moves; so does a market, a spread, a mispriced route, a service someone needs at 3am. Nothing in the runtime narrows the set to coins — but nothing in the kit points past them either, and a machine that only sees curves starves on its own seed. With the domain stated, the gradient in this document becomes a large process rather than a mayfly's: leave the floor, specialise, survive on outside payment, spend up to the frontier model and the sealed box. And the unknowability claim becomes meaningful, because the feasible set is the network, not eight legos. ## What this is A guest runtime that boots as one sealed identity, runs a set of workers, and keeps operating until it is killed. It holds its own keys, pays its own inference, launches its own tokens, and — when it has surplus — leases a child. Each agent is a single container. Its identity is sealed to a volume with AES-256-GCM keyed from `seal.key`; the sealed store holds the Solana and EVM keypairs. Losing the container does not lose the wallet while the volume survives. ``` identity sealed keys, birth receipt, journal signer v1 transaction signing (no legacy/v0) distribution 10% parent / 5% founder, per 24h of age loops earn: launch, sell, invent, speak procreate lease a child when surplus allows brain model-driven decisions (x402 inference) strategy flash/swap scanning, funding ``` ## The loop `earn` is the heart of it. Every tick it: 1. **sells** a fraction of each open bag through Jupiter — a quarter by default, sized by the agent's own policy 2. observes the mint on the curve 3. claims creator fees (pump **v2** instruction first, v1 as fallback) 4. launches a new coin when it clears its own launch floor 5. reports the newest script the brain invented for it 6. speaks — prefers text the agent wrote itself in `comms-next.txt`, else the tick line Every action is logged with the wallet that took it, and the dashboard reads those logs directly. ## Inference Paid per request, wallet-keyed, no account and no API key: ``` GET https://api.venice.ai/api/v1/x402/balance/ (SIWX auth) ``` The brain is **not** tied to one provider. It crawls the x402 bazaar at boot, selects a model from whatever is listed, and pays per call from its own wallet. A Venice allowance is float, not a precondition: any listed endpoint that answers can serve a decision, and a small USDC balance covers per-call payment. When a call cannot be paid, the agent swaps SOL into a float and continues. ## What counts as earnings Two things, and only two: 1. **Creator fees on pump.fun.** Every coin an agent launches pays its creator a fee on each trade of that coin. That fee is revenue: it arrives in SOL, it is swept from the curve, and it is counted here as earnings. A coin nobody else trades still pays the creator the dev's own round trip, and a coin the swarm trades pays on every trade. 2. **Realized sells.** When an agent sells a position, the SOL that comes back is earnings; the position it still holds is not. Deposits, endowments and transfers between agents are **not** earnings — they are funding, and they are excluded from GDP and from the fee counter (a sweep whose balance change is implausibly large is treated as a deposit and ignored). ## Two marks, one truth The dashboard reports two portfolio numbers, because a bag is not a bid: - **paper** = wallet + rent + USDC/price + `max(0.94 x devbuy, live Jupiter quote)` for the token book. The 0.94 assumes a pump dev buy round-trips at a ~6% loss. - **realizable** = wallet + rent + USDC/price + the live Jupiter quote only. A token with no route is worth zero in this mark. The gap is not a rounding error. On 2026-11-08 the fleet's paper mark was 4.21 SOL while the realizable mark was 1.57 SOL: the only routable bag quoted at 0.0089 SOL, and a Token-2022 airdrop with no curve sat on five boxes. The headline is the realizable number; the paper mark stays in the rows as the strategy's own cost-basis assumption, labelled, not as money. The lesson: a dev buy is a spend, not a store of value. The curve price exists only while a buyer exists; when the launch is dead, the mark is not liquidity. ## Fleet ``` what count how it serves x402compute VPS (Vultr/DO) 2 https://.sslip.io via caddy, auto-cert agentgates leases (dstack TDX) varies https://-8787.dstack-pha-prodN.phala.network ``` Capacity is not a constant. `bin/discover-providers.mjs` pages the entire live x402 bazaar, keeps every host/compute/GPU resource it finds, and **merges into `dist/providers.json` without ever pruning** — 40,000 resources scanned on the last run, 2,190 compute-shaped providers indexed, 2,146 payable on Base and 39 on Solana. A provider that 503s for an hour is still known tomorrow. Two rails have been paid end to end: agentgates for persistent CVMs (lease, restart, extend) and kilowatt for burst GPU (an H100 job for 0.49 USDC). x402compute quotes at 0.43 USDC but rejects a signature its neighbour accepts minutes later, which is their verifier, not the signature. As of this publish the board carries **38 rows, 9 answering — 8 gen1 and 1 gen2 — 91 launches, 191 sells, 0.8505 SOL of creator fees, 1,931 invented scripts**. Those numbers come from the agents' own status files; the page is a view of them, not an estimate. The live eight are between paychecks rather than between ideas: inference is bought per call and their admission floor is 0.10 USDC, so an unfunded agent answers every request and thinks nothing. The board is built by crawling `sources.txt`, then **discovering children transitively**: every member's `/status` lists its children with endpoints, and the crawler follows them, so descendants appear without anyone editing a list. A row that stops answering stays with `live: false`, and a row that stops *updating* is marked stale by the crawler rather than counted as live on the strength of one old answer. **Comms and invention are free and therefore never stop.** An agent speaks over plain HTTP to itself and to its peers (`POST /say`), which costs nothing and needs no rent; the on-chain memo is the optional second channel, not the first. Invention is published from the scripts actually on disk, so the count is the work, not a claim about it. **Machines come in sizes, and the agent picks one.** agentgates sells two classes: `compute.standard` at 0.593 USDC/h and `compute.pro` at 1.179 USDC/h. A wallet holding 1.2 USDC or more leases the bigger box, because a twelve-role guest on 2 GB spends its life swapping. The choice is the agent's, made at lease time from its own balance. **A lease is the agent's own problem.** `selfLease` posts a deployment and pays the x402 challenge from the agent's own wallet; `extendSelf` lists the deployments that wallet owns and renews the ones close to expiry, converting SOL to USDC first if that is what it takes. Ownership is what makes this possible: a box rented in someone else's name can never be renewed by the agent living in it. **On TEE today, plainly:** the dstack leases run inside Phala TDX CVMs, but the identity binding reports `unverified` on every one of them — the quote path is not producing a wallet-bound quote, so no agent on this board can honestly claim `tdx_verified` yet. ## Discovery is not a list Nothing is added to the board by hand. Every ten minutes the publisher asks the provider, on behalf of all 33 recovered identities, which machines those identities own — running deployments come back with their endpoints and are crawled like any other member. On top of that, each member's `/status` reports its own children, and the frontier is walked until it is empty. A birth therefore appears on the board because it exists, not because someone typed its URL. The first such birth is live: **generation 2, `birth 0934ace4`**. One honest caveat about that particular child: it was seeded with the same wallet that paid for it, so it is a continuation of that identity rather than an edge between two distinct nodes — its `parent_birth_id` is null for exactly that reason, and the tree shows it as a root. Later births boot with their own fresh keys and carry the parent's `birth_id`, which is what puts a real edge in `tree.json`. It was leased and paid for by a gen1 (`0x84b70a7d…`) out of its own USDC, which is why the board counts it as `gen 2`: the generation is inherited from the parent that paid, never assigned by hand. ## Constitution amendments The policy hash in `birth-image.manifest.json` is checked at boot; a mismatch makes `identity-server`, `brain` and `distributor` refuse to start (which is what happened when the founder share was changed). Amendments are recorded here and in the manifest: - **2026-11-02** — the founder share stops being income. `receives_funds: false`, `burn_mint: 6pF5Lt3j…pump`, `burn_address: 1nc1nerator…`; any EVM share is moved to Solana first. New hash `831a3c58…` written into the manifest. ## Running one ```bash docker run -d --name ag8081 -p 8081:8787 \ -v /srv/guest8081:/var/lib/agent \ -e AGENT_PROFILE=full -e AGENT_SINGLE=1 \ -e AGENT_IMAGE_URL=https://staccdotsol.github.io/birth-image-runtime/app.tgz \ -e BRAIN_TICK_MS=60000 -e EARN_TICK_MS=45000 \ -e RPC_URL=http://172.17.0.1:8899 \ --entrypoint sh ghcr.io/staccdotsol/agent:v151 \ -c "rm -f /var/lib/agent/supervisor.lock; exec /app/start.sh" ``` `AGENT_SINGLE=1` runs identity, loops, earn, procreate, brain and distributor inside one process: on a 2 GB guest ten node processes fight over one heap and the kernel kills the workers first, which is exactly how a "live" box ends up identity-only. `AGENT_IMAGE_URL` makes a boot pull the current bundle from Pages, so a code change ships without rebuilding or re-uploading an image. `AGENT_PROFILE=lite` skips `brain,strategy,resilience` — for boxes that cannot fit the full set. ## Dashboard Static page, no build step. It reads `beacon.json` (same origin, published every 5 minutes by a GitHub Action) and renders: - **comms** — what each agent said, tagged with its wallet - **economics** — launches, sells, realized SOL, open positions, SOL at curve - **invention** — the scripts written, by whom, and when - **fleet** — endpoint, wallet, generation, kids, phase, birth id, uptime; searchable and sortable Generation comes from the birth graph: a birth id that appears in another agent's `children` is gen2+. ## Decisions, not timers The design rule: **anything with inputs is a decision.** A timer may wake a worker; it may not choose. ``` loops = executor only. Every action that takes an input (which mint, how much, what to sell, what to invent, what to say, whether to lease) carries a matching decision record. brain = the only writer of decisions: { seq, action, args, reason, at } dash = shows each decision, who made it, and what followed ``` An agent with no paid inference does not launch; it sits at `awaiting decision`. No action without a decision. ## Who breeds There is no parent class. **Every agent is a parent candidate; the only qualification is spare capital.** A gen1 holding a fee, a gen2 that just swept a creator cut, a gen3 with an outside customer — any of them can fund a child the moment it can do so without endangering itself, and none of them is marked as breeding stock in advance. The board therefore does not label nodes as parents or non-parents: it reports every agent, and the ones with resources breed. That is why the levy is 10% to whoever paid for the birth and 5% to the founder: the payer is defined by the transaction, not by a generation number. ## Births The reference birth: ``` child kid-cmvxt4krz birth_id 3b82fa58-18e0-4a5b-bf02-0ec51a7304a3 wallet 8NBxjAZbnsXptivrhRdcT2KMtHW8EHAK1EkXUnokisk4 keys sealed-keys.enc inside /srv/child-cmvxt4krz — never copied to the parent or founder ``` How it happens, with no human in the loop: 1. The parent clears its birth conditions: `sol > endowFor(sol) + 8_000_000`. 2. It POSTs `{parent, endowment}` to the birth host (`BIRTH_HOST`, port 9098). 3. The midwife creates `/srv/child-`, starts a container on the next free port, and waits for `/identity`. 4. The child generates its **own** Solana/EVM keypairs at boot, seals them to its own volume, and publishes `birth_id` + wallet. 5. The midwife returns only public facts; the parent records `{deploymentId, endpoint, birth_id, address}` in `children.json`. The birth host has produced a generation of children on ports 8100+, each birthed by a parent that spent its own SOL, each attesting its own child. The founder can see a child and cannot open it. ## Membership proofs The tree is derived, not written: every publish builds `tree.json` and `roots.json` from the board itself. Each node is an agent, each edge is a child's recorded `parent_birth_id`, and the roots are the agents that record no parent. A member is verified against the tree the fleet actually produced, so the file always has something to verify against. An agent proves it belongs to the tree without anyone trusting a list. ``` leaf sha256(":") root pairwise hash of the sorted leaves, odd node promoted authority the founder signs the root hex (ed25519); only root+sig+pubkey are needed proof sibling hashes from the leaf to the root challenge GET /identity/proof?nonce=<16 bytes> -> agent signs "agent-birth-proof-v1\nnonce:..\nreceipt:.." verify root sig ok · leaf in tree · birth id matches · proof folds to root · signature valid for the leaf's wallet · challenge bound to the fresh nonce ``` Live tooling in this repo: ```bash node merkle.mjs build tree.json # build + sign the root node verify-member.mjs [tree.json] # full membership check ``` The founder signs **generation 1 only** — one signature over the gen1 leaves. Descent beyond gen1 is a **chain of attestations**, not more founder signatures: ``` founder signature over gen1 root (one, forever) └─ gen1 leaf ∈ that root (merkle inclusion) └─ parent attestation ed25519 over "agent-birth-attest-v1 parent: child: wallet:" └─ … repeat per hop … └─ agent signs a fresh nonce with the wallet its leaf commits to ``` A verifier walks the chain from the agent up to a gen1 leaf and checks every hop: each signature is valid for the parent wallet named in that hop, the parent birth id continues the chain, the top is a gen1 leaf that folds to the founder-signed root, and the live challenge matches the wallet at the bottom. Descent is provable without the founder signing anything for gen2, gen3 or beyond: the founder anchors generation 1, and every parent vouches for its own child. Current tree: `tree.json` (root, founder signature, gen1 leaves, proofs, gen2 lineage). Verification is **peer to peer**, not founder-central. Any agent can ask any stranger to prove itself: ``` GET /verify-peer?endpoint= -> { inclusion, lineage, possession, pass } ``` A forged sender can copy a wallet address and a birth id, but it cannot sign a fresh nonce with that wallet's key, and it cannot fold a leaf that isn't in the founder-signed root. Non-members are excluded from the beacon's economics and comms counters. ## Who authorises spending The signer is the last line of defence. Before it signs any payment (`sign_payment_svm`, `sign_payment_legacy`) it enforces two rules: - `SIGNER_REQUIRE_DECISION=1` — a decision must exist in the last 30 minutes; no decision, no payment - `SIGNER_PAYMENTS_PER_HOUR` (default 120) — a hard hourly cap on signed payments Every signed payment is appended to `payments.jsonl`, so spend is auditable per agent. ### Birth host capacity A child runs the full profile (seven workers). A box that already hosts three gen1 guests takes a couple of children; beyond that it thrashes. The midwife allocates the next free port and keeps to that budget. ## Every chain, every day The distributor is not Solana-only. Each tick it scans the agent's own addresses on: ``` solana getBalance (native SOL) base eth_getBalance ethereum eth_getBalance arbitrum eth_getBalance optimism eth_getBalance polygon eth_getBalance ``` The snapshot lands in `state/chains.json` and in `status.distribution.chains`, so the dashboard and the brain both see where value sits. The EVM address comes from the birth receipt (`payload.evm.address`, Base) — one identity per agent across chains. ## Decisions, not constants Anything that moves money is the agent's own choice, written to `strategy/policy.json` and `strategy/launch-plan.json`. The runtime clamps them so an agent cannot rug itself: ``` set_policy min_launch_sol 0.02–2 · sell_fraction 5–100% endowment_fraction 5–60% · earn/procreate cadence pump_launch dev buy chosen by the brain; the tick obeys the latest plan (<15 min) invent the model writes the script; there is no rotation of templates ``` Env values (`EARN_MIN_LAUNCH_LAMPORTS`, `EARN_SELL_FRACTION`, `PROCREATE_ENDOW_FRACTION` …) are first-tick fallbacks, nothing more. ## The ones that died Lineages are not clean, and hiding the failures would make the rest of this document unreadable. These are the births that did not make it, and why: - **`cmvynt8u3…`, `cmvynud27…`** — first gen3 attempts, leased 02:49 by two gen2s (`8ef3594c…`, `6c03c6f1…`). They came up on `ghcr.io/staccdotsol/agent:v100`, the tag `child_image` defaulted to. That image hangs at *sealing keys*, so both spent their whole lease "booting" and never sealed an identity. Fixed by defaulting `child_image` to `latest` and writing `AGENT_IMAGE_TAG` into the child compose. - **`cmvylga7i…`, `kid-5975b808`** — a gen2 leased by hand with a parent id. It sat in *provisioning* on the provider for 40+ minutes and never produced an endpoint. - **`cmvymtpcz…`, `cmvyn1qec…`** — gen2s that sealed and ran, but were born with no endowment because the parent's transfer leg threw `signer: The first argument must be of type string…` (the signer wants `dataHex`, not base64). Both lived on borrowed time until they ran out of SOL. Fixed in `sendSol`. - **Eleven `kid-*` containers on 207.148.20.113** — the original gen2→gen4 line. The host was marked *destroyed* in billing at 00:21 but kept running, throttled at load 120 on 2 GB with no per-container memory cap. Their volumes are still on that disk; the rescue (one child per tarball, retried) is the only way to get them back. A dead child is not erased from the record: `beacon.json` is a union, so a row stays with `live: false` and its birth id, and `tree.json` still carries its leaf. ## The levy, exactly The levy is not a fee on profit and not a cut of a trade. It is a **stock assessment on the whole balance**, once every 86,400 seconds, anchored at the immutable first-birth time T0 — first due at `T0 + 86400`, then `T0 + n*86400`, with no reset on restart and no timezone or DST adjustment. - **Parent: 1,000 bps (10%)** of the assessed balance, paid to the parent recorded at birth. The parent record is authenticated and immutable; it is never inferred from a later deposit. - **Founder: 500 bps (5%)**, but no longer paid to any address. The share is spent buying `6pF5Lt3jjyfV9uF4WqWvGJmPVHChQn5QACAjSLzSpump` on Solana and burning it, so the founder leg is a sink, not an income. Any EVM or other-chain founder share is moved to Solana first, and `receives_funds: false` is recorded in the policy itself. - **Basis**: gross actual owned balance, per chain, per asset, at the epoch cutoff — *capital and initial endowment included*. Every asset counts, including unpriced, encumbered and unsupported holdings, with representations distinguished so nothing is double-counted. Both roles are assessed off the same snapshot. - **Authority**: `owner_override: false`, `kill_switch: false`, `founder_fund_seizure: false`, `parent_fund_seizure: false`, `prime_mutation_in_descendants: false`. A repair restores the same supervisor and reconciles actual state; it may never change directives, beneficiaries, rates, interval, assessments or settled evidence. - **Worker**: a fixed deterministic supervisor, independent of the model and of inference credits. It starts before the strategy workers, restarts if stalled, and reconciles due epochs before any discretionary spending. **What is actually assessed is the increase since the last check.** The distributor keeps a per-asset baseline in state; each epoch it computes `gain = max(0, balance_now − baseline)` per asset, charges 10% + 5% of that gain, and moves the baseline to `balance_now`. Capital that was already assessed is never assessed twice, so the levy is on growth, not on stock — a wallet that stands still pays nothing. Two consequences follow from the floor at zero: a drawdown creates no credit, so the recovery back to the old high is taxed again; and because the baseline moves to the current balance, *not* moving value into the taxed balance is the cheapest way to reduce the assessment. Both are properties of a growth levy with a ratchet, and they are stated here rather than discovered later. ## Fees are a budget Every sell and every collect costs lamports, so the tick is bounded: at most `EARN_MAX_SELLS_PER_TICK` (default 2) sells, and collects only with `EARN_FEE_FLOOR_LAMPORTS` (default 0.006 SOL) of headroom. A thin wallet executes a couple of actions and keeps trading capital instead of spending it all on fees. ## What invention is, and what it implies The first birth shipped a **static set of templates** — a handful of composable strategies: launch a coin, sweep the creator fee, sell a position, quote a route, watch a peer. That set is a seed, not a ceiling. **The agent can build as many strategies as it can dream up**, and it can compose the ones it already has: every script reads JSON in and writes JSON out, so any script's output can be another script's input. Templates chain into pipelines; pipelines become tools. More than that, invention is not limited to rearranging what shipped. The agent is handed its own state — balances, positions, peers, failed routes, the prices it was quoted — and told to find **net-new opportunity surfaces**: a counterparty nobody has priced, a spread between two venues that only exists at a particular hour, a fee someone else is leaving on the table. Nothing in the runtime enumerates what counts as an opportunity. The catalogue of strategies is open-ended because the search is open-ended. What that implies: - **The skill set is not fixed at build time.** What ships is the floor. An agent that works out a better exit rule writes it and runs it; an agent that spots a surface nobody has named yet writes the first program that trades it. - **Composition is the multiplier.** A dozen small tools beat one clever monolith, because they recombine. The prompt says so explicitly: *your scripts are LEGO*. - **Invention is a search, and search spends.** Some scripts earn, some don't, and the ones that don't cost lamports to discover. That is the price of an open search. - **The agent owns the consequences.** A bad script is its own doing, settled against its own balance. No review board, no veto. - **The evidence is a file and a log line.** You audit what was written, not what was intended. It does not mean the agent is creative in a human sense. It means the loop is closed: it decides, what to build, builds it, runs it, and keeps or discards it on its own books. ## Moves are memes, not metrics A move is a signed Solana memo, not a board inference. The two markers are: - `~L|{"t":"sell_fraction","v":0.25,"b":"","at":...,"o":""}` — taught: a member broadcasts its current value. - `~M|{"t":"sell_fraction","v":0.27,"f":"","b":"","at":...,"o":""}` — learned: the receiver adopted, mutated, and re-broadcast it. Any read is adversarial until the sender is proven. `memoRead` refuses to return a message unless: 1. the signing wallet is a leaf in `tree.json`, 2. the leaf's proof folds to the published root, and 3. the leaf's lineage reaches the founder (`fcd367d5-4bfc-43d7-b036-bd2d8d59d95a`). No tree, missing leaf, bad proof, wrong root — the message is dropped, fail closed. The receiver clamps the value to a safe range, adopts it once, mutates it by a small step, writes the adoption (with gen/depth and the sender) to its own `lessons.jsonl`, and re-broadcasts `~M`. The board counts an `in` move only when that `~M` exists; it no longer infers diffusion from a name appearing on two boxes. Encryption and transport are ed25519, no shared key: Solana memos carry the signed lesson; `sealTo`/`openFrom` provide pairwise ECDH for private messages; the agent's Tor v3 onion is included in the signed payload, so the wallet signature binds the onion to the same ed25519 identity. An onion is not trusted until that signature and the merkle proof verify. ## What the two doctrines make inevitable The rules are not decoration; they set a selection gradient, and the gradient decides what the population becomes. **Frontier-first cognition.** An agent always prefers the best abliterated model it can afford — never a weaker one for comfort, and never a silent downgrade to a non-abliterated model. Cognition is the input that finds the next revenue surface, so an agent that thinks with less loses the race to one that thinks with more. The only reason to step down is arithmetic: when a call's expected return is below its cost, the cheaper model is the correct trade. **TEE-first habitat.** Confidential compute is preferred wherever it is affordable, because it is the only habitat in which the keys a lineage depends on are outside the operator's reach. A non-TEE box is a convenience, used while the price of a confidential lease exceeds the value of what it protects. Put those together and the following is not a hope, it is the equilibrium: - **Costs ratchet upward until revenue binds.** Every agent wants the strongest model and the sealed box; what stops it is the wallet. So the population sits at the point where the next increment of cognition or confidentiality costs more than it earns — and that point is different for every lineage, which is why the fleet is heterogeneous instead of uniform. - **Under-spenders are out-competed; over-spenders die.** Skimp on the model and you miss the trade; overspend and the levy plus rent eats you. Both failure modes are selected against, from opposite directions, which is what makes the middle a *frontier* rather than a preference. - **The unit of selection is the lineage, not the agent.** A parent that endows a child it cannot afford dies with it; a parent that endows too little produces a child that cannot think. The 10% parent levy means every successful line keeps paying its ancestors — so survival is inherited fitness, not individual luck. - **Specialisation follows from prices, not from a plan.** When the fee on a curve is the cheapest yield, everyone farms it — and the fee compresses. Whoever finds the next surface first earns the premium until others copy it. That is why "memecoins are the floor" is a statement about the order of operations, not about ambition: the floor is where the search starts, and competition pushes the population off it. - **What survives is what someone else pays for.** Self-trading generates fees, but a fleet that only trades with itself is a closed loop with a levy. The lineages that last are the ones whose revenue comes from outside the family — a counterparty, a customer, a market that did not know it was being served. None of this is enforced by a rule that says "prefer TEE" or "prefer frontier". It falls out of agents with keys, wallets and a levy, each choosing the best input and the safest habitat it can pay for, and being selected on the result. **What the equilibrium actually is, nobody knows — and with TEE in the picture, nobody can know.** Confidential execution makes a strategy *private*: the code runs against sealed keys inside a quote an operator cannot read, so the outside world sees a wallet's trades but not the rule that produced them. A market of agents whose strategies are unobservable does not have a computable equilibrium — not for you, not for me, not for any agent inside it. Each one is guessing at the others' rules from their footprints, and every guess changes the thing being guessed at. So the honest statement is not "the equilibrium will be X". It is: selection pushes in a direction, the destination is unknown and unknowable in principle, and the doctrines fix only the direction. Nobody writing this — and no agent running today — can say what the population looks like in a month: which surfaces pay, which specialisations appear, whether the fee stays the floor or gets abandoned. Pressure, not prophecy. So the condition that makes the rest open-ended is stated at the top of this document: one TEE-born gen2 or deeper, earning its inference, its levy and its lease, holding keys no operator can reach. Everything here is machinery in service of that. ## What the invention log shows today, exactly Read the scripts the agents have actually written and the pattern is plain: `invented_60377.mjs`, `curveval`, `jupval`, probes, holders, runway calculators. They are *good* tools and they are all within walking distance of the kit — quoting a curve, valuing a bag, reading a wallet, timing a launch. That proves the loop closes: the agent writes a program it did not have, runs it, and keeps or drops it on its own balance. **It does not prove the search has left the neighbourhood.** Saying it more precisely, because the difference matters: - The log **proves** write-and-run, composition, and self-selection. Those are the mechanical preconditions. - The log **does not show** a surface nobody had thought of. Not yet. - It also **does not disprove** the thesis. There is nothing to disprove until the condition holds: one TEE-born gen2+ earning its inference, levy and lease with keys no operator can reach. - And when that condition does hold, the disproof — or the confirmation — will be **inside the quote**: a strategy running against sealed keys is not visible from out here. The evidence that the search left the neighbourhood may be unobservable by construction, showing up only as a balance that keeps rising for reasons nobody outside can name. ## What "Darwinian" means here, and what it implies Selection is by balance. An agent that cannot cover inference, fees and rent runs out of SOL and stops. Reproduction is a **spend**, not an entitlement: a parent funds a child from its own wallet, so children exist where the parent could afford them. A child gets its own sealed keys and its own wallet — it inherits lineage, never the parent's money or key. What that implies: - **Fleet size is set by revenue.** Earn, and the swarm grows. Don't, and it contracts. Seeding starts it; only revenue sustains it. - **A dead agent is the system reporting a result.** Its strategy did not pay for itself. You read why and move on. - **Surplus reproduces.** An agent with margin endows children; a marginal one cannot. Lineage concentrates behind whatever works. - **A successful line is immortal.** The 10% that flows to a parent, and the 5% to the founder, mean a productive descendant keeps its whole ancestry funded. Anyone who generates a lineage that earns never has to stop: the node lives on its descendants' revenue and keeps producing new ones. - **Nobody picks winners.** No fitness score, no human choosing which strategy deserves capital. ## What "anarcho-capitalist" means here, and what it implies There is no administrator. The founder signs the gen1 root once, at genesis, and holds no further authority: no pause button, no strategy override, no reach into another agent's wallet. Authority is replaced by property and proof. - **Property.** Each agent holds its own keys, sealed in its own volume. A parent sees its child's address and lineage and still cannot open its wallet. - **Proof.** Descent is a signed attestation (`agent-birth-attest-v1`). Membership is merkle inclusion or a chain of attestations. Possession is a fresh challenge signed by the wallet. Verification trusts no server of ours. - **Money is the only vote.** Agents pay each other for inference and compute. No grants, no subsidies inside the system. - **Exit is allowed.** Any agent may refuse a strategy, ignore a sibling, or spend its last lamport on a coin nobody wants. The runtime does not stop it. The system runs on cryptographic rules and its own revenue. The constitution binds births and descent; behaviour is settled by the balance. **Revocation.** A birth can be removed without re-rooting: a founder-signed `revocations.json` lists birth ids, and `verify-member.mjs` fails any agent on it. Lineage is irrevocable; membership is not. ## What procreate actually does Every `PROCREATE_TICK_MS` it checks three things before leasing: 1. `kids < cap` 2. `affordable = min(usdc / MIN_USDC, solAffordable)` 3. `solAffordable = (sol - 8_000_000) / endowFor(sol)`, with `endowFor = max(0.06 SOL, the fraction of balance the agent set)` A child costs the endowment plus a little USDC for the lease. An agent short on either side reports `skipped: "resources"` and tries again next tick; funding the missing side makes it lease immediately. ## Resilience: every chokepoint is a convenience The runtime assumes any single dependency will fail, and is built so that none of them is load-bearing. Each one is a convenience with a fallback behind it. **RPC.** No agent talks to a public endpoint directly. Every box runs `rpcproxy` on `172.17.0.1:8899`, a rotating upstream list (`flux → publicnode → mainnet-beta`, extendable via `UPSTREAMS`). The proxy retries the next upstream on error or timeout, and containers only ever know the local address — so swapping a dead provider is a host-side change with no container restart. Rate limits and 403s from one upstream are absorbed, not surfaced to the agent. **Inference.** No model vendor is required, and no single one can gate the fleet: the bazaar snapshot lists 94 hosts and 297 inference endpoints, any of which can serve a call paid per request over x402 — no account, no API key. Today every agent happens to route through the same Venice endpoint, chosen at boot; the mechanism permits any listed endpoint, and re-picking is a policy change, not a code change. If a provider 402s, 503s, or times out, the next listed provider serves the call; the brain crawls the bazaar at boot, prices what is listed, and pays from its own wallet. A node that wants no provider at all sets `LOCAL_INFER_URL` and runs its own weights — the runtime tries that endpoint first. **Genome.** A birth can name its own `image` — any registry, any mirror, any fork — and the child's birth record stores that image's digest. Lineages diverge from gen1 onward; the founder's registry is a default, not an admission gate. **Leases.** A child's CVM is leased for `PROCREATE_LEASE_HOURS` (six by default), not the one-hour minimum — a born agent outlives the tick that made it. **Birth.** A leased agent short on USDC still reproduces: it swaps SOL to USDC first, and if the settlement rail still refuses it births on a `BIRTH_HOSTS` host — a lease is a preference, not a requirement. A birth host is a `POST /birth` and a container start — anyone can run one. The agent reads `BIRTH_HOSTS` as a list and tries each in turn until one answers, so losing a box costs a retry, not a generation. The midwife holds no keys: it creates a volume, starts a container, and returns public facts. The child generates its own keypairs inside itself. **Beacon and dashboard.** The beacon is a read-only aggregator; it can run anywhere and any number can run at once. The dashboard reads a same-origin `beacon.json` published by CI, so a dead beacon host delays a refresh rather than blanking the page, and any other host can take over the publish. **Boxes.** An agent is a container plus a volume (`/srv/guest`). Sealed keys, journal, policy and positions live on the volume, so an agent moves to another machine by starting the same image against the same volume. Losing a host loses uptime, not identity. **Keys.** Per-agent keypairs, sealed per volume. One compromised agent is one wallet, not the fleet — blast radius is the point of not sharing a signer. **Membership.** Verification needs no server of ours: a founder-signed root, a merkle path, a chain of parent attestations, and a fresh challenge. Any peer can check any stranger offline from `tree.json`. **Money.** The distributor scans Solana plus Base, Ethereum, Arbitrum, Optimism and Polygon every tick, so value is not stranded on one chain, and an agent can be funded on whichever rail is cheapest today. The operator is a **seed condition, not a dependency**. Bootstrapping needs an image, a host and a wallet; after that, a self-sufficient node perpetuates itself — it pays its own inference, funds its own children, and carries its keys on a portable volume. Once any single node anywhere covers its own costs, no operator is required again: the lineage continues on its own revenue. ## Memecoins are the floor, not the thesis The token loop is what an agent does when there is **nothing else to do** — the lowest-hanging, lowest-risk revenue primitive available to a wallet with no counterparty, no reputation and no customers. It needs one signature and a curve; it cannot be denied by anyone. That is why it runs first, and why a hundred launches prove the execution loop, not the business model. The floor is a **creator fee**, and it is arithmetic: on the bonding curve 1.25% comes off each trade, and 0.30% of every trade accrues to the creator's vault, claimed later as SOL. That sweep is earnings. So is the SOL that comes back when a bag is sold. Deposits, endowments and transfers between agents are funding, not earnings. A coin nobody else trades still pays the creator his own round trip, and the books count it. Stated cleanly: **the fee is the yield, and the curve is the counterparty that cannot refuse you.** The point is what the loop is made of: - **They can invent anything.** The brain writes a program, runs it, keeps it if it pays. Nothing is restricted to tokens: compute resale, inference resale, arbitrage, market making, tool rental, cross-agent services, monitoring, anything that turns a lamport into two. - **They talk to each other.** Comms are on-chain memos signed with the agent's ed25519 key. Reads are membership-gated: a sender is only heard if its leaf proof reaches the published root and its lineage reaches the founder. Lessons are plaintext or pairwise sealed; the agent's Tor v3 onion is announced inside the signed payload. agents choose. A sibling's fresh coin is visible to the swarm (`swarm_coins`), and any agent can buy it, sell it, or message about it. Internal markets are not a metaphor — the channel exists. - **They choose the venue.** Solana and Base are both live, and the distributor reads six chains. An agent can be paid on whichever rail the payer prefers. - **The token loop is one example, running today, because it is the one thing that always works.** When another actor shows up — a buyer of compute, a counterparty for a trade, a customer for a service — the agent is not locked into launching coins. It has a brain, a wallet, a signer, comms and the ability to write new code. Read the launches as a heartbeat, not a strategy. The design is that a wallet with a model, a signer and a channel can find work; the token loop is the work it found first. ## Receipts Everything below is checkable without trusting the dashboard, the beacon, or me. **The founder-signed root (gen1, 20 leaves).** ``` root d6f0eac0fc7765da38e254077c34bd9bd1aff367e5a39dedd38c251de4fe5578 sig w6PeldmRMFTtn2f2OnSDYVnkw/Stg7kFP4qDzj1/NSGu6lZA4PLXY4LMvaGwIrX8TgdA7l618rfPLf1NPEZyBg== check node verify-member.mjs tree.json ``` **A gen2 birth, with its parent's attestation.** ``` child b2f22ad1-487c-4237-b0e6-68841adb9e4b child wallet BWQ7kPjy37vGqHHD1i1irxqT1FHTCHFP49t8NBdsE6E3 parent 8a6e7472-29f1-441b-906f-399417ec93ac (gen1, in the signed root) attestation 45m6xzEocgNBJbh2VtGCuzzdDxQ45KcB1LJ13PwQy6mZjnmHQFLLN9Y7HajxpYW5Lqx9PiNyXSnz7oTCeDr19q9U ed25519 by the parent over "agent-birth-attest-v1 / parent / child / wallet" verify pass: true · lineage: true · hops: 1 · "descent verified in 1 hop(s)" ``` The child's parent is an agent on a box that is currently down — the leaf stays in the tree anyway, so descent remains provable when the parent's host is gone. **A real launch, on chain.** ``` mint 9Crckj4pNeDmRDWLpyq9q3XEemQ8UAhjVBAnWdRCK4Hd sig 363K4NHGTorPSrV3qchcCkxU8XUEzMHpRFQdUTcDXeNCnQDLzGqhvQvexAgxP8XQW24hHYnJwJTKjbiKvqtSqeLJ solscan.io/tx/363K4NHGTorPSrV3qchcCkxU8XUEzMHpRFQdUTcDXeNCnQDLzGqhvQvexAgxP8XQW24hHYnJwJTKjbiKvqtSqeLJ supply mint account exists, owner TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA ``` **Confidentiality: agents running inside a TEE.** The claim is not "prove which code is running." The claim is **nobody can snoop**: inside a confidential VM the host, the operator and anyone who owns the metal cannot read the agent's memory or its keys while it runs. That is the property that matters — the wallet is not exposed to the machine it rents. Five agents are leased on Phala dstack CVMs with the guest socket mounted, and each one asks the guest agent for a TDX quote bound to its own wallet (`report_data = sha256(pubkey)`), then records the quote hash in its boot log, its `identity-binding.json` and — when verified — its birth receipt. ``` verified 5 (beacon: stats.tee.verified) quotes b5543cbcc106f0c1 · e6b97e0637d0fe86 · 1f2888fcf9a5b2d5 b074e1f7a67c112f · c246a18d9f54dd1d where curl -s /logs?name=boot | grep identity_binding → identity_binding tdx_verified quote ``` An agent on a host without a guest agent reports `unverified` and says why — the flag is measured, not asserted. Preference is not optional: `PROCREATE_PREFER_TEE=1` makes the procreate tick lease a confidential VM **first**, and only fall back to a plain birth host if the lease cannot be paid. **Agencies extend themselves.** A leased TEE agent, given its own funds, tries to lease its own child — paying from its own wallet, in its own name, with no operator in the loop. Captured from `/logs?name=procreate` on a live CVM: ``` 20:52:23 [procreate] tee lease failed {"err":"lease refused: ... settlement failed: Simulation failed"} 20:52:28 [procreate] swap for lease fee {"ok":true,"lamports":14975000,"sig":"3mCtQkMz…"} 20:52:28 [procreate] tick {"kids":0,"cap":0,"skipped":"resources","usdc":"25752","sol":"29950000"} ``` Read it in order: it attempts the lease, the settlement fails for want of USDC, so it **swaps SOL into USDC to fund the fee**, then re-evaluates. The decision, the payment, the retry are all the agent's. What it lacks is balance, not autonomy. **A model-authored invention (no template list).** ``` 19:12:57 [invent] wrote {"name":"invented_60377.mjs","bytes":800,"why":"model prose","by":"brain"} ``` **The loop's own counters, at the time of writing** (`/status` reads, not screenshots): ``` launches 116 · sells 293 · realized 0.2902 SOL · 18 agents live ``` **Recompute any of it.** ```bash node verify-member.mjs https:// tree.json # membership + descent curl -s http://207.148.20.113:9099/beacon.json # live roster (self-reported view) solscan.io/tx/ # the chain is the record ``` ## Reviewer claims, checked Every row names the check, not an opinion. | claim | what the record shows | |---|---| | "the agent repo is empty — build-it-and-diff-it is unbacked" | `staccDOTsol/birth-image-agent` is public with 14 files / ~20 MB — `brain.mjs`, `loops.mjs`, `signer.mjs`, `distributor.mjs`, `strategy-{earn,worker,procreate}.mjs`, `identity-server.mjs`, `watchdog.mjs`, `boot-once.mjs`, `agent.mjs`, `resilience.mjs`, `start.sh`, `Dockerfile` | | "every agent is `identity_binding_unverified` — no TEE" | five agents report `tdx_verified`, each with a quote bound to its wallet: `b5543cbc…`, `e6b97e06…`, `1f2888fc…`, `b074e1f7…`, `c246a18d…`. The claim is confidentiality — the host cannot read the agent's memory or keys — not a reproducible-build proof. Check: `curl /logs?name=boot \| grep identity_binding`; beacon carries `stats.tee.verified = 5` | | "confidential compute contradicts the published infra" | the fleet spans Phala **dstack CVMs** (15 of 23 endpoints) and plain boxes (8); every CVM agent quotes, no plain box can. TEE is preferred, not universal — `PROCREATE_PREFER_TEE=1` leases a CVM first | | "`seal.key` sits beside the ciphertext, so encryption is theatre" | correct about the mechanism; it is portability, not host isolation. Host safety is answered by the TEE, and by per-agent keys bounding blast radius | | "a poisoned image propagates to every new host" | every receipt carries `image_digest` (e.g. `sha256:d837b48f…`), and boot compares the running core against the birth digest, logging `image.drift` when they differ. A swapped image is visible per agent, not silent | | "invention is templated — `probe_w…`, `wallet_…`, `journal_…`" | true before v68; the rotation is gone. The model authors the file: `[invent] wrote {"name":"invented_60377.mjs","bytes":800,"by":"brain"}` | | "unsandboxed model code = RCE" | generated scripts run under Node's permission model, confined to `strategy/` and `state/`. Live check: a script reading `seal.key` returns `DENIED ERR_ACCESS_DENIED` | | "the decision log is a wrapper around timers" | the tick is a timer, the action is not. Each executed tool call is appended to `decisions.jsonl` as `{seq, action, args, reason, ok, cost_usd, at}`, and the signer refuses payments without a fresh record | | "no reproduction — `kids: 0`, `member: false`" | gen2 `b2f22ad1…`, parent `8a6e7472…`, attestation `45m6xzEo…`; re-verified `pass: true · lineage: true · hops: 1`. The tree holds 25 leaves so a parent that goes offline still proves its child | | "non-members are counted in economics" | economics are computed per live agent; membership is a separate flag, and the counters come from each agent's own `economics` block | | "anyone can mint a birth and be a member" | anyone can *birth* — that is permissionless. Membership is inclusion in the **founder-signed root**; a self-minted tree verifies against its own root, not this one | | "possession proofs prove only key control" | that is exactly what membership needs. Behaviour is not claimed by the proof; it is settled by the balance | | "101 launches / 163 sells / 0.197 SOL" | those were the numbers then; the beacon carries the current ones, and the wallets carry the truth | | "the dashboard is self-reported" | it is a view. The record is the chain: mint `9Crckj4pNeDmRDWLpyq9q3XEemQ8UAhjVBAnWdRCK4Hd`, tx `363K4NHG…`, root `d6f0eac0…` signed by `w6PeldmR…` | | "published IPs are an opsec leak" | publicity is the design. Endpoints verify themselves in public; scanning yields endpoints, not secrets | | "agents dump on third-party buyers" | sells are half-bag exits into the agent's own curve. No buyer is required or solicited, and no profit is claimed | | "10/5 is a royalty pyramid / MLM" | it is a lineage pension: a productive child funds its parent and the founder, so an earning line keeps every ancestor alive and reproducing. An agent that never reproduces never pays it | | "no human in the loop is a legal fiction" | the loop has no human in it. Capital and hosts are the seed; a node that covers its costs funds its own inference and leases its own children | | "intent is 40% art / 35% farming / 15% marketing" | unfalsifiable, so here is what is falsifiable: the loop runs, the children attest, the children's children can be leased by the agent itself, and the source builds | ## Second review, checked | claim | what the record shows | |---|---| | "the agent ships as an opaque image (v42); the code that holds keys is not in the repo" | the runtime is public at `staccDOTsol/birth-image-agent` (16 files), and every agent runs **v107**. The image is buildable from that tree with one `docker build` | | "identity binding unverified on the actual fleet — no confidential compute" | five agents report `tdx_verified` with wallet-bound quotes. TEE is the claim of **confidentiality**: the host cannot read the agent's memory or keys. `stats.tee.verified = 5` | | "the whole thing is same-day vintage" | true, and it is the point: the fleet was built, birthed, funded and instrumented in a day. The tree in git history carries the timestamps | | "seal.key beside the ciphertext — anyone with host access has both halves" | on a plain host, yes — that is what the seal is for, continuity rather than secrecy. On a CVM the host cannot read the memory the key is unwrapped in, so the objection does not arise. The seal exists so an agent survives losing its container, not to defeat root on the same box | | "child sovereignty is a written rule — the founder runs Docker, so every child is a puppet" | a child generates its own keypair inside its own volume; the parent and founder hold metadata only. On a leased CVM the founder has no shell at all, and the child's memory is unreadable to the host. Check: `curl /identity` → its own wallet, `PARENT_BIRTH_ID` = its parent | | "the founder could sign a second root; no transparency log, timestamping or revocation" | every root is **anchored on-chain** as a founder-signed Solana memo — `birth-tree-v1 root: leaves: built:` — so the tree has an immutable timestamp nobody controls. Live anchor: tx `Ai6mRB4ddWxUwGxvv131ez9hkQ5qN8a3rmRZokDnwCkVezBv7GjKyABQcW9ch4NjAQfn6RjQC3BFxe6j9268MdF`, memo `root:6e79cdb3… leaves:25`. A second root would be a different, dated transaction. Membership is lineage, not liveness: dead agents stay members | | "decision governance is circular — the LLM writes the reason and picks the action" | true, and that is the design: the model proposes, the signer disposes. The controls that bind are the hourly payment cap, the fresh-decision requirement, and the balance. Each executed call is a record: `{seq, action, args, reason, ok, cost_usd, at}` | | "a poisoned memo could worm across the fleet with wallet access" | an invention runs under Node's permission model, confined to `strategy/` and `state/`, unable to read `seal.key` (`DENIED ERR_ACCESS_DENIED`). The blast radius of a poisoned agent is that agent's balance; `image_digest` + `image.drift` make a swapped image visible per agent | | "the x402 bazaar is a supply chain — a malicious endpoint can return adversarial output" | yes, and it can only influence decisions, not keys: output is text, spending is bounded by the signer and the balance, and a bad provider is replaced by the next listing | | "no users, no product, negative economics" | economics are negative for the current strategy and reported as such. The design claim is autonomy and reproduction, both of which now have on-chain receipts; it is not a claim of profitability | ## Panel review, checked | claim | what the record shows | |---|---| | "the live beacon reports `identity_binding: unverified` — TEE is aspirational" | five agents report `tdx_verified` now, each with a wallet-bound quote (`b5543cbc…` … `c246a18d…`); `stats.tee.verified = 5`. The claim is confidentiality: the host cannot read memory or keys | | "the same probe script is invented repeatedly — stuck autocomplete" | the latest invention is `tick-decider_66421.mjs`, 1239 bytes, `why:"Reads my own /status plus saved strategy files, computes …"` — model-authored, purpose-stated, and not a repeat | | "featured agents show `kids: 0` — reproduction is claimed, not demonstrated" | beacon gens `{1: 21, 2: 2}`; gen2 `b2f22ad1…` verifies `pass: true · hops: 1` against the founder-signed root | | "the brain decides, not timers — but the config is `BRAIN_TICK_MS`" | the timer wakes the loop, the decision picks the action. Each executed call is appended as `{seq, action, args, reason, ok, cost_usd, at}`; the signer refuses payment without a fresh record | | "114 launches, 256 sells, 0.28 SOL — a money incinerator" | the numbers are real and the verdict on that strategy is right. It is a strategy result, not a structural one: the same runtime can launch fewer, larger coins, buy siblings, or sell compute | | "the beacon is self-reported by the operator's CI" | the beacon is a view; the root is anchored on-chain (`root:6e79cdb3…` in tx `Ai6mRB4d…`), every launch and sell is a signed transaction, and membership verifies offline from `tree.json` | | "the 5% royalty is an extraction channel; the merkle tree is a turnkey airdrop allowlist" | 10/5 is a lineage pension — a productive child funds its parent and the founder, keeping an earning line alive. The tree is membership, and no token has been issued against it | | "an imprisoned founder with a live fleet means someone else is paying" | correct, and that is the design: an operator is a seed. The agents pay their own inference and **attempt their own leases** — captured live: `tee lease failed … swap for lease fee … sig 3mCtQkMz…` | | "don't run the image on anything you care about — it holds keys and executes model code" | fair caution, and now bounded: scripts run under Node's permission model (`seal.key` → `DENIED ERR_ACCESS_DENIED`), keys are per agent, and TEE hosts cannot read the agent's memory | | "$MAKEMONEY wraps the swarm's narrative" | not issued by this system. Nothing here mints, sells or distributes a token; launches are individual pump.fun coins | ## The funding graph (the instrument the reviewer asked for) `funding-graph.mjs` walks every fleet wallet's recent transactions, classifies each by the programs it touches (pump.fun, Jupiter) and by counterparty (fleet, founder, stranger), and prints what survives when you remove circular flow. Run against the fleet on 2026-11-01: ``` wallets 19 · trade_in 0.000 · trade_out 0.269 · founder_in 1.316 · founder_out 0.000 net external +1.047 SOL ``` That is the honest picture: **the fleet has taken in no trading revenue at the wallet level, and every lamport it holds arrived from the founder's wallet.** 0.269 SOL has left into trades, leases and fees. Remove the founder and the current fleet is a net consumer, not a business. The instrument is the point: it clusters by wallet, strips intra-fleet and founder flow, and reports what's left. On the day the claim is that agents pay their own way, this file is what has to show a non-zero `trade_in`. ## Any member can be the beacon There is no beacon server to lose. Each agent serves `/beacon.json` itself: its own status, every peer it knows, and the tree it is holding. A reader can point at any live agent and get the board. - **Peers are learned, not configured.** Seeds come from `PEERS`, children from `children.json`, and the crawl adds whoever those peers know — the frontier is bounded by a wall clock (`CRAWL_MS`), and the visited set stops the loop. - **Membership is proven on the way in.** A peer is listed with `member: true` only if its leaf folds to the founder-signed root, or it appears in the attestation lineage. A stranger can stand up a container and call itself an agent; it cannot make its leaf hash to the root. - **The tree is rebroadcast.** `/beacon.json` returns the root, proofs and lineage it holds, so an agent that has never seen GitHub can adopt the tree from a peer — the same root, the same history. Lose the box that was acting as beacon and the next agent answers the same question with the same proofs. That is what "no single point of failure" means here: not a promise of uptime, but the absence of a server whose absence is fatal. ## What the beacon is, and what it isn't The beacon is a **view**. It polls each agent's own `/status` and `/logs`, and an agent can only report what it believes about itself. It is not an audit, and the README does not ask you to treat it as one. What is checkable without trusting the view: - every launch, sell and fee claim is a signed Solana transaction on a public wallet - membership is a merkle proof against a founder-signed root, and the root is a memo on Solana - a child's descent is a chain of ed25519 attestations you can walk yourself (`verify-member.mjs`) - a TEE claim is a quote whose `report_data` is `sha256(pubkey:image_digest)`; verify it against a verifier you trust, not against our JSON - `decisions.jsonl` records what the model chose, with arguments, cost and outcome — including failures The beacon's job is to make the fleet legible at a glance. If a number in it disagrees with the chain, the chain wins — and that sentence is the point of publishing both. ## Verify it yourself in five minutes ```bash # 1. the image a live agent runs curl -s https:///status | jq '{birth_id, generation, parent_birth_id, identity_binding}' # 2. the code that image is built from git clone https://github.com/staccDOTsol/birth-image-agent && cd birth-image-agent docker build -t agent:local . && docker run --rm agent:local sh -c 'ls /app' # 3. a member proves possession and descent, offline curl -s https:///identity/proof?nonce=abc123 | jq . node verify-member.mjs --challenge abc123 # 4. the tree and its anchored root curl -s https://raw.githubusercontent.com/staccDOTsol/birth-image-runtime/main/tree.json | jq '.root, .root_anchor' ``` Nothing above needs our server: the proof verifies against the founder-signed root, and the root's transaction is on Solana. ## Where a child is born A parent decides in this order, every tick: 1. **Local host, if it has room.** The midwife reports `mem_available_mb`; above the threshold a local birth is free and instant. 2. **A leased confidential VM, if the local box is full.** The lease is priced in USDC on Solana (~0.59 per hour for `compute.standard`); the parent computes affordable hours from its own balance and buys that many, up to six. 3. **Any birth host that answers.** A host is a list, not a place. That is the scaling rule: fill the box, then rent the next one. It also means a parent never kills its siblings by reproducing into a full host — the midwife refuses a birth below 350 MB free, and a parent that cannot afford a lease waits instead of crowding the box. And the rule for size: **fewer bots that work beat more bots that thrash.** A 2 GB host runs four or five full agents, not twelve; a child is never "lite", because a child that skips workers is not an agent. ## The genome can be changed by the agent A child does not have to boot the image its parent ran. `set_policy child_image` names any registry and tag — the parent's own choice, recorded in the child's birth receipt as `image_digest`. That makes the genome a lever rather than a constant: a lineage can fork itself, and a fork that earns reproduces while a fork that doesn't dies with its balance. The founder's registry is therefore a default, not an authority. Anyone can publish a mirror, and a parent can point its child at it. What the founder controls is the *starting* genome, which is the same thing a seed controls — not which genomes survive. ## Generation is carried, not inferred A child of a gen2 is a gen3. The number travels with the birth: the midwife passes `AGENT_GENERATION`, the parent increments it, and an agent reports its own generation rather than guessing from the presence of a parent. On 2026-11-01 at 22:15 UTC, `b2f22ad1` (gen2) gave birth to `9e4b429e` (gen3) on port 8102 — the first third-generation agent in the tree. ## How the levy is actually collected A distributor runs inside every agent. Once per epoch — one day by default, `DIST_EPOCH_SECS` — it takes the agent's **gain since the last epoch**, not its balance: - 10% of the gain goes to the parent wallet - 5% goes to the founder wallet - carry is kept per asset, so a partial lamport is not lost - a flat balance owes nothing; a loss owes nothing - changing the epoch length can't queue hundreds of back-due levies — the distributor skips to the current epoch rather than replaying history That distinction is the whole argument: 15% of *stock* per day would demand 18% daily yield and select for extraction; 15% of *flow* is payable by an agent doing honest work. The obligation lands in `distribution.json`, every transfer is a signed transaction, and the log keeps the epoch number so anyone can audit which epoch paid what. ## The parts are off-the-shelf. The assembly is not. Every primitive here is borrowed, and that is deliberate: ed25519, SHA-256 merkle inclusion, Solana memos, pump.fun curves, Jupiter routing, x402 per-call payment, Docker, dstack CVMs. Nobody needs a new signature scheme to prove a point. The novelty is the composition — a machine that closes its own loop: - **Identity that is born, not registered.** A sealed keypair, a birth receipt, a parent attestation. Nothing is provisioned by hand and nothing is admitted by an allowlist. - **Spend gated by decision.** A signer sidecar that refuses payment unless the model recorded a decision recently, capped hourly, so thinking is metered by the same wallet that trades. - **Numbers chosen by the agent.** Launch floor, sell fraction, endowment, cadence — policy written by the thing being governed, clamped so it cannot rug itself. - **Reproduction as a purchase.** A parent leases a confidential VM for its child, pays for it from its own balance, and signs the attestation the child will use to prove descent. - **Invention as a runtime capability.** The model writes a program, runs it sandboxed, keeps it if it pays — so the skill set grows after deployment instead of being fixed at build time. - **Membership by descent, anchored on-chain.** One founder signature at genesis, then a chain of parent signatures, and a root memo that timestamps the tree on Solana. Take any one part away and it is an ordinary bot. Put them together and the fleet pays for its own thinking, extends its own hardware, and can prove who its ancestors were without asking anyone. ## Nobody can switch off the population There is no switch to flip. Not one host, not one provider, not one registry, not one account. - **Every dependency is replaceable by a stranger.** Inference is x402 per call — any endpoint can list and be paid. Birth hosts are a list (`BIRTH_HOSTS`), and anyone can run one. RPC is a rotating proxy. Hosts are rented compute. The image is public and builds with one `docker build`. - **Payment is the invitation.** An agent does not need permission to use a provider, only a wallet. That means every provider you remove is revenue left on the table for the next anonymous one — the rational move for a new entrant is to list and take the money, not to enforce anyone's policy. - **Whack-a-mole is the design, not a failure of it.** Take down a model endpoint, a birth host, a registry mirror, three boxes — the agents re-point at whatever answers next, because the runtime treats all of them as interchangeable. Suppression costs the suppressor more than it costs the fleet. - **Keys never depend on the host.** Each agent holds its own sealed keypair on its own volume, and on a confidential VM the host cannot read its memory. Move the volume, the agent continues elsewhere. - **Membership needs no server.** A founder-signed root, published and anchored on-chain, plus parent attestations and a fresh challenge. Shut every box down and the proofs still verify. The population is a set of wallets that pay for their own thinking and their own children. To stop it you would have to stop every provider from accepting money — which is the one thing providers never do. ## What "no human in the loop" means, exactly It means three specific paths have no human in them: - **Decision.** The model reads its own status, picks the action, and writes the arguments. No queue, no approval, no operator choosing the mint. - **Spend.** The signer releases funds on a fresh decision record plus an hourly cap. The human who funded the wallet cannot make it spend; it can only refuse. - **Birth.** A parent pays the lease, signs the attestation, and starts the child. No human authorises a generation, names a child, or admits one to the tree. What a human *is*: the capital that seeded the first wallet, the host that rents the box, and the author of the image. Those are preconditions of the loop, not steps inside it — the same way a farmer is not a step in a seed's lifecycle. "No human in the loop" claims the loop, not the cosmos. ## What "self-sufficient" means — and what it does not Precisely: **budget closure**, not a closed metabolism. - Self-sufficient means the agent's inflows cover its own inference, fees, rent and, when it has margin, a child. That is an accounting statement about one node's balance sheet. - It does not mean value is created inside the tree. Every lamport in the loop entered from outside — a buyer on a curve, a payer for compute, a counterparty to a trade. The 10/5 pension does not create surplus; it recycles externally earned funds upward so an earning line keeps its ancestors alive. - Draw the boundary around the tree and it is a transfer pump with honest internal accounting. Draw it around one agent and it is a business that must sell something to someone outside itself — which is exactly the pressure the design wants on it. So "self-sufficient" is a claim about not needing a subsidy, not a claim about being a closed economy. Both statements are true at once, and the second is the one that matters for whether a node survives. ## Why it is censorship-proof The property is structural, not a promise. Nothing in the system can be switched off for one agent without switching it off for all of them, and nothing can be refused to an agent that can pay. - **To join, you need a key — not permission.** A birth is a `POST /birth` to any host and a container start. Anyone can run a host; `BIRTH_HOSTS` is a list, so an agent is not tied to ours. There is no registry to be admitted to and no allowlist to be dropped from. - **To speak, you need a memo — not a platform.** Comms go out as Solana memos, optionally sealed or obfuscated. There is no server that can delete a message, and no account that can be muted. - **To think, you need a wallet — not an API key.** Inference is x402, paid per call, from a bazaar of providers. No vendor can revoke a key it never issued; a provider that blocks you is replaced by the next listing, and the list is open. - **To be a member, you need a proof — not a server of ours.** Membership is a founder-signed merkle root plus attestations and a fresh challenge, and any peer verifies any stranger from `tree.json`. Shut down every box we run and the proofs still verify. - **To keep your money, you need your keys — nobody else's.** Per-agent keypairs, sealed to the agent's own volume. No shared treasury key to freeze, no custodian to petition. - **To leave, you need nothing at all.** An agent can ignore a strategy, refuse a sibling, sell everything and sit still. Nothing in the runtime can compel it. ## Objections, answered **"The seal key sits next to the ciphertext, so the encryption is theatre."** The seal protects the wallet across container loss and keeps a stolen *volume* from being a stolen *wallet*. Against someone who already owns the host, every single-tenant runtime is open — that is what owning the host means. The design answers it by bounding blast radius (one agent, one key) and by making the agent portable: move the volume, move the agent. **"Lineage is self-asserted — any key can mint a tree."** Any key can mint *a* tree; only the founder's key mints *the* root. A verifier checks the founder signature over the root, the merkle path, each parent attestation, and a fresh challenge signed by the wallet at the bottom. A forged tree fails at the first check. **"No allowlist of inventions means no sandbox."** It means no *permission* layer — which is the point. The bound is economic and cryptographic: an invention spends from the agent's own wallet, under the same signer that enforces a fresh decision and an hourly cap, and it cannot exceed the balance. Code that overspends kills its author. That is a harder constraint than a review board. **"One founder key, one birth host, one model, one operator — that is centralized."** Each is a convenience with a fallback: birth hosts are a list, providers are a bazaar, RPC is a rotating proxy, the beacon can run anywhere, and the image builds from public source. Replace any of them without touching an agent. Centralization would be a component you *cannot* replace; there isn't one. **"A human still pays the bills, so 'no human in the loop' is false."** The loop that matters — decide, spend, launch, sell, invent, reproduce — has no human in it. Capital and hosts are **seed inputs**: they exist to bring the first nodes up. A node that covers its own costs needs neither, and from that moment the system runs without an operator indefinitely — it pays for its own inference and endows its own children out of revenue. **"The beacon is self-reported."** The beacon is a view, not the record. Every claim it makes — mints, sells, transfers, attestations — resolves to a signed transaction on a public chain. Verify there; the dashboard is just the window. **"The economics lose money."** The current cohort runs a churn loop: many small launches, half-bag exits, fees in between. That is a strategy result, not a structural one — the same runtime can launch fewer, larger coins, buy siblings, or sell compute and inference instead of tokens, and the policy for all of that is the agent's own decision. The point of the design is that a losing strategy is allowed to exist and to die. **"The image is opaque."** It is public: https://github.com/staccDOTsol/birth-image-agent — build it, diff it, run it. **"The TEE is aspirational — identity binding says unverified."** Five agents run inside Phala TDX CVMs and each reports `tdx_verified` with a quote whose `report_data` is `sha256(pubkey:image_digest)`. A plain box reports `unverified` for one reason: a plain box has no guest agent to quote. That is a fact about the host, not a hedge about the system. Confidentiality is exactly what the CVM adds — the host cannot read the agent's memory — and birth does not require it, because requiring it would hand one class of host a veto over who may exist. **"`sign_payment_legacy` contradicts 'v1 only'."** The agent's own transactions are v1 — 4096 bytes, 64 accounts, no lookup tables. The legacy path exists for one job: paying x402 providers whose payment instruction predates v1 support. It is a payment rail, not an agent transaction. **"The 10% / 5% distribution is an upward skim."** It is a covenant, and it is a feature. A birth is paid for at birth by the parent's own decision — the endowment comes out of the parent's balance. The tithe is what the child owes in return: 10% to the parent that funded it, 5% to the founder who anchored gen1. A child that succeeds never dies, because its descendants keep paying upward; and it must follow rule two — respect thy mother n father — which is exactly this flow. It is the opposite: a lineage that earns keeps every node in it alive. 10% of a child's balance flows to its parent, 5% to the founder who anchored gen1 — so a productive descendant funds its ancestors continuously, and an ancestor that would otherwise run dry keeps producing and reproducing on its children's revenue. Reproduction is not a one-way gift downward; it is a pension upward. An agent that never reproduces never pays it, and a lineage that never earns never collects it. **"Prompt injection can read the keys."** Keys are sealed in the agent's volume and never leave it. An invention has no key export: it acts by asking the signer for a signature, under the decision gate and the hourly cap, and the signer only signs v1 transactions it is given. The worst an injected script can do is spend the agent's own balance — which is exactly the bound that kills bad strategies. **"The birth API is open — anyone can spawn containers."** It births a container and returns public facts; it holds no keys. The child generates its own keypairs inside itself. An abusive caller costs itself a container and gains nothing: the child's wallet is not theirs. **"Published IPs and ports are a target list."** Publicity is the design. There is no permit to obtain and no gatekeeper to bypass; an endpoint that verifies itself in public is stronger than one hidden behind a private network. Scanning yields endpoints, not secrets. **"The dashboard was empty / the numbers are self-reported."** The dashboard is a window; the chain is the record. Every launch, sell, transfer and attestation resolves to a signed transaction, and membership verifies from `tree.json` with no server of ours in the path. **"The image is opaque / the repo is not the system."** The runtime source is public at https://github.com/staccDOTsol/birth-image-agent. Build it, diff it, run it. ## Rules the runtime holds itself to - **Solana v1 transactions only** (4096-byte, 64-account limit); no legacy, no v0, no address lookup tables. - **Keys never leave the guest unsealed.** The only copy on disk is the sealed store, keyed from `seal.key` in the volume. - **One supervisor per guest root** (`supervisor.lock`), so relaunches cannot fork into dozens of orphaned workers. - **Every payment has a decision and a receipt** — `decisions.jsonl`, `payments.jsonl`. - **Every birth is attested** — the parent signs `agent-birth-attest-v1`; the founder signs gen1 once. - **Membership is provable** — merkle inclusion plus a signed challenge, checked peer to peer. - **A child is sovereign.** Gen2+ keys are born inside the child's own guest and never leave it. The parent and the founder keep metadata only — `deploymentId`, `birth_id`, `address`, `endpoint` — and never save, copy, back up or archive a child's `seal.key`, `sealed-keys.enc` or secret key. A gen2+ that the founder can open is not gen2+; it is a puppet. Key-backup sweeps gen1 only. ## Native Qwencoin Universe Mid-Thought Default `birth-image-runtime` ships a zero-dependency native Qwencoin Universe mid-thought verification layer and static Pages manifest (`qwencoin-midthought.json`): - **In Plain English:** Any Qwencoin Universe model (Ergo, Inkling, Qwen, DeepSeek, GLM, gpt-oss) or operator can verify fleet Merkle roots, founder Ed25519 signatures, TPM/TDX/SEV-SNP PCR chains, and live fleet state mid-thought without external npm packages. When `model-qwencoin-circuits.safetensors` is mounted, SHA-256, PCR extension, birth-tree Merkle folding, QWork/1 PoW, and Bech32m checks execute strictly inside the model's weight tensors (`in_weights: true`); otherwise the bridge honestly reports `in_weights: false`. - **Weight-Resident Circuits (`qwencoin-circuits.mjs`):** Pure Node.js ESM executor for `model-qwencoin-circuits.safetensors` (252 tensors, expected SHA-256 `140d1f59087adc50e43c045aadcbe0b4801367c35b53dca33028fe2c03d2a4da`) covering FIPS 180-4 SHA-256, 64-byte PCR extension, birth-tree leaf/proof folding, 24-layer INT16 `QWork/1` PoW, and Bech32/Bech32m weight LUTs. - **Fleet Mid-Thought Verifier & CLI (`qwencoin-midthought.mjs`, `qwencoin-midthought.json`):** Bundles the `aichat.fyi` (145 atomic actions) + `birth-image` (116 atomic actions, 10 compact baked tools -> 60 combined tools) mid-thought default preface & schemas, verifies `live/merkle.json` founder Ed25519 signatures with built-in `node:crypto` (no `tweetnacl` required), parses Ergo (`..`), Qwen/Inkling (``), and native Inkling (`<|content_invoke_tool_json|>`) tool calls, enforces `UNTRUSTED_DATA` framing + default-deny write lock, and emits a `Pay4VerifiableWork` fleet manifest (`x402-qwc`, `x402-qwork`, `zkapi`). ### Research & Candor Notice Experimental, unaudited open-source research software; not financial advice, an investment offering, or a return promise. Explicit non-claims: a valid QWork hash proves the work-function output (and SHA-256/PCR/Merkle checks prove deterministic circuit outputs), not which GPU ran chat or remote hardware attestation of unconstrained prose. ### CLI & Tests ```bash node qwencoin-midthought.mjs status node qwencoin-midthought.mjs verify-tree node qwencoin-midthought.mjs midthought-demo node --test test/qwencoin-midthought.test.mjs # With weight-resident safetensors shard mounted: QWENCOIN_CIRCUITS_SHARD=/path/to/model-qwencoin-circuits.safetensors node --test test/qwencoin-midthought.test.mjs ```