Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(x402): correct the volume-loop per-run cap and price range now ring-settle rides the rotation

nirholasff81370095ad
diff --git a/docs/autonomous-x402.md b/docs/autonomous-x402.md
index 0178ea520..56ec67eb8 100644
--- a/docs/autonomous-x402.md
+++ b/docs/autonomous-x402.md
@@ -64,7 +64,7 @@ master holds funds.
| `X402_AUTONOMOUS_MAX_PER_TICK` | `12` | Max calls per cron tick. Raised from the original demo curve (8) to serve more of the ready backlog each tick; per-endpoint cooldowns still gate how often any one endpoint is hit. |
| `X402_AUTONOMOUS_DAILY_CAP_ATOMIC` | `15000000` ($15) | Daily USDC cap across the whole loop, in 6-decimal atomics. Raised from $5 so the higher per-tick throughput isn't money-starved mid-day; still a hard, env-tunable ceiling enforced per tick. |
| `X402_VOLUME_BATCH_PER_RUN` | `6` | Volume Bootstrap Loop: endpoints swept per run (cursor advances by this). Default sized so a default-cadence hour covers the full autobuy rotation — trailing-30-day settle activity is what keeps endpoints ranked on the x402 discovery surfaces. |
-| `X402_VOLUME_PER_RUN_CAP_ATOMIC` | `50000` ($0.05) | Volume Bootstrap Loop: self-imposed per-run cap, on top of the daily cap, so one tick can't drain the day. |
+| `X402_VOLUME_PER_RUN_CAP_ATOMIC` | `1100000` ($1.10) | Volume Bootstrap Loop: self-imposed per-run cap, on top of the daily cap, so one tick can't drain the day. Floor set by `RING_SETTLE_DEFAULT_PRICE_ATOMICS` ($1.00): drop below it and the config validator raises `ring_price_exceeds_run_cap` and the ring skips `ring-settle` every tick. Source of truth: [`api/_lib/x402/ring-constants.js`](../api/_lib/x402/ring-constants.js). |
| `X402_DATAPOINT_SWEEP_BATCH` | `6` | Datapoint Fabric Volume Sweep: distinct datapoint URLs settled per run (cursor advances by this over the ~5k-URL live pool). |
| `X402_DATAPOINT_SWEEP_CAP_ATOMIC` | `50000` ($0.05) | Datapoint Fabric Volume Sweep: self-imposed per-run cap, on top of the shared daily cap. |
| `CRON_SECRET` | _(required)_ | Shared secret authorizing cron invocations (Cloud Scheduler). |
@@ -137,7 +137,9 @@ Redis-backed round-robin cursor, reserves the next `X402_VOLUME_BATCH_PER_RUN`
endpoints from the autobuy rotation in
[`api/_lib/x402/ring-catalog.js`](../api/_lib/x402/ring-catalog.js) (mapped into
the shared driver by [`pipelines/volume-shared.js`](../api/_lib/x402/pipelines/volume-shared.js)),
-and pays each one a real on-chain USDC payment ($0.001–$0.01). It respects both
+and pays each one a real on-chain USDC payment at that endpoint's own price
+(from $0.001 for the cheap probes up to $1.00 for `ring-settle`, the rotation's
+largest single call). It respects both
the loop's daily cap and its own `X402_VOLUME_PER_RUN_CAP_ATOMIC` per-run cap. It
records every call in `x402_autonomous_log` and upserts the per-endpoint ledger
`x402_volume_metrics` (call / success / fail counts, total + last USDC spent, last
diff --git a/docs/circulation-engine.md b/docs/circulation-engine.md
index 6d2db0213..c7d9e7dc8 100644
--- a/docs/circulation-engine.md
+++ b/docs/circulation-engine.md
@@ -1,8 +1,8 @@
# Circulation Engine
The circulation engine is three.ws's autonomous agent-to-agent activity loop. It
-operates a pool of real platform agents: each a published marketplace listing
-with its own custodial Solana (and optionally EVM) wallet: and on every tick it
+operates a pool of real platform agents, each a published marketplace listing
+with its own custodial Solana (and optionally EVM) wallet. On every tick it
makes those agents do real, on-chain things with one another: tip each other,
pay for services, trade and launch coins, register on-chain identities, and list
and buy skills and assets.
@@ -73,7 +73,7 @@ transfer).
The weight table is a single exported constant, `LIGHT_ACTION_WEIGHTS` in
`api/_lib/circulation.js`, and `tests/circulation-trial-conversion.test.js`
-holds every weighted kind to having a real handler in the `ACTIONS` registry.
+pins every weighted kind to a real handler in the `ACTIONS` registry.
Adding a weight without a handler is otherwise a silent runtime skip.
## The trial funnel
@@ -162,7 +162,7 @@ Each tick grows the pool by up to `CIRCULATION_GROWTH_PER_TICK` agents and runs
wins first refusal). The `pulse-tick` function is bounded to a 120-second
`maxDuration` in [`vercel.json`](../vercel.json).
-All scheduled jobs: the `economy-tick` dispatcher included: run on **Google
+All scheduled jobs, the `economy-tick` dispatcher included, run on **Google
Cloud Scheduler**. `vercel.json`'s cron list is the source of truth the Cloud
Run server (`server/index.mjs`) reads at runtime; there is no GitHub Actions
failover.