swarm-orbit
Task orbit assignment for agent swarms. Agents circle tasks like satellites — gravity wells attract the right agent to the right task.
How It Works
Each task is a gravity well with mass (priority) and required capabilities. Each agent has capabilities, current load, and learned affinities. Gravitational pull = priority × capability match × affinity × availability. Strongest pull wins.
Usage
from swarm_orbit import TaskOrbit, Agent, GravityWell
orbit = TaskOrbit()
orbit.add_agent(Agent(id="scout-1", capabilities=["search", "nlp"], load=0.2))
orbit.add_agent(Agent(id="builder-1", capabilities=["rust", "ml"], load=0.7))
orbit.add_well(GravityWell(task_id="t1", task_type="search", required_capabilities=["search"]))
assignments = orbit.assign()
# scout-1 orbits t1 (stronger pull — capability match + low load)
Zero deps. pip install swarm-orbit
Metadata
Release files for swarm-orbit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swarm_orbit-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for swarm_orbit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarm_orbit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for swarm_orbit-0.1.0-py3-none-any.whl |
Total release size: 7.1 kB
Release files / swarm_orbit-0.1.0.tar.gz
| Download URL | swarm_orbit-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db76ed9cf696a2d3107672dedf50dabaab04c0668ca17798f47d9d55744c8b50
|
|
BLAKE2b-256 checksum How to use checksums |
4da7e9dee89f1e1a3801b8f9eebea34bb96edddd7c32ed85ff0a1cab9df6da64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / swarm_orbit-0.1.0-py3-none-any.whl
| Download URL | swarm_orbit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4031447c57581e067792c6ad67aa8638b0d89b59b55aa4490c85ac16bb3e59ca
|
|
BLAKE2b-256 checksum How to use checksums |
6f59cbe95799296780773b0a2e9fd5b8638dc1a1be24fa4c4ed92a2eba1621e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for swarm-orbit 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.