Skip to content
Back to skills

Hivemind

ASecurity

"Routes Hivemind workflows for decentralized DHTs, collaborative

  • 247 stars
  • 0 votes
  • 1 copy
  • 3 views
  • Added September 8, 2026
toolspythonbashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 18 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill hivemind --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hivemind?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hivemind
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-hivemind/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-hivemind)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hivemind
description: "Routes Hivemind workflows for decentralized DHTs, collaborative
  training, and remote experts."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Hivemind

Use this skill for the public `hivemind` package and its three main user-facing workflows:

- DHT peer setup and record storage
- collaborative averaging and peer training
- hosted experts and remote mixture-of-experts routing

## Install first

Preferred community install:

```bash
python -m pip install hivemind
```

If you are already inside a local checkout and want an editable install instead:

```bash
python -m pip install -e . --no-build-isolation
```

Minimum runtime prerequisites:

- Python 3.9 or newer
- PyTorch 1.9 or newer
- the package dependencies resolved by the installer

Optional extras are only needed for specific workflows:

- `bitsandbytes` for the optional blockwise compression path
- the ALBERT example extras for the collaborative-training tutorial

## Quick preflight

Run the bundled helper after installation:

```bash
python scripts/check_install.py
```

Add `--check-cuda` if you want to verify the host's CUDA path, and `--check-albert` only when you intend to use the optional ALBERT tutorial stack.

## Route map

| If the task is about... | Read this route |
| --- | --- |
| starting or joining a DHT, storing or fetching records, bootstrap peers, relay settings, or `hivemind-dht` | [`sub-skills/dht/SKILL.md`](sub-skills/dht/SKILL.md) |
| averaging tensors, wrapping a PyTorch optimizer, progress tracking, compression choices, or the ALBERT collaborative-training recipe | [`sub-skills/collaborative-training/SKILL.md`](sub-skills/collaborative-training/SKILL.md) |
| hosting experts, remote expert clients, custom expert registration, MoE routing, or `hivemind-server` | [`sub-skills/moe/SKILL.md`](sub-skills/moe/SKILL.md) |

## What this skill does not cover

- Benchmarks and throughput experiments are intentionally excluded from the runtime routes.
- Repo-maintenance workflows live elsewhere and are not part of this operating graph.

## Read these shared references when needed

- [`references/repo-provenance.md`](references/repo-provenance.md) when you need to check whether this skill matches the current checkout.
- [`references/troubleshooting.md`](references/troubleshooting.md) when package-wide install, import, or CLI issues appear.
- [`scripts/check_install.py`](scripts/check_install.py) when you want a fast import and CLI smoke check before deeper work.

## Core package facts

- `hivemind.DHT` coordinates peers through a background DHT process.
- `hivemind.Optimizer` and `hivemind.DecentralizedAverager` are the main collaborative-training entry points.
- `hivemind.moe.Server`, `RemoteExpert`, and `RemoteMixtureOfExperts` are the main MoE serving and client APIs.
- `hivemind-dht` and `hivemind-server` are the installable console commands for the two networking-heavy workflows.
- On CUDA-capable hosts, some server and training paths may prefer GPU defaults unless you override them.

## Freshness check

Read `references/repo-provenance.md` before reusing this skill on a different checkout.
If the commit, dirty state, or installed package version has changed, prefer a refreshed skill over this one.

Files in this skill

  • SKILL.md3.2 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json445 B
  • references/troubleshooting.md3.4 KB
  • scripts/check_install.py5.1 KB
  • sub-skills/collaborative-training/SKILL.md2.9 KB
  • sub-skills/collaborative-training/references/albert-example.md3.7 KB
  • sub-skills/collaborative-training/references/api-reference.md6.8 KB
  • sub-skills/collaborative-training/references/troubleshooting.md4.2 KB
  • sub-skills/collaborative-training/references/workflows.md3.5 KB
  • sub-skills/dht/SKILL.md2.5 KB
  • sub-skills/dht/references/api-reference.md4.5 KB
  • sub-skills/dht/references/troubleshooting.md3.3 KB
  • sub-skills/dht/references/workflows.md2.7 KB
  • sub-skills/moe/SKILL.md2.5 KB
  • sub-skills/moe/references/api-reference.md4.2 KB
  • sub-skills/moe/references/troubleshooting.md3.8 KB
  • sub-skills/moe/references/workflows.md3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.