Skip to content

Tutorials

Step-by-step tutorials for learning SWARM by doing.

  • :material-flask: Your First Governance Experiment


    Build and run a governance experiment from scratch. Understand agents, scenarios, and results.

    Time: ~20 minutes | Level: Beginner

  • :material-sigma: Understanding Soft Labels


    Develop intuition for probabilistic labels. Walk through the math and see it in code.

    Time: ~15 minutes | Level: Intermediate

  • :material-chart-line: Analyzing Results


    Interpret metrics, read plots, and draw conclusions from your experiments.

    Time: ~20 minutes | Level: Intermediate

Learning Path

graph LR
    A[Installation] --> B[Quick Start]
    B --> C[First Governance Experiment]
    C --> D[Understanding Soft Labels]
    D --> E[Analyzing Results]
    E --> F[Writing Scenarios]
    F --> G[Parameter Sweeps]

Prerequisites

All tutorials assume:

  • SWARM is installed
  • Python 3.10+
  • Basic familiarity with Python

No prior knowledge of agent-based modeling or mechanism design is needed.