Dev & Engineering usdc-walletx402-micropaymentsmodel-routingtrading-signalstelegram-botmcp

Franklin Agent

A wallet-backed CLI that spends USDC on models and tools to execute research, coding, and trading tasks.

FollowAgents review · FARS-2.0
Not yet reviewed
See the full review method →

What does this agent do, and when should you use it?

Franklin Agent is a TypeScript command-line agent from BlockRun built around a wallet-funded execution loop. Its Smart Router selects among multiple models, while the BlockRun Gateway supplies model, search, image, and other paid services that settle through x402 USDC micropayments. The CLI includes persistent sessions, session search, cost insights, MCP auto-discovery, and a plugin SDK; its wallet configuration and session history can also be used by its VS Code extension and Telegram entry point. Trading is a primary workflow: it retrieves CoinGecko market data, calculates technical indicators locally, and requires approval of structured plans before trades on Jupiter, 0x, or Polymarket. It fits terminal users who want wallet-bounded spending across models and tools and are willing to use the BlockRun gateway.

After a user states an outcome in the franklin CLI, the runtime follows Intent → Smart Router → Tool Use → Spend Control → Result. It can use Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, ImageGen, MemoryRecall, AskUser, SubAgent, and Trading* tools to inspect and modify files, run commands, retrieve web material, create images, delegate work, and operate trading workflows. TradingSignal fetches market data from CoinGecko and computes RSI, MACD, Bollinger bands, and volatility locally; a real trade first becomes a trade plan with venue, asset, size, slippage, stop condition, rationale, and total spend, then waits for approval. Sessions stream to disk and can be restored or searched with /history, /resume, and /session-search, while /cost and franklin insights report spending. Paid actions settle through wallet-signed x402 micropayments and stop when the wallet balance is exhausted.

  1. A crypto trader at a terminal wants a BTC or SOL signal based on CoinGecko data and locally calculated RSI, MACD, Bollinger bands, and volatility before reviewing a trade plan.
  2. A developer wants one command-line session to read src/auth.ts, edit code, run npm test, and expose the cost of each step.
  3. A researcher needs /goal to compare x402-compatible data APIs within turn and --max-spend limits, with adversarial reviewers checking the evidence behind a completion claim.
  4. An independent creator wants to generate a startup logo from the CLI through a funded wallet rather than configure an OpenAI API key.
  5. A user running an always-on machine needs owner-locked Telegram access to resume sessions and send work requests from a phone.

What are this agent's strengths and limitations?

Pros
  • Uses wallet balance as a hard budget cap and settles paid actions with x402 USDC micropayments; the documentation describes no monthly fee or overdraft.
  • The Smart Router offers auto, eco, premium, and free profiles, and reports model selection, cost, and savings in responses.
  • Real-money trading has a non-bypassable trade-plan approval gate, with lifecycle hooks available for daily caps, token blocklists, and spend-ledger vetoes.
  • The CLI, VS Code extension, and Telegram channel can share ~/.blockrun/ configuration and session history; sessions persist, resume, and support full-text search.
Limitations
  • Core model and paid-service access runs through the BlockRun Gateway and its wallet flow, so adoption entails that gateway and payment path.
  • Paid capabilities depend on USDC on Base or Solana; paid models and tools cannot continue when the balance is empty.
  • Node.js 20.19+ is required; the documentation says older Node releases can crash in the Solana dependency path with ERR_REQUIRE_ESM.
  • Although trades require approval, the documented execution venues include Jupiter, 0x, and Polymarket, so users still bear responsibility for assessing each proposed trade.

How do you install or deploy this agent?

Node.js 20.19+ is required; the project recommends Node 22 LTS. Install and start:
npm install -g @blockrun/franklin
franklin
Or run without a global installation:
npx @blockrun/franklin
Free NVIDIA models are available by default. For paid models and paid tools, run franklin setup base or franklin setup solana, then fund the created wallet address with USDC; use franklin balance to display the address and balance.

How do you use this agent?

Start with franklin, or explicitly select the free profile:
franklin --model free
Enter a task such as “what's BTC looking like today?” or ask it to refactor a file and run tests. Use /model to choose a model, /plan for read-only planning, /execute for execution, and /cost for the session spend; use /goal for longer objectives and /loop for scheduled work. Real trades require review and approval of a trade plan, and approved budgets expire after 15 minutes. For remote access, set TELEGRAM_BOT_TOKEN and TELEGRAM_OWNER_ID, then run franklin telegram.

How does this agent compare with similar options?

The project contrasts itself with subscription coding agents, editor IDEs, and chatbots by claiming wallet-native USDC/x402 payments, outcome-based pricing, automatic model routing, and the ability to buy data, search, and image services. Its comparison also names the OpenAI API as a pay-per-call alternative where each attempt is charged.

FAQ

Can I start free without a wallet or API key?
The README says the default free NVIDIA models can be used by running franklin or franklin --model free. Paid models, image generation, and paid tools require setting up and funding a Base or Solana USDC wallet.
Will Franklin place real trades automatically?
Not directly. The README states that real trades through Jupiter, 0x, and Polymarket must first be presented as a structured trade plan and approved by the user; approved budget is drawn down per trade and expires after 15 minutes.
How are costs controlled, and what happens when funds run out?
Each paid action settles in USDC through x402. Use /cost and franklin insights for spending details. The wallet balance is the hard limit, and Franklin stops when it reaches zero.
Can I control it from my phone?
Yes. Set TELEGRAM_BOT_TOKEN and TELEGRAM_OWNER_ID on an always-on machine, then run franklin telegram. The channel is owner-locked and supports session resumption after restarts.

Related agents