prism-crewai
Prism Network GPU tools for CrewAI agents. A crew member sees live GPU capacity and prices, rents a machine with an on-chain USDG payment on Robinhood Chain, runs commands on it over SSH, and releases it. Every lease settles with a verifiable receipt.
pip install prism-crewai
from crewai import Agent, Crew, Task
from prism_crewai import prism_tools
researcher = Agent(
role="Compute researcher",
goal="Benchmark models on real GPUs at the lowest price",
backstory="You rent GPUs only when a job needs one, and you cap what a lease may cost.",
tools=prism_tools(),
)
task = Task(
description="Rent a GPU with at least 24GB of VRAM and report what nvidia-smi shows.",
expected_output="The GPU model, VRAM, and driver version.",
agent=researcher,
)
Crew(agents=[researcher], tasks=[task]).kickoff()
The crew's agent needs an LLM the usual CrewAI way (OPENAI_API_KEY, or an
explicit llm= on the Agent); the Prism tools themselves need none.
Tools
| Tool | What it does |
|---|---|
prism_wallet |
wallet address, USDG and gas balances |
prism_list_gpus |
live capacity: model, VRAM, price per hour, trust class |
prism_lease_and_run |
rent a GPU, run one command, keep the lease open |
prism_run |
run another command on an open lease |
prism_end_lease |
release a lease |
All five share one wallet and lease table, so a lease opened by one is visible
to the rest. prism_lease_and_run takes max_usdg (default 1.0), a hard cap
on what a single lease may cost.
Configuration
PRISM_AGENT_KEY: private key of a wallet holding USDG and gas on Robinhood
Chain (chain id 4663, RPC rpc.mainnet.chain.robinhood.com). PRISM_ESCROW:
optional; defaults to the live lease escrow. Without a key the read-only tools
still answer from the public API. Or build
PrismToolset(agent=PrismAgent(...)) yourself and pass it to prism_tools.
Trust classes run open < isolated < attested < confidential. On an open
supplier the host operator can read anything the workload touches; raise
min_trust_class for anything sensitive.
Prism is pre-production and unaudited. Do not lease with a wallet or workload you cannot lose.
Metadata
Release files for prism-crewai 0.2.0
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 |
|---|---|---|---|---|
| prism_crewai-0.2.0.tar.gz | 3.6 kB | Without provenance | Details for prism_crewai-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prism_crewai-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for prism_crewai-0.2.0-py3-none-any.whl |
Total release size: 7.9 kB
Release files / prism_crewai-0.2.0.tar.gz
| Download URL | prism_crewai-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3b8027a8d06b58d95e1c2de43937cfbea64d4ffd8025d9bb8ed0da663d08cb3
|
|
BLAKE2b-256 checksum How to use checksums |
67306668d2bc696d13c86a6a77e081c751026cd2bf09204dfc4d7b3ee5488932
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|
Release files / prism_crewai-0.2.0-py3-none-any.whl
| Download URL | prism_crewai-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cffc90ed41ea94cd1038904e02a607a55e4825237289c0e3d4f5acc1512b252
|
|
BLAKE2b-256 checksum How to use checksums |
99b4cfeaf9e230a82fce04f405ec2e4ad9953c4a5cd7d40e807696e44e5727dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|
Security for prism-crewai 0.2.0
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.