{"_id":"@ap3x/swarms","name":"@ap3x/swarms","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ap3x/swarms","version":"0.1.0","description":"Multi-agent orchestration — the swarm architectures","repository":{"type":"git","url":"git+https://github.com/AP3X-Dev/AP3X.git","directory":"packages/swarms"},"license":"MIT","publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsup src/index.ts --format esm --clean --tsconfig tsconfig.build.json && tsc -p tsconfig.build.json","prepublishOnly":"node ../../scripts/publish-gate.mjs","test":"vitest run"},"dependencies":{"@ap3x/agent-core":"0.1.0","@ap3x/ai":"0.1.0","yaml":"^2.9.0"},"_id":"@ap3x/swarms@0.1.0","gitHead":"572dcf9cfde958270d2c9b5404aa5bc1dc2cbeea","bugs":{"url":"https://github.com/AP3X-Dev/AP3X/issues"},"homepage":"https://github.com/AP3X-Dev/AP3X#readme","_nodeVersion":"20.18.2","_npmVersion":"11.5.1","dist":{"integrity":"sha512-hsS3sEHeEnY7OSBh+i6g9EFB8zEs4bcT9oDGJUfbYM1G+IJIQURQxOnCGI9XWLLUVDi4EaE/qsI85ewszA5JdQ==","shasum":"7dcf6b033b2194c176596b29296458214a1a05ad","tarball":"https://registry.npmjs.org/@ap3x/swarms/-/swarms-0.1.0.tgz","fileCount":136,"unpackedSize":1036096,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIB3j+bFuSWyowjxBGc2Wy1d01VRL2fMQDFG40x/DdOX0AiEA8pjFD4/XhmmgyMHJBfFGnLVFfzdgXxLNyYzlm8MewA8="}]},"_npmUser":{"name":"botstack","email":"GuerrillaMedia702@gmail.com"},"directories":{},"maintainers":[{"name":"botstack","email":"GuerrillaMedia702@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/swarms_0.1.0_1785554979604_0.8215587715497548"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-01T03:29:39.493Z","0.1.0":"2026-08-01T03:29:39.809Z","modified":"2026-08-01T03:29:40.036Z"},"maintainers":[{"name":"botstack","email":"GuerrillaMedia702@gmail.com"}],"description":"Multi-agent orchestration — the swarm architectures","homepage":"https://github.com/AP3X-Dev/AP3X#readme","repository":{"type":"git","url":"git+https://github.com/AP3X-Dev/AP3X.git","directory":"packages/swarms"},"bugs":{"url":"https://github.com/AP3X-Dev/AP3X/issues"},"license":"MIT","readme":"# @ap3x/swarms\n\nMulti-agent orchestration over a swappable `AgentBackend`: sequential, concurrent, hierarchical, graph, group-chat, routing, voting, mixture-of-agents, and more.\n\nPart of [AP3X](https://github.com/AP3X-Dev/AP3X) — a TypeScript multi-agent framework.\n\n## Install\n\n```bash\nnpm install @ap3x/swarms\n```\n\n## What's inside\n\n- **Deterministic topologies** — sequential and concurrent workflows, agent-rearrange flow DSL, batched grids, and graph (DAG) workflows.\n- **Delegating topologies** — hierarchical swarms, planner/worker, multi-agent routers, model routers.\n- **Deliberative topologies** — group chat, council-as-judge, debate-with-judge, mixture-of-agents, self-consistency, majority voting.\n- **Reasoning agents** — reflexion, iterative reflective expansion, generated-knowledge prompting, agent-judge, reasoning duo.\n- **`SwarmRouter`** — one config-driven entry point that constructs and runs any architecture.\n- **Tools** — a tool registry, MCP client, and handoff primitives shared across architectures.\n\nEvery architecture accepts `AgentBackend[]`, so members can be native agents, remote agents, or test doubles.\n\n## Documentation\n\nSee the [AP3X repository](https://github.com/AP3X-Dev/AP3X) for architecture notes, the full package map, and examples.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-818625d9e59b8271105e297a6833d3cf"}