Swarm

From 0dayInc/pwn · View interactive version

Swarm is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::AI::Agent::Swarm from pwn_eval.

How to use this skill

Skill file

PWN::AI::Agent::Swarm

Native multi-agent orchestration for pwn-ai. First-class sub-agents built on top of PWN::AI::Agent::Loop.run. Each persona is a full tool-calling agent — Memory, Skills, Learning, Metrics and Extrospection all apply — so the self-improvement loop covers the whole swarm. ~/.pwn/agents.yml # persona registry ~/.pwn/swarm/<swarm_id>/bus.jsonl # append-only message bus ~/.pwn/swarm/<swarm_id>/personas.json# persona -> PWN::Sessions id Cross-session / cross-process communication == another pwn-ai (or a PWN::Cron job) calling Swarm.ask/debate with the same swarm_id and reading the same bus.jsonl. No daemon required.

When to use

Call PWN::AI::Agent::Swarm from pwn_eval when the task needs this module.

Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/agent/swarm.rb. Prefer the public class methods below.

Class methods take (opts = {}) and read opts.

How to call

PWN::AI::Agent::Swarm.help
PWN::AI::Agent::Swarm.personas(opts)

Public methods

Source

pwn/ai/agent/swarm.rb

Verification

PWN::AI::Agent::Swarm.respond_to?(:personas) after the

module is loaded. Read the source for parameter names.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.