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.
The project README is the overview. These pages are the reference: every flag, key, cap and edge case lives here.
Folders
Documents
- swarmlab: designWorking name swarmlab (internal; rename before publishing, candidates checked on 2026-10-05 are in research/). Status (2026-10-07): built through M4 plus M3a/b/c (interventions, paired runs, context…docs/DESIGN.md
- swarmlab M1b interface contractScope (DESIGN.md Build plan, M1b): the first model-spending slice. Provider layer with budget enforcement, inference through the harness (tools.infer), the in-process LLM participant, probes answered…docs/INTERFACE-M1b.md
- swarmlab M3a interface contract: interventions and context limitsScope: DESIGN.md component 8 (Interventions) and the context limit from component 6 (Participants). Builds on INTERFACE.md and INTERFACE-M1b.md, which stay binding. Nothing here changes the spec hash…docs/INTERFACE-M3a.md
- swarmlab M3c interface contract: roles and hierarchyScope: DESIGN.md component 6 (Roles) and the tree topology for hierarchy. Builds on INTERFACE.md (§6 executor allowlist, §9 medium channels), INTERFACE-M3a (interventions may reconfigure roles' setti…docs/INTERFACE-M3c.md
- swarmlab M4 interface contract: export and publishScope: DESIGN.md component 3 (publish layout) and component 11 (viewer publishing), plus the experimenter skill. Builds on INTERFACE.md §3-§5 and §15. Read-only with respect to the runner: everything…docs/INTERFACE-M4.md
- swarmlab M5 interface contract: Flag Game image modalityScope: DESIGN.md component 4, "modality: text-rendered crops by default, image crops as a parameter". Builds on INTERFACE.md §7-§8 (Part, Observation, FlagGame) and INTERFACE-M1b §1 (image parts in p…docs/INTERFACE-M5.md
- swarmlab M6 interface contract: faithful Flag Game replication (arXiv 2609.19124)Scope: run the paper's three protocols as specified in docs/flag-game-paper-setup.md on open VLMs through the HF router. Builds on INTERFACE.md, M1b, M3a (interventions), M3c (roles, Tree/Star), M5 (…docs/INTERFACE-M6.md
- swarmlab M1a interface contractScope: the first working slice from DESIGN.md. Scripted participants, phase-commit runner with tool executor, event log with commit markers and per-round snapshots, board with inboxes, FlagGame text…docs/INTERFACE.md
- swarmlab documentationThe project README is the overview. These pages are the reference: every flag, key, cap and edge case lives here.docs/README.md
- Flag Game (Pavlova & Tanaka, arXiv 2609.19124v1, 16 Sep 2026): exact setupSource: full text of https://arxiv.org/html/2609.19124 (fetched with curl, read directly; PDF via WebFetch was unusable). Figures are images, so per-N accuracy values are NOT in the text. Demo: https…docs/flag-game-paper-setup.md
- Known issues (kept short; fix when an experiment needs it)Last checked against main on 2026-10-08. Items fixed since the first version (per-call --calls-per-turn/--prompt-growth in estimate, system_prompt_append, the experiment-wide total_usd cap, resume --…docs/known-issues.md