A fair source multi-agent AI framework where agents are organized on a mathematical lattice — Python runtime, SDK, and CLI.
Project description
Syntropy Python
The Python runtime, SDK, and CLI for Syntropy — a fair source multi-agent AI framework where agents are organized on a mathematical lattice and hierarchy emerges from interaction, not assignment.
pip install syntropy-core
The distribution is syntropy-core; the import stays import syntropy.
Capabilities
- Immutable lattice join and meet operations with deterministic ordering, verified against the shared axiom contract that the Elixir runtime also enforces (property-based parity tests on both sides).
- Semantic task routing (
single,parallel,all,auto) with explicit-agent overrides, contribution-aware EMA position recomputation, and symmetric connection tracking. - Retained observation events, task history, structural recommendations with approval-gated persistent join/meet, and replay snapshots.
- Provider adapters: mock (default), OpenAI-compatible, and Ollama for fully offline local runs — selected through runtime settings.
- Pluggable memory stores: in-memory (default) or stdlib-
sqlite3persistence viaSYNTROPY_STORE=sqlite. GatewayClient: typed REST client for hosted gateways (agents, runs and cancellation, events, history, recommendations, webhook CRUD), plussyntropy.remote.EventChannelfor live websocket event streaming andsyntropy.webhooksHMAC signature helpers.- A
syntropyCLI:run,review(local paths and public GitHub URLs),submit --remote --watch,runs,agents deploy --preset,events --follow, andtrustfor structural decision review.
Quick start
# Fully local, no API key (requires Ollama)
SYNTROPY_LLM_PROVIDER=ollama syntropy run "Monolith or microservices for our next product stage?"
# Against a hosted gateway
export SYNTROPY_GATEWAY_URL=https://your-gateway.example.com
export SYNTROPY_API_TOKEN=syn_...
syntropy submit "Review our failover strategy" --remote --watch
Examples live in examples/ — start with 01_basic_lattice.py (local
lattice) and 02_remote_gateway.py (hosted gateway).
License
Fair Source, Business Source License 1.1: free for development, evaluation, research, and personal use; free in production under US $1M revenue/funding; each version converts to Apache 2.0 four years after release.
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 syntropy_core-0.2.0.tar.gz.
File metadata
- Download URL: syntropy_core-0.2.0.tar.gz
- Upload date:
- Size: 67.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f79e059d179a4e6850d7f23bf3102f7473d21c047322e64cd0fbefcbf9c040e
|
|
| MD5 |
0e3d6ad60628462f3f7a452d07eae288
|
|
| BLAKE2b-256 |
9df1532100c30534ec982235145a2a472a190619f4a19fe183878a4ea46d57be
|
File details
Details for the file syntropy_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: syntropy_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 72.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e421054699dad491f83dedbd60d89e5a859cdf76d8edfe712f19b42c859154aa
|
|
| MD5 |
bdd55c2efc9622aef39019e282816c4c
|
|
| BLAKE2b-256 |
41d07249f4658ccebdc346a3d19b3855dbbc7e6ae5b04e7900991647fbd34ba7
|