Skip to main content

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-sqlite3 persistence via SYNTROPY_STORE=sqlite.
  • GatewayClient: typed REST client for hosted gateways (agents, runs and cancellation, events, history, recommendations, webhook CRUD), plus syntropy.remote.EventChannel for live websocket event streaming and syntropy.webhooks HMAC signature helpers.
  • A syntropy CLI: run, review (local paths and public GitHub URLs), submit --remote --watch, runs, agents deploy --preset, events --follow, and trust for 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syntropy_core-0.2.0.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

syntropy_core-0.2.0-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

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

Hashes for syntropy_core-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7f79e059d179a4e6850d7f23bf3102f7473d21c047322e64cd0fbefcbf9c040e
MD5 0e3d6ad60628462f3f7a452d07eae288
BLAKE2b-256 9df1532100c30534ec982235145a2a472a190619f4a19fe183878a4ea46d57be

See more details on using hashes here.

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

Hashes for syntropy_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e421054699dad491f83dedbd60d89e5a859cdf76d8edfe712f19b42c859154aa
MD5 bdd55c2efc9622aef39019e282816c4c
BLAKE2b-256 41d07249f4658ccebdc346a3d19b3855dbbc7e6ae5b04e7900991647fbd34ba7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page