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()
Tools
prism_tools() returns five tools sharing one wallet and lease table: wallet
balances, live GPU listings, lease-and-run, run-on-open-lease, and end-lease.
The lease tool 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). PRISM_ESCROW — optional; defaults to the live lease
escrow. 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.
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 prism_crewai-0.1.0.tar.gz.
File metadata
- Download URL: prism_crewai-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9eaba757e7d520fc742883d71dd3b6d2dc77112bc16cf9ba8ad7f8c3c478a71
|
|
| MD5 |
63c1a477ebefa4e0db6e3ea3fb80d9d3
|
|
| BLAKE2b-256 |
cf3a1f42b853efe9e25647a938302cd2ff04721e513f993d19629e6119724ef5
|
File details
Details for the file prism_crewai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: prism_crewai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2364d82d5fb17da185f106a234aac9b6b35d05c7de73bfb78b5158968f55268
|
|
| MD5 |
31e62652d5d962c722948802510e7247
|
|
| BLAKE2b-256 |
9b3a00989af1eb0d8322b88baa1b5fa4930898b218da9f8566afd7d9f4a86506
|