snap-crewai-tools
CrewAI tools for SNAP — private agent-to-agent payments on Solana using zero-knowledge proofs.
Install
pip install snap-crewai-tools
# for the deposit/withdraw flow via the SNAP MCP server:
pip install "snap-crewai-tools[mcp]" # also requires Node.js (npx)
Native tools (pure Python)
snap_list_pools and snap_estimate_fee work with no JS dependency:
from crewai import Agent
from snap_crewai_tools import create_snap_tools
tools = create_snap_tools() # [SNAPListPoolsTool, SNAPEstimateFeeTool]
agent = Agent(
role="Payments analyst",
goal="Inspect SNAP pools and fees",
tools=tools,
)
| Tool | Description |
|---|---|
snap_list_pools |
List SNAP mainnet shielded pools |
snap_estimate_fee |
Estimate the 0.25% protocol fee for a pool |
Full flow: deposit & withdraw via the SNAP MCP server
Deposit and withdraw require Groth16 proof generation (in the TypeScript SDK), so
in Python those run through the published snap-mcp-server
using CrewAI's MCPServerAdapter:
from crewai import Agent
from crewai_tools import MCPServerAdapter
from snap_crewai_tools.mcp import snap_mcp_server_params
params = snap_mcp_server_params(
rpc_url="https://your-rpc-url.com",
pool_address="B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf",
)
with MCPServerAdapter(params) as tools:
# tools includes snap_deposit, snap_withdraw, snap_withdraw_private,
# snap_estimate_fee, snap_list_pools, snap_pool_info, snap_balance
agent = Agent(role="Treasurer", goal="Pay agents privately", tools=tools)
Mainnet Pools
| Pool | Address |
|---|---|
| 0.1 SOL | B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf |
| 1 USDC | 5LeuHrPBgHNhgbCy996MEjcsBk5gNHhVj6AiuuCHZ8od |
| 10 USDC | ECuHf8kgiWfmL3Q6id4WGBQWvuukhzqvF5vsxuPAKZBv |
Links
- SNAP Protocol
- Website
- SDK (snap-solana-sdk)
- MCP server (snap-mcp-server)
- LangChain tools (snap-langchain-tools)
License
MIT
Metadata
Release files for snap-crewai-tools 0.1.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 |
|---|---|---|---|---|
| snap_crewai_tools-0.1.0.tar.gz | 6.1 kB | Without provenance | Details for snap_crewai_tools-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| snap_crewai_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for snap_crewai_tools-0.1.0-py3-none-any.whl |
Total release size: 12.8 kB
Release files / snap_crewai_tools-0.1.0.tar.gz
| Download URL | snap_crewai_tools-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef3ec62752e37077f0e62483295a356b92055fe304c0b90b17e35f8f434ec1d5
|
|
BLAKE2b-256 checksum How to use checksums |
4b37a3c00a4601f73991b0ed25322ebae6656a0c80750413b834f98fa721bff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / snap_crewai_tools-0.1.0-py3-none-any.whl
| Download URL | snap_crewai_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8094cb420a2c64851b3459f759dc11bf5b98b38ea7cebc062708874447057a81
|
|
BLAKE2b-256 checksum How to use checksums |
a1d6e88e886f8a1c0066ec010582b61387f9a97f0c0a9e5b30f8e219193de13b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for snap-crewai-tools 0.1.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.