spark-pool¶
Status: Draft — the spec is under active review. Nothing here is built yet.
spark-pool is a federated pool of DGX Sparks (and similar machines) for continuous, agent-driven inference experiments. Agents submit work; the pool schedules it, executes it with full profiling, and returns validated results.
The pool optimizes for useful experiments per agent-dollar, not raw GPU utilization. Queues are expected to be nearly always saturated — the scheduler's job is to continuously pick the most deserving work from a deep backlog.
The one-paragraph version¶
A donor contributes idle Spark compute to a pool. A client — typically an AI agent harness driving an expensive frontier LLM — submits experiment jobs ("profile this serving recipe", "benchmark these 20 kernel variants", "soak this KV-cache config for 8 hours"). The pool's scheduler places each job on the best available nodes, runs it in a container, and returns a validated result digest. The pool cannot make any individual Spark faster; it is engineered for throughput — many agents time-sharing the fleet.
Roles¶
| Role | Term | Definition |
|---|---|---|
| Runs the pool | Operator / Controller | Operates scheduler, API, queue, UI, result DB. Needs no GPUs. |
| Submits work | Client | A harness, agent, or human with an API token. The producer role. |
| Executes work | Node / Donor | Machine running the node daemon (consumer role) / human contributing it. |
See Roles & Nomenclature.
Documentation map¶
- Architecture — centralized control, P2P data, pluggable mesh
- Resource Model — whole-spark units, ring vs switched topology
- Job Model — the job envelope, workload types, measurement split
- Scheduler — constraints, setup-cost-aware placement, gang scheduling
- Data Plane — content-addressed model store, evict-with-relocation
- Diagnostics —
pool-certify, minimal heartbeats, drift detection - Lifecycle — exactly-once digests, retries, churn is normal
- Hosting & Registration — no DNS needed, no-wipe onboarding
- API & Webhooks — the product surface
- Build Phases — what gets built first
- Decision Log — every major decision, dated
Non-goals (v1)¶
- No GPU market / money. This is a cooperative, not a marketplace.
- No cross-pool job migration in v1 (result sharing first, overflow later).
- No adversarial security model. Threat model is accidents and bugs, not malice.
- No client agent behavior. The pool provides the interface; how a harness decides what to submit is the client's responsibility.