# mitogen-hq/mitogen

Distributed self-replicating programs in Python

Repository: https://github.com/mitogen-hq/mitogen
Canonical: https://ross.abutalabs.com/products/mitogen
Homepage: https://mitogen.networkgenomics.com/
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: python, devops, infrastructure, ansible
Last push: 2026-08-25T17:06:57+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3672, "days_push": 8, "days_rel": 8, "gap_med": 12.5, "n_releases_24m": 43}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2528, forks 210 (observed 2026-08-28T04:06:58.737364+00:00)

## What it is
Mitogen is a Python library for writing distributed self-replicating programs that bootstrap copies of themselves on remote machines over SSH with no package installation or configuration. It provides a low-level API for running Python code remotely, and is best known for accelerating Ansible via its Mitogen strategy plugin.

## Use cases
- run python code on remote hosts over ssh without installing anything
- speed up ansible playbook execution
- manage damaged infrastructure with no writable filesystem or free disk space
- fan out function calls to many machines with scatter/gather
- bootstrap remote agents from a single ssh connection
- forward stdio and logging from remote machines
- escalate privileges with sudo or exotic connection methods like telnet or ipmi console

## When to avoid
- you need a general-purpose consumer-facing RPC framework
- you want a simple REST or HTTP API for remote calls
- your targets are non-Python or lack an SSH client and Python interpreter

## Facets
- artifact type: library
- maturity: active
- function: rpc, concurrency, developer-tools, ssh
- domain: microservices, infrastructure-as-code, developer-tools
- platform: python, cross-platform, cli
- tags: remote-execution, ansible-acceleration, self-replicating-programs, zero-dependency, privilege-escalation, devops, automation, linux, macos

## Member repositories
- mitogen-hq/mitogen (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.737364+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:23.449450+00:00, confidence not recorded.
  - readme: https://github.com/mitogen-hq/mitogen (fetched 2026-08-28T04:06:58.737364+00:00, sha 5c5f16891c7e)
  - homepage: https://mitogen.networkgenomics.com/ (fetched 2026-08-29T10:07:50.108991+00:00, sha 41627786b8eb)
  - registry_pypi: https://pypi.org/pypi/mitogen/json (fetched 2026-08-29T10:07:50.116451+00:00, sha 63f9c9a0f46d)
  - site_page: https://mitogen.networkgenomics.com/changelog.html (fetched 2026-08-29T10:07:50.112017+00:00, sha a2b4fa1c48dc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
