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
myceliumCLI 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.
Metadata
Release files for mycelium-stellar 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mycelium_stellar-0.5.1.tar.gz | 4.1 kB | Without provenance | Details for mycelium_stellar-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mycelium_stellar-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for mycelium_stellar-0.5.1-py3-none-any.whl |
Total release size: 8.2 kB
Release files / mycelium_stellar-0.5.1.tar.gz
| Download URL | mycelium_stellar-0.5.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e605e2ce8ae212549f0799b8777878ed2cec301c2a54ed5b26e4a1beaab3151
|
|
BLAKE2b-256 checksum How to use checksums |
3abfd307b0459319975458e1780e80a352aeca6db1340268fd732270ca1f9a18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / mycelium_stellar-0.5.1-py3-none-any.whl
| Download URL | mycelium_stellar-0.5.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5faaf417931aae1c5dbd1349f4f7afa2bcd4b4d66ec5f6513f513d402256059
|
|
BLAKE2b-256 checksum How to use checksums |
6509cb3b2ba56847a9701a997927f971b691526a6f6566fd90cda0edb99c0432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for mycelium-stellar 0.5.1
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.