Shared foundation for the Swarm Suite -- models, expert registry, session lifecycle, MCP scaffolding, coordination primitives
Project description
swarm-core
Shared foundation for the Swarm Suite. Pure-Python, no other Swarm Suite packages depend on each other through anything except this package and swarm-kb.
What's here
swarm_core.ids-- single helper for prefixed short IDs (f-a1b2,fp-a1b2c3).swarm_core.timeutil--now_iso()UTC ISO 8601 timestamps.swarm_core.io--atomic_write_text(tempfile + os.replace).swarm_core.models-- canonical enums and base dataclasses (Severity,ReactionType,Event,Message,Reaction,Claim).swarm_core.experts--ExpertRegistry+ pluggable suggest strategies.swarm_core.sessions--SessionLifecycletemplate-method base (mkdir, meta.json, prune, list).swarm_core.coordination--MessageBus,EventBus,PhaseBarrier,ClaimRegistry,RateLimiter.swarm_core.mcp--MCPAppbuilder (transport, tool registration, error wrapping, structured logging).swarm_core.reports--ReportRendererABC + markdown helpers.swarm_core.logging_setup--setup_logging(tool_name)andget_logger(name).swarm_core.keeper--claude_md_keeperaudit (rules vs accreted bug-fix recipes).
Install
pip install swarmsuite-core
This package is a runtime dep of every other Swarm Suite package; you usually install it transitively.
Layering
swarm_core <- here (zero in-suite deps)
^
|
swarm_kb <- storage layer
^
|
spec/arch/review/fix/doc-swarm <- tools
Layer violations are caught by scripts/check_imports.py in CI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmsuite_core-0.2.0.tar.gz.
File metadata
- Download URL: swarmsuite_core-0.2.0.tar.gz
- Upload date:
- Size: 71.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea5199c6e5dfc0c3e8338494d61f23ff32000727bfd3a90ce0e512cb18a7b53e
|
|
| MD5 |
07b4ef56ec27af2bd380bf9d2a0c371c
|
|
| BLAKE2b-256 |
896c06dbd0be85db1d8423b3a4bb27cf08d94f4b272dd4387797b83304d38419
|
File details
Details for the file swarmsuite_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: swarmsuite_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 79.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c05a45f50b82cc2da6c30f204020467f3ee9708941b7340202c45b9573b77791
|
|
| MD5 |
4082e718a79af162dbb8090b270d4079
|
|
| BLAKE2b-256 |
8589879d8de7eb6d0ed127850de5e51d6510623db516a0d634a1c57d322f6c49
|