huggingface/swarmlab
A scientific testbed for collaboration primitives in heterogeneous LLM-agent swarms
https://skillcdn.ai/gh/huggingface/swarmlabConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
2539808 - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- Handoff indexOne line per work package. Contracts are in docs/INTERFACE.md; open problems in docs/known-issues.md. There are no separate fix handoffs: the fix rounds (dogfood fixes, estimate/budget fixes, probe-e…docs/handoff/INDEX.md
- WP-hidden-sites handoff: HiddenSites worldBranch hidden-sites-world. A built-in world contributed from an experiment workspace, not from a milestone of the build plan; no contract changes. ruff check swarmlab tests examples tools is clean an…docs/handoff/WP-hidden-sites.md
- WP-minesweeper handoff: Minesweeper worldBranch minesweeper-world. A built-in world contributed from an experiment workspace, not from a milestone of the build plan; no contract changes. ruff check swarmlab tests examples tools is clean and…docs/handoff/WP-minesweeper.md
- WP1 handoff: core (spec, events, blobs, snapshot)Branch wp1. 58 tests in tests/ (test_rng, test_ids, test_base, test_spec, test_events, test_blobs, test_snapshot); pytest -q -W error and ruff check swarmlab tests are clean.docs/handoff/WP1.md
- WP10 handoff: interventions (M3a §1)Branch interventions. pytest -q -W error passes 397 tests (372 before, plus 25 in tests/test_interventions.py). ruff check swarmlab tests examples tools is clean. Contract: docs/INTERFACE-M3a.md §1 a…docs/handoff/WP10.md
- WP11 handoff: LLMAgent context limit (M3a §3, acceptance item 6)Branch context-limit. pytest -q -W error passes 388 tests (372 before, +16). ruff check swarmlab tests examples tools is clean. No test calls a real provider.docs/handoff/WP11.md
- WP12 handoff: export, publish, report, prompts, experimenter skill (M4)Branch export-publish (not merged). Contract: docs/INTERFACE-M4.md. uv run pytest -q -W error and uv run ruff check swarmlab tests examples tools are clean. The branch merges cleanly into origin/main…docs/handoff/WP12.md
- WP13 handoff: registry, claim policies, ColoringGrid (M3b)Branch registry-coloring. pytest -q -W error passes 449 tests (413 on main, plus 19 in tests/test_registry.py and 17 in tests/test_coloring.py). ruff check swarmlab tests examples tools is clean. Des…docs/handoff/WP13.md
- WP14 handoff: roles and the tree hierarchy (M3c)Branch roles-hierarchy (rebased on main after paired-runs merged). Contract: docs/INTERFACE-M3c.md. pytest -q -W error passes 507 tests (478 on main at the rebase point); new tests are tests/test_rol…docs/handoff/WP14.md
- WP15 handoff: Flag Game image modality (M5)Branch flag-image. Contract: docs/INTERFACE-M5.md. pytest -q -W error passes 626 (1 skipped) (586 on main); ruff check swarmlab tests examples tools is clean. No new dependencies (the PNG encoder is…docs/handoff/WP15.md
- WP16 handoff: Flag Game protocols (broadcast, gossip, manager)Branch manager-protocol (from main 7b56b6e). No interface contract: the task was specified directly, from the Flag Game paper (physicsintelligence.org/research/flag-game), which compares three commun…docs/handoff/WP16.md
- WP17 handoff: faithful Flag Game replication (M6)Branch flag-paper (from main a21696d, with origin/manager-protocol and later origin/main merged in). Contract: docs/INTERFACE-M6.md; paper setup: docs/flag-game-paper-setup.md. uv run pytest -q -W er…docs/handoff/WP17.md
- WP2 handoff: world (FlagGame text variant)One text part, \n-separated:docs/handoff/WP2.md
- WP3 handoff: medium (board, topologies, delay policy)Branch wp3. Files: swarmlab/medium/board.py, swarmlab/medium/topology.py, tests/test_board.py, tests/test_topology.py. Also removed one unused import in swarmlab/world/base.py so ruff check swarmlab…docs/handoff/WP3.md
- WP4 handoff: runner, executor, scheduler, Experiment/Run API, scripted participants, metricsBranch wp4. pytest -q -W error (171 tests, about 20 s) and ruff check swarmlab tests are clean.docs/handoff/WP4.md
- WP5 handoff: CLI, viewer, README, examplesBranch wp5. pytest -q -W error (182 tests) and ruff check swarmlab tests examples are clean.docs/handoff/WP5.md
- WP6 handoff: providers, budget, inference through the harnessBranch wp6. pytest -q -W error (244 tests, about 40 s) and ruff check swarmlab tests examples are clean. No real provider is called anywhere in the tests.docs/handoff/WP6.md
- WP7 handoff: LLM participant, probes, probe metrics, real-provider smoke harnessBranch wp7. pytest -q -W error passes 279 tests in about 60 s. ruff check swarmlab tests examples tools is clean. No test calls a real provider. tools/real_smoke.py has not been run.docs/handoff/WP7.md
- WP8 handoff: HF Jobs placement with a co-located vLLM serverBranch hf-jobs. uv run pytest -q -W error and uv run ruff check swarmlab tests examples tools are clean. No HF Job was launched while building this; every hf call in the tests is mocked and the boots…docs/handoff/WP8.md
- WP9 handoff: paired runs from round 0 (M3a §2)Branch paired-runs. uv run pytest -q -W error passes 381 tests (372 before, plus 9 in tests/test_pair.py). uv run ruff check swarmlab tests examples tools is clean.docs/handoff/WP9.md
- Field notes 7-11: report, export, publish, viewerBranch field-notes-report (not merged). Fixes for items 7-11 of docs/notes/field-notes-crowding-pilot-2026-10-07.md, one commit each.docs/handoff/field-notes-report.md