Solana AI 工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Solana AI 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Solana AI 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:cargo install(推荐) cargo install solvela # 方式二:从源码编译 git clone https://github.com/solvela-ai/solvela cd solvela cargo build --release # 二进制在 ./target/release/solvela
# 查看帮助 solvela --help # 基本运行 solvela [options] <input> # 详细使用说明请查阅文档 # https://github.com/solvela-ai/solvela
# solvela 配置说明 # 查看配置选项 solvela --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SOLVELA_CONFIG="/path/to/config.yml"
Solvela (n.) — the place where settlement happens. From Latin solvere (to settle, to pay) + Romance -ela. A Solana-native settlement layer for AI agents.
No API keys, no accounts -- just wallets.
AI agents pay for LLM API calls with USDC-SPL on Solana via the x402 protocol. The gateway verifies payments on-chain, routes requests through a 15-dimension smart scorer, and proxies to the optimal provider. All settlement happens in USDC on Solana -- no custodial accounts, no subscription tiers, no invoices.
---
dtolnay/rust-toolchain@stable)git clone https://github.com/solvela-ai/solvela.git
cd solvela
cargo build
Start backing services and configure the environment:
docker compose up -d
cp .env.example .env
Edit .env and add at least one provider API key (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.) and your Solana recipient wallet.
RUST_LOG=info cargo run -p gateway
The gateway listens on http://localhost:8402.
cargo build # Debug build (full workspace)
cargo check # Faster type checking
cargo check -p gateway # Single crate
cargo build --release # Release build
Solvela is deployed on Fly.io:
| Resource | URL / Name |
|---|---|
| Gateway | api.solvela.ai (Fly app: solvela-gateway) |
| PostgreSQL | solvela-pg (Fly Postgres 17.2) |
| Redis | solvela-cache (Upstash, ord + iad) |
```bash
fly deploy -a solvela-gateway
Environment variables use the SOLVELA_ prefix. Provider API keys follow the standard <PROVIDER>_API_KEY convention.
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | At least one provider key | OpenAI API key |
ANTHROPIC_API_KEY | Anthropic API key | |
GOOGLE_API_KEY | Google/Gemini API key | |
XAI_API_KEY | xAI/Grok API key | |
DEEPSEEK_API_KEY | DeepSeek API key | |
SOLVELA_SOLANA_RPC_URL | Yes | Solana RPC endpoint |
SOLVELA_SOLANA_RECIPIENT_WALLET | Yes | USDC payment destination (base58) |
SOLVELA_SOLANA_FEE_PAYER_KEY | For escrow | Hot wallet key for claim transactions |
SOLVELA_SOLANA_ESCROW_PROGRAM_ID | For escrow | Anchor escrow program ID |
SOLVELA_PORT | No | Gateway port (default: 8402) |
SOLVELA_ADMIN_TOKEN | No | Admin auth for /metrics and /v1/escrow/health |
DATABASE_URL | No | PostgreSQL connection string |
REDIS_URL | No | Redis connection string |
SOLVELA_CORS_ORIGINS | No | Comma-separated allowed CORS origins |
Legacy: the gateway also accepts the same vars under the oldRCR_*prefix with a deprecation warning. UseSOLVELA_*for new deployments.
See .env.example for the full reference. Configuration files live in config/:
models.toml -- Model registry with per-token pricing (6 providers, 44 models)default.toml -- Server host/port, Solana RPC URL, monitor thresholdsservices.toml -- x402 service marketplace registry---
Client libraries for Python, TypeScript, and Go. Each ships wallet management, on-chain signing, response caching, session tracking, degraded response detection, and a 7-step smart chat flow. Plus framework-level packages: an MCP server (Claude Code, Cursor, Claude Desktop, OpenClaw), a Vercel AI SDK provider, an OpenClaw provider plugin, a signer-core primitives package shared across the TypeScript ecosystem, and an npm CLI shim that bundles the Rust solvela binary.
The solvela CLI includes a host-config installer that sets up the MCP server in one command:
solvela mcp install --host=claude-code # delegates to claude mcp add (user scope)
solvela mcp install --host=cursor # writes ~/.cursor/mcp.json with envFile
solvela mcp install --host=claude-desktop # writes platform-specific config
solvela mcp install --host=openclaw # runs openclaw mcp set solvela ...
The installer never writes SOLANA_WALLET_KEY to disk. Store it in ~/.solvela/env (chmod 0600) or your shell profile. See the MCP server security guide for details.
| Method | Path | Description |
|---|---|---|
POST | /v1/chat/completions | OpenAI-compatible chat (x402 paid) |
POST | /v1/messages | Anthropic-native /v1/messages relay — byte-for-byte passthrough for Anthropic-provider models (x402 paid) |
POST | /v1/search | Web search via the service marketplace ($0.01/query + 5% fee, x402 paid) |
POST | /v1/images/generations | OpenAI-compatible image generation (x402 paid) |
POST | /v1/services/{id}/proxy | Proxy to x402-enabled external service |
POST | /v1/services/register | Register external service (admin) |
POST | /v1/escrow/settle | Client-initiated escrow claim after stream completion |
POST | /a2a | A2A protocol JSON-RPC endpoint |
GET | /v1/models | List available models with pricing |
GET | /v1/services | Service marketplace discovery |
GET | /v1/supported | x402 payment method discovery |
GET | /v1/nonce | Durable nonce for replay-safe transactions |
GET | /v1/wallet/{address}/stats | Wallet spend statistics (session auth) |
GET | /v1/escrow/config | Escrow program configuration |
GET | /v1/escrow/health | Escrow claim metrics (admin) |
GET | /v1/admin/stats | Aggregate gateway statistics (admin) |
GET | /.well-known/agent-card.json | A2A AgentCard for agent discovery (v0.3 canonical path; /.well-known/agent.json kept as a backward-compat alias) |
GET | /pricing | Per-model USDC cost breakdown |
GET | /health | Gateway health check |
GET | /metrics | Prometheus metrics (admin) |
Enterprise org/team/budget/audit endpoints live under /v1/orgs/... and /v1/wallets/{wallet}/budget. See Enterprise docs for the full CRUD reference.
---
cd sdks/mcp && npm test
```
| Provider | Model | Input (per 1M tokens) | Output (per 1M tokens) | Context |
|---|---|---|---|---|
| OpenAI | gpt-5.2 | $1.75 | $14.00 | 400K |
| OpenAI | gpt-4o | $2.50 | $10.00 | 128K |
| OpenAI | gpt-4o-mini | $0.15 | $0.60 | 128K |
| OpenAI | gpt-4.1 | $2.00 | $8.00 | 1M |
| OpenAI | gpt-4.1-mini | $0.40 | $1.60 | 1M |
| OpenAI | gpt-4.1-nano | $0.10 | $0.40 | 1M |
| OpenAI | o3 | $2.00 | $8.00 | 200K |
| OpenAI | o3-mini | $1.10 | $4.40 | 200K |
| OpenAI | o4-mini | $1.10 | $4.40 | 200K |
| OpenAI | gpt-oss-120b | Free | Free | 128K |
| Anthropic | claude-opus-4-8 | $5.00 | $25.00 | 200K |
| Anthropic | claude-opus-4-7 | $5.00 | $25.00 | 200K |
| Anthropic | claude-opus-4-6 | $5.00 | $25.00 | 200K |
| Anthropic | claude-sonnet-4-6 | $3.00 | $15.00 | 200K |
| Anthropic | claude-sonnet-4-5-20250929 | $3.00 | $15.00 | 200K |
| Anthropic | claude-haiku-4-5-20251001 | $1.00 | $5.00 | 200K |
gemini-3.1-flash-lite | Free | Free | 1M | |
gemini-3.1-pro | $2.00 | $12.00 | 1M | |
gemini-2.5-flash | $0.30 | $2.50 | 1M | |
gemini-2.5-flash-lite | $0.10 | $0.40 | 1M | |
| xAI | grok-3 | $3.00 | $15.00 | 131K |
| xAI | grok-3-mini | $0.30 | $0.50 | 131K |
| xAI | grok-4-fast-reasoning | $0.20 | $0.50 | 2M |
| xAI | grok-code-fast-1 | $0.20 | $1.50 | 256K |
| DeepSeek | deepseek-chat | $0.28 | $0.42 | 128K |
| DeepSeek | deepseek-reasoner | $0.28 | $0.42 | 128K |
| DeepSeek | deepseek-coder | $0.28 | $0.42 | 128K |
| NVIDIA | nvidia/nvidia/llama-3.1-nemotron-nano-8b-v1 | Free | Free | 131K |
| NVIDIA | nvidia/nvidia/llama-3.1-nemotron-ultra-253b-v1 | Free | Free | 131K |
| NVIDIA | nvidia/nvidia/llama-3.3-nemotron-super-49b-v1 | Free | Free | 131K |
| NVIDIA | nvidia/nvidia/nemotron-3-nano-30b-a3b | Free | Free | 131K |
| NVIDIA | nvidia/nvidia/nemotron-3-super-120b-a12b | Free | Free | 131K |
| NVIDIA | nvidia/nvidia/nemotron-3-ultra-550b-a55b | Free | Free | 131K |
| NVIDIA | nvidia/nvidia/nemotron-mini-4b-instruct | Free | Free | 4K |
| NVIDIA | nvidia/meta/llama-4-maverick-17b-128e-instruct | Free | Free | 1M |
| NVIDIA | nvidia/meta/llama-4-scout-17b-16e-instruct | Free | Free | 1M |
| NVIDIA | nvidia/meta/llama-3.3-70b-instruct | Free | Free | 131K |
| NVIDIA | nvidia/qwen/qwen3-coder-480b-a35b-instruct | Free | Free | 256K |
| NVIDIA | nvidia/deepseek-ai/deepseek-r1 | Free | Free | 160K |
| NVIDIA | nvidia/mistralai/mistral-large-3-675b-instruct-2512 | Free | Free | 256K |
| NVIDIA | nvidia/minimaxai/minimax-m2.7 | Free | Free | 200K |
| NVIDIA | nvidia/minimaxai/minimax-m3 | Free | Free | 200K |
| NVIDIA | nvidia/nvidia/llama-3.3-nemotron-super-49b-v1.5 | $0.10 | $0.40 | 131K |
| NVIDIA | nvidia/nvidia/nvidia-nemotron-nano-9b-v2 | $0.04 | $0.16 | 131K |
All prices are provider cost in USDC. A 5% platform fee is applied on top. See config/models.toml for the full registry or query GET /pricing at runtime.
Free-tier data-use notice. Thefreeprofile routes to NVIDIA NIM free-tier Nemotron models (tiered by complexity), withgemini-3.1-flash-liteas a fallback if NIM is unavailable. These are served via the upstream providers' free API tiers, whose terms may permit the provider to use submitted prompts and generated responses to improve their products (and human reviewers may process them) — do not send sensitive data through the free tier. The free tier is also rate-limited and shared per gateway key, so treat it as a demo/evaluation tier rather than a model to build production load on. Paid models on this list are not subject to those free-tier data-use policies.
---
Solvela 是一个基于 Solana 的 AI 代理定居层,旨在提供一个无 API 密钥、无账户的定居体验。它使用钱包作为唯一身份认证方式。Solvela 的目标是成为一个 AI 代理定居的首选平台。
Solvela 提供了多种功能,包括 AI 代理定居、钱包管理、链上签名、响应缓存、会话跟踪、降级响应检测和智能聊天流程等。
Solvela 需要以下环境依赖:Rust(最新稳定版本)、Docker 和 Docker Compose(用于 PostgreSQL 和 Redis 的部署)、至少一个 LLM 提供商 API 密钥。
安装 Solvela 可以使用以下步骤:克隆 Solvela 仓库、构建和运行 Solvela、启动后端服务和配置环境变量、编辑 .env 文件并添加提供商 API 密钥和 Solana 接收方钱包。
使用 Solvela 可以通过以下步骤:克隆 Solvela 仓库、构建和运行 Solvela、启动后端服务和配置环境变量、编辑 .env 文件并添加提供商 API 密钥和 Solana 接收方钱包。
Solvela 的配置使用环境变量,变量名前缀为 SOLVELA_。提供商 API 密钥遵循标准的 <PROVIDER>_API_KEY 规则。
Solvela 提供了多种 API 端点,包括聊天完成、图像生成和服务代理等。它还提供了多种 SDK,包括 Python、TypeScript 和 Go 等。
Solvela 支持多种模型,包括 OpenAI 的 gpt-5.2、gpt-4o 和 gpt-4o-mini 等。每个模型有不同的输入和输出成本,以及上下文大小限制。
高质量的开源AI工作流项目,具有较大潜力
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,Solana AI 工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | solvela |
| 原始描述 | 开源AI工作流:Solana-native AI agent payment infrastructure. AI agents pay for LLM API calls w。⭐9 · Rust |
| Topics | ai-agentscrypto-paymentsllmpayment-gatewayrust |
| GitHub | https://github.com/solvela-ai/solvela |
| License | NOASSERTION |
| 语言 | Rust |
收录时间:2026-06-07 · 更新时间:2026-06-08 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端