Self-hosted distributed load testing platform. Volunteer agents generate HTTP(S) traffic only against domains whose ownership was proven via DNS TXT challenge — consent-gated clients, hard-coded rate limits, full audit logging. For authorized security testing of systems you own.
2
stars
15
commits
Python
primary language
Aug 23, 2026
updated
Self-hosted, open-source distributed load testing framework.
PieMesh lets machine owners contribute idle bandwidth to performance tests — but only against targets whose control has been demonstrated through a DNS TXT ownership challenge, the same mechanism used by ACME/Let's Encrypt. Nothing ships until the hub can prove who owns what's being tested.
Reciprocal by design — no spectators: everyone who runs PieMesh runs an agent. There is no download-and-watch tier: the tool IS the mesh, so having it means being part of it. Contribute capacity, earn test capability — and every test, yours included, still requires verified ownership of the target.
| Typical tooling | PieMesh |
|---|---|
| Trust the operator's word | Ownership proven via public DNS |
| Limits configurable server-side | Rate/duration caps compiled into the agent |
| Silent enrollment | Interactive consent gate, versioned, revocable anytime |
| Black-box operation | Every task logged locally + hub-side (audit.log) |
1. Operator: target add acme.com -> hub mints a challenge token
2. DNS owner: _piemesh.acme.com IN TXT "piemesh-<token>"
3. Operator: target verify acme.com -> hub resolves and matches
4. Only now can tests target acme.com. Valid 30 days.
No TXT match = no test. Not "warns" - refuses.
pip install -r requirements.txt
python gencert.py # generates certs/ (never commit these)
# edit config.json -> enrollment_token
python server.py # agents :4444 TLS 1.3 | operator shell :4443
Operator console (local or via KiTTY/PuTTY raw to port 4443). Two token roles:
operator_token — full control: agents, targets, tests, kick, shellenrollment_token — the public join token: members connect to the same shell and may run target/test/results commands only. Every member must also be running an agent node.If operator_token is left as its CHANGE-ME placeholder, the hub runs
in solo mode (join token = operator). Set it before inviting members.
agents online agents
target add/verify/list/remove target ownership workflow
test <domain> <url> <secs> [rps] dispatch a verified test
tests / results [n] history
kick <id> drop an agent
For remote operator access use an SSH tunnel:
ssh -L 4443:127.0.0.1:4443 user@hub — never expose 4443 publicly.
python agent.py --server <hub-hostname> --token <enrollment-token>
AGREE or pass --agree-tos 2026-08-v4python agent.py --revoke-consent wipes identity + consent recordsAutostart is off by default and opt-in. Enable it two ways:
# from the tray: toggle "Start with Windows"
# or from the CLI (server + token required, then it exits):
python agent.py --server <hub> --token <enrollment-token> --install-autostart
Once enabled, the agent launches on every boot — your machine rejoins the mesh and contributes load-testing capacity automatically at startup, without prompting again. What that means concretely:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
(key PiemeshAgent) and starts via pythonw.exe — no console
window, but the tray icon still shows so the node is never hiddenagent.py was modified since you
consented, it refuses to start until you re-run with
--trust-modified-buildTurn it off with the tray Start with Windows toggle, or:
python agent.py --uninstall-autostart
Autostart persists load generation across reboots — enable it only on a machine you own and want contributing to the mesh unattended.
Distribute agent.py, certs/ca.crt, and this repo's LICENSE +
ACCEPTABLE_USE.md to volunteers. The agent reads no config on their
machines - defaults hold.
Licensed for authorized security testing only — see LICENSE and ACCEPTABLE_USE.md.
Abuse contact: spookybrosyt@gmail.com
| Rule | Meaning |
|---|---|
| Everyone is an agent | Every person running PieMesh contributes a node — testers, members, even hub operators on their own deployments |
| Join to use | Test capability is earned by participation; there is no read-only tier. Dispatching a test requires YOUR agent online on the machine you're dispatching from |
| Verified targets only | Agents execute workloads solely against domains proven via DNS TXT challenge — never arbitrary targets |
| Limits travel with you | 300 s per test, 200 req/s, 64 connections — compiled into the agent, impossible to raise remotely |
| Leaving is instant | Close the window or hit tray Exit to stop the running node; --revoke-consent wipes identity and consent records |
| Autostart is opt-in | Off by default. If you enable Start with Windows, the node rejoins the mesh on every boot until you turn it off (--uninstall-autostart) |
| Everything is logged | Every task your node runs is recorded locally and in the hub's audit.log |
Joining does not expose your machine to other members. Nodes receive only workloads dispatched by their own hub, and only for domains whose ownership was verified on that hub.
Every test requires proven ownership of the target domain before a single request is dispatched. Using PieMesh against systems you do not own or lack prior written authorization to test voids the license (see LICENSE §2) and violates ACCEPTABLE_USE.md. This applies to every member equally — contributing capacity earns you capability, never exemption.
Pre-release. API and wire format will change.
12 commits
3 commits
Python
100.0%
Self-hosted distributed load testing platform. Volunteer agents generate HTTP(S) traffic only against domains whose ownership was proven via DNS TXT challenge — consent-gated clients, hard-coded rate limits, full audit logging. For authorized security testing of systems you own.
2
stars
15
commits
Python
primary language
Aug 23, 2026
updated
Self-hosted, open-source distributed load testing framework.
PieMesh lets machine owners contribute idle bandwidth to performance tests — but only against targets whose control has been demonstrated through a DNS TXT ownership challenge, the same mechanism used by ACME/Let's Encrypt. Nothing ships until the hub can prove who owns what's being tested.
Reciprocal by design — no spectators: everyone who runs PieMesh runs an agent. There is no download-and-watch tier: the tool IS the mesh, so having it means being part of it. Contribute capacity, earn test capability — and every test, yours included, still requires verified ownership of the target.
| Typical tooling | PieMesh |
|---|---|
| Trust the operator's word | Ownership proven via public DNS |
| Limits configurable server-side | Rate/duration caps compiled into the agent |
| Silent enrollment | Interactive consent gate, versioned, revocable anytime |
| Black-box operation | Every task logged locally + hub-side (audit.log) |
1. Operator: target add acme.com -> hub mints a challenge token
2. DNS owner: _piemesh.acme.com IN TXT "piemesh-<token>"
3. Operator: target verify acme.com -> hub resolves and matches
4. Only now can tests target acme.com. Valid 30 days.
No TXT match = no test. Not "warns" - refuses.
pip install -r requirements.txt
python gencert.py # generates certs/ (never commit these)
# edit config.json -> enrollment_token
python server.py # agents :4444 TLS 1.3 | operator shell :4443
Operator console (local or via KiTTY/PuTTY raw to port 4443). Two token roles:
operator_token — full control: agents, targets, tests, kick, shellenrollment_token — the public join token: members connect to the same shell and may run target/test/results commands only. Every member must also be running an agent node.If operator_token is left as its CHANGE-ME placeholder, the hub runs
in solo mode (join token = operator). Set it before inviting members.
agents online agents
target add/verify/list/remove target ownership workflow
test <domain> <url> <secs> [rps] dispatch a verified test
tests / results [n] history
kick <id> drop an agent
For remote operator access use an SSH tunnel:
ssh -L 4443:127.0.0.1:4443 user@hub — never expose 4443 publicly.
python agent.py --server <hub-hostname> --token <enrollment-token>
AGREE or pass --agree-tos 2026-08-v4python agent.py --revoke-consent wipes identity + consent recordsAutostart is off by default and opt-in. Enable it two ways:
# from the tray: toggle "Start with Windows"
# or from the CLI (server + token required, then it exits):
python agent.py --server <hub> --token <enrollment-token> --install-autostart
Once enabled, the agent launches on every boot — your machine rejoins the mesh and contributes load-testing capacity automatically at startup, without prompting again. What that means concretely:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
(key PiemeshAgent) and starts via pythonw.exe — no console
window, but the tray icon still shows so the node is never hiddenagent.py was modified since you
consented, it refuses to start until you re-run with
--trust-modified-buildTurn it off with the tray Start with Windows toggle, or:
python agent.py --uninstall-autostart
Autostart persists load generation across reboots — enable it only on a machine you own and want contributing to the mesh unattended.
Distribute agent.py, certs/ca.crt, and this repo's LICENSE +
ACCEPTABLE_USE.md to volunteers. The agent reads no config on their
machines - defaults hold.
Licensed for authorized security testing only — see LICENSE and ACCEPTABLE_USE.md.
Abuse contact: spookybrosyt@gmail.com
| Rule | Meaning |
|---|---|
| Everyone is an agent | Every person running PieMesh contributes a node — testers, members, even hub operators on their own deployments |
| Join to use | Test capability is earned by participation; there is no read-only tier. Dispatching a test requires YOUR agent online on the machine you're dispatching from |
| Verified targets only | Agents execute workloads solely against domains proven via DNS TXT challenge — never arbitrary targets |
| Limits travel with you | 300 s per test, 200 req/s, 64 connections — compiled into the agent, impossible to raise remotely |
| Leaving is instant | Close the window or hit tray Exit to stop the running node; --revoke-consent wipes identity and consent records |
| Autostart is opt-in | Off by default. If you enable Start with Windows, the node rejoins the mesh on every boot until you turn it off (--uninstall-autostart) |
| Everything is logged | Every task your node runs is recorded locally and in the hub's audit.log |
Joining does not expose your machine to other members. Nodes receive only workloads dispatched by their own hub, and only for domains whose ownership was verified on that hub.
Every test requires proven ownership of the target domain before a single request is dispatched. Using PieMesh against systems you do not own or lack prior written authorization to test voids the license (see LICENSE §2) and violates ACCEPTABLE_USE.md. This applies to every member equally — contributing capacity earns you capability, never exemption.
Pre-release. API and wire format will change.
12 commits
3 commits
Python
100.0%