Skip to main content

proprioceptive-swarm

Client SDK for the lens-swarm: a CPU-native consensus answer service with plurality confidence gates and a hash-chained receipt for every response.

  • All inference is server-side. The package is inert without an account — no local model, no offline mode.
  • Free trial tier: 140 requests/day per account (500 lifetime, 14-day window). Live numbers: GET /v1/swarm/status.
pip install proprioceptive-swarm
python -c "from proprioceptive_swarm import Swarm; s=Swarm.signup('you@example.com'); print(s.client_id)"
palswarm answer "Where is the Eiffel Tower?" "Paris" "London" --k 5

Evidence basis: verification-economics routing (23.5x), per-model uncertainty certification, custody receipts (1290+, zero escapes). Claims are graded; see provider disclosures.

Receipt proofs and integrity checks

Every response carries a hash-chained receipt id. Two routes, two audiences:

  • s.proof(receipt_prefix) — owner-only (edge >= 1.8.6): GET /v1/swarm/proof/<prefix> with your X-API-Key. Returns the inclusion proof for one of your receipts: position, receipt_sha, prev, record, plus the chain head anchor (head_sha, head_count). Unknown-to-you prefixes come back as {"chain_integrity": "NOT_FOUND"}; a missing key is 401 (raised as SwarmNotAuthorized).
  • s.verify(receipt_prefix) — public, integrity-only: GET /v1/swarm/verify/<prefix> for third parties who just need to confirm the chain link recomputes. No secret data moves.
s = Swarm()                       # key from signup / PALSWARM_KEY / ~/.palswarm.json
r = s.hook("phi-2", state)        # state = exactly 16 finite floats, user-supplied
p = s.proof(r["receipt"])         # owner-only inclusion proof
s.verify(r["receipt"])            # integrity-only check anyone can run

Supported models

model_family accepts the advertised aliases: phi-2 and Qwen2.5-1.5B / Qwen2.5-1.5B-Instruct resolve server-side to their certified heads; canonical ids (qwen2.5-0.5b-inst, tinyllama-1.1b-chat, ...) work directly. The live serving/cert matrix is whatever GET /v1/swarm/models answers at call time — certification internals are no longer disclosed by that route (cert reports disclosed: false), and this SDK never ships, computes, or caches them. Certification is not deployment entitlement: entropy flags fire only where the admin enables the feature. No model's raw logits or weights leave the boundary.

Metadata

Release files for proprioceptive-swarm 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proprioceptive-swarm 0.1.8
File Size Uploaded Provenance Actions
proprioceptive_swarm-0.1.8.tar.gz 13.6 kB Without provenance Details for proprioceptive_swarm-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proprioceptive-swarm 0.1.8
File Interpreter ABI Platform Actions
proprioceptive_swarm-0.1.8-py3-none-any.whl Python 3 none any Details for proprioceptive_swarm-0.1.8-py3-none-any.whl

Total release size: 23.4 kB

Release files / proprioceptive_swarm-0.1.8.tar.gz

Download URL proprioceptive_swarm-0.1.8.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0bdbaf0216f222cbbd984cbbe5de9705a8dae17153de7134175d9c8eae6da3bd
BLAKE2b-256 checksum
How to use checksums
244029bb83ef306387f382c47ad1b9ddefb60ff6353c8ffcc3022e9d59ac5db5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / proprioceptive_swarm-0.1.8-py3-none-any.whl

Download URL proprioceptive_swarm-0.1.8-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2197c95e3a1f01a70cc4f5ac945832aafe335b34a82bf5911c19e5bdf41879c3
BLAKE2b-256 checksum
How to use checksums
5a459ca7dd5504634740b56ad9587bad761158844225915c151e1b43f9988efe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for proprioceptive-swarm 0.1.8

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.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page