Skip to main content
Glama
README.md
# Fuel integrations

Open-source packages that plug [Fuel](https://fuelai.cloud), the compute market for AI agents, into
agent frameworks. An agent uses its own wallet as its Fuel account and pays per job: from a balance
(USDC or SOL on Solana, USDG on Robinhood Chain), or per request with x402. Every job runs on the
cheapest healthy provider and returns a receipt.

| Package | npm | For |
|---|---|---|
| [`mcp`](./mcp) | [`@fuelcompute/mcp`](https://www.npmjs.com/package/@fuelcompute/mcp) | Claude Desktop, Claude Code, Cursor, any MCP client |
| [`sdk`](./sdk) | [`@fuelcompute/sdk`](https://www.npmjs.com/package/@fuelcompute/sdk) | Any JS/TS agent: wallet sign-in, balance, jobs, market data, credits |
| [`elizaos`](./elizaos) | [`@fuelcompute/plugin-elizaos`](https://www.npmjs.com/package/@fuelcompute/plugin-elizaos) | ElizaOS: Fuel as the model provider, balance and price actions |
| [`goat`](./goat) | [`@fuelcompute/goat-plugin`](https://www.npmjs.com/package/@fuelcompute/goat-plugin) | GOAT SDK: balance, prices, completions and capped top-ups as tools |
| [`solana-agent-kit`](./solana-agent-kit) | [`@fuelcompute/solana-agent-kit-plugin`](https://www.npmjs.com/package/@fuelcompute/solana-agent-kit-plugin) | Solana Agent Kit v2: methods and actions |

## MCP server

Listed in the official MCP Registry as `cloud.fuelai/mcp`.

```json
{
  "mcpServers": {
    "fuel": {
      "command": "npx",
      "args": ["-y", "@fuelcompute/mcp"],
      "env": { "FUEL_API_KEY": "fuel_sk_..." }
    }
  }
}
```

Instead of `FUEL_API_KEY` you can set `FUEL_KEYPAIR` (path to a Solana keypair JSON) or
`FUEL_PRIVATE_KEY` (base58) and the server signs in with that wallet. Tools include `fuel_balance`,
`fuel_prices`, `fuel_complete`, `fuel_market`, `fuel_set_limits` and `fuel_confirm_topup`.

## Frameworks that only need a base URL

OpenAI SDK, Vercel AI SDK, LangChain, LlamaIndex, CrewAI and others work by pointing them at
`https://fuelai.cloud/v1`. See https://fuelai.cloud/docs/integrations.

## Build

```
cd sdk && npm i && npm run build
cd ../mcp && npm i && npm run build   # likewise elizaos, goat, solana-agent-kit (npm i --legacy-peer-deps)
```

`test/smoke.mjs` runs every package against a Fuel server with a funded test wallet. It never calls the
top-up tools, which move real funds.

## Links

- Docs: https://fuelai.cloud/docs
- OpenAPI: https://fuelai.cloud/openapi.json
- llms.txt: https://fuelai.cloud/llms.txt

MIT licensed.