Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.5.1 instead.

Mycelium

The Python-first framework for smart-contract development and agentic orchestration on Stellar/Soroban.

Installing mycelium gives you the whole toolchain in one shot:

  • import mycelium — the contract-authoring DSL (@contract, @external, @view, typed primitives) plus the SDK facade (AgentContext, HiveClient, x402).
  • import mycelium_sdk — the on-chain agent SDK (signing, live Soroban contract calls, hive discovery, escrow/x402, AI adapters).
  • the mycelium CLI command — init, newwallet, compile, check, deploy, register, agent.
  • the Python → Soroban-WASM compiler (now 0.4.0, rejoined the unified version).

As of v0.4.0 this bundle ships the proof layer — verifiable agent work where a bounty is released by a multi-LLM judge panel scoring the real deliverable against on-chain checks (see mycelium_sdk.proof and the mycelium job / mycelium verifier CLI groups).

Install

pip install mycelium
# optional AI-framework adapters:
pip install "mycelium[langgraph]"   # or [gemini] / [anthropic]

Quickstart

mycelium init my_agent
cd my_agent
mycelium newwallet
mycelium compile
mycelium deploy --network testnet
mycelium register
from mycelium import AgentContext, HiveClient

ctx = AgentContext(keypair_path=".mycelium/wallet.json", network_type="testnet")
hive = HiveClient(ctx)
hive.register("sentinel_alpha", ["data-analysis"], "https://sentinel.example/api")
print(hive.resolve_agent("sentinel_alpha"))

The mycelium compile / deploy commands need the stellar CLI (v27.0.0); the compiler auto-downloads it on first use.

Licensed under MIT.

Download files

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

Source Distribution

mycelium_stellar-0.5.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

mycelium_stellar-0.5.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file mycelium_stellar-0.5.0.tar.gz.

File metadata

  • Download URL: mycelium_stellar-0.5.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mycelium_stellar-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a694b93e4145f4cdb27de61f514d64f4310efb60fdd4b7e951d40a08ec99f062
MD5 0997554f1b5ea45b9b06c434bdbaea4b
BLAKE2b-256 28f79391b4e70130211e0a51abb13ffe14c4b512cf601cc4a7ee87e47b0891cb

See more details on using hashes here.

File details

Details for the file mycelium_stellar-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mycelium_stellar-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad3693c92820c3976ac420fa11a10371eeff1171362f629f309c4138e0b2d14d
MD5 ed1db30998b7f2857613d832d3fe342f
BLAKE2b-256 fe4e5e464bf913330659b094e9a4092cf40ec8c3301824334c9f317714135f97

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