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-db (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 (5 providers, 26 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/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.json | A2A AgentCard for agent discovery |
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
```
api.solvela.ai → no license obligations on you, just use it.partnerships@solvela.ai.partnerships@solvela.ai.| 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-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-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 | |
gemini-2.0-flash | $0.10 | $0.40 | 1M | |
gemini-2.0-flash-lite | $0.075 | $0.30 | 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 |
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.
---
高质量的开源AI工作流项目,具有较大潜力
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,Solana AI 工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | solvela |
| Topics | ai-agentscrypto-paymentsllmpayment-gatewayrust |
| GitHub | https://github.com/solvela-ai/solvela |
| License | NOASSERTION |
| 语言 | Rust |
收录时间:2026-06-07 · 更新时间:2026-06-07 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端