by BlockRunAI
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
# Add to your Claude Code skills
git clone https://github.com/BlockRunAI/FranklinLast scanned: 11/29/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@blockrun/llm: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@electron/universal: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@ethersproject/abi: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/abstract-provider: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/abstract-signer: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/contracts: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/hash: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/hdnode: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/json-wallets: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/providers: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/signing-key: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/transactions: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/wallet: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ethersproject/wordlists: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@hono/node-server: @hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@modelcontextprotocol/sdk: MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@polymarket/builder-abstract-signer: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@polymarket/builder-relayer-client: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@polymarket/clob-client-v2: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@solana/buffer-layout-utils: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@solana/spl-token: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@solana/spl-token-group: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@solana/spl-token-metadata: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@solana/web3.js: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@ts-morph/common: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/eslint-plugin: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/parser: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/type-utils: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/typescript-estree: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/utils: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@vitest/mocker: Vitest: Code injection via unauthenticated manual mock registration",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "app-builder-lib: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "bigint-buffer: bigint-buffer Vulnerable to Buffer Overflow via toBigIntLE() Function",
"severity": "high"
},
{
"type": "npm-audit",
"message": "body-parser: body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body",
"severity": "high"
},
{
"type": "npm-audit",
"message": "concurrently: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "dmg-builder: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "electron: Electron: HID and USB permission checks can be attributed to the wrong origin",
"severity": "high"
},
{
"type": "npm-audit",
"message": "electron-builder: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "electron-builder-squirrel-windows: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "elliptic: Elliptic Uses a Cryptographic Primitive with a Risky Implementation",
"severity": "low"
},
{
"type": "npm-audit",
"message": "ethers: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "fast-uri: fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "follow-redirects: follow-redirects array-form headers bypass cross-origin credential stripping",
"severity": "high"
},
{
"type": "npm-audit",
"message": "hono: Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ip-address: ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "jayson: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "minimatch: minimatch has potential denial of service via globparts amplification",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "postcss-selector-parser: PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "proxy-addr: proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "qs: qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "shadcn: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "shell-quote: shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "source-map-js: source-map-js allows event-loop denial of service through indexed source-map section offsets",
"severity": "high"
},
{
"type": "npm-audit",
"message": "stream-json: stream-json: pick/ignore/filter/replace filters are O(depth²) on nested input — small crafted JSON blocks the event loop for seconds→minutes (DoS)",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "systeminformation: systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net",
"severity": "high"
},
{
"type": "npm-audit",
"message": "ts-morph: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "undici: undici vulnerable to Denial of Service via unbounded memory in the EventSource parser",
"severity": "high"
},
{
"type": "npm-audit",
"message": "uuid: uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vite: launch-editor: escapeCmdArgs() omits % escaping on Windows",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vitest: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "zod: Zod can exhaust memory while validating oversized constrained collections",
"severity": "high"
}
],
"status": "FAILED",
"scannedAt": "2026-11-29T14:02:51.485Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}Franklin is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BlockRunAI. The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript. It has 570 GitHub stars.
Franklin failed AgentsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/BlockRunAI/Franklin" and add it to your Claude Code skills directory (see the Installation section above).
Franklin is primarily written in TypeScript. It is open-source under BlockRunAI on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Franklin against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
Franklin Agent is an autonomous economic agent — an AI that holds a USDC wallet and spends it to get real work done, with trading as its flagship arena. It buys live market data, proposes trade plans you approve before a cent moves, pursues long-running goals across sessions, keeps a wallet-bound trading journal, and picks the best model per task from 93 models. You state an outcome and set a budget. Franklin Agent decides what to call, what to pay for, and when to stop. No subscriptions, no seats, no rate limits.
Funding it is your choice. Fund a USDC wallet and every paid action routes through the x402 micropayment protocol, settling on-chain against a wallet only you control — no signup, no account, the wallet is the identity. Or top up a prepaid balance at user.blockrun.ai and hand Franklin an API key. Same models, same tools, same agent. See Two ways to pay.
Built by the BlockRun team. Apache-2.0. TypeScript. Ships as one npm package.
YOPO — You Only Pay Outcome
Not a subscription (pay for access). Not a generic pay-per-call (pay for trying). You pay only for the work Franklin Agent delivers. Chat is provider cost with no markup, plus $0.001 per call; media carries 5%. Settled per action in USDC. No monthly fees. No rate limits. No overdraft.
Requires Node.js 20.19+ (Node 22 LTS recommended). Check with
node -v. Older Node crashes at startup withERR_REQUIRE_ESM.
# 1. Install
npm install -g @blockrun/franklin
# 2. Run (free — uses the free models out of the box)
franklin
# 3. (optional) Unlock Sonnet, Opus, GPT, Gemini, Grok + every paid API.
# Pick ONE — a USDC wallet, or a prepaid API key.
# a) Wallet — no signup, no account
franklin setup solana # or: franklin setup base / franklin setup arc
franklin balance # show address + USDC balance
# b) API key — sign up and top up at https://user.blockrun.ai
franklin login brk_live_...
Either route unlocks the same thing: $5 buys you every frontier model and every paid tool in the BlockRun gateway. The wallet route needs zero signup, zero credit card, zero phone verification. The key route needs an account but no crypto.
No global install? Just run it directly — no permissions, no -g:
npx @blockrun/franklin
| Symptom | Cause | Fix |
|---|---|---|
npm error EACCES … mkdir '/usr/local/lib/node_modules' |
Your global npm folder is owned by root (common when Node was installed from the macOS .pkg). |
Don't use sudo. Either run npx @blockrun/franklin (no global install needed), or switch to a user-owned Node via a version manager — see below. |
Error [ERR_REQUIRE_ESM] … rpc-websockets … require() of ES Module … uuid |
Node is older than 20.19. Franklin's Solana deps need the require(esm) support added in Node 20.19.0. |
Upgrade to Node 20.19+ or 22 LTS (see below). This is the #1 cause of a crash on first run. |
npm warn EBADENGINE … required: { node: '>=20.x' } |
Node is older than 20.19. | Upgrade to Node 20.19+ or 22 LTS. The warning alone is harmless, but on old Node the run will also crash — upgrade. |
The clean, permanent fix for both is a user-owned Node so global installs never touch root-owned system folders:
# nvm (https://github.com/nvm-sh/nvm)
nvm install 22 && nvm use 22
npm install -g @blockrun/franklin
# or fnm (https://github.com/Schniz/fnm)
fnm install 22 && fnm use 22
npm install -g @blockrun/franklin
The same agent ships as a VS Code extension — chat panel, model picker, wallet balance, image / video generation — all driven by the wallet you already funded for the CLI.
VS Code → Extensions (Cmd+Shift+X / Ctrl+Shift+X)
→ search "Franklin" → Install
→ click the Franklin icon in the Activity Bar
Free models work immediately. Paid models, image gen, and video gen use your selected payment method: funded API account credit or a USDC wallet. The CLI and the extension share the same ~/.blockrun/ config and session history, so jumping between terminal and VS Code is seamless.
Franklin Desktop brings the real Franklin agent into a native workspace for macOS and Windows. It uses the same local wallet, models, tools, and session runtime as the CLI, with a visual chat, conversation history, gallery, wallet, tools, skills, and CLI panels.
| Platform | Current beta package |
|---|---|
| macOS (Apple silicon) | Unsigned .dmg test build |
| Windows (x64) | Unsigned .exe test build |
Beta distribution: signed public downloads and automatic updates are not live yet. Maintainers can download the short-lived unsigned installers from Desktop CI. Public signed builds will appear on the Franklin releases page.
Desktop is local-first: it opens in Documents/Franklin, keeps session history
local by default, and asks before an agent accesses files outside the active
workspace. External files are not blocked; each access requires explicit approval.
Shell commands also require approval in the current beta.
The stable beta currently runs the Franklin agent. Team Mode and Studio adapters for additional agent CLIs are being developed separately and are not included in this release. See the Desktop guide for development and packaging instructions.
Franklin needs money to work — it buys model calls, market data, search and media generation on your behalf. There are two ways to give it that money, and they are interchangeable. Everything else about the agent is identical.
| USDC wallet (x402) | API key (prepaid credit) | |
|---|---|---|
| Setup | franklin setup solana |
Sign up, top up, franklin login brk_... |
| Account required | No | Yes |
| Crypto required | Yes — USDC on Solana, Base or Arc | No — top up with a card |
| Settlement | On-chain, per call, via x402 | Against a prepaid balance |
| Gateway | sol.blockrun.ai / blockrun.ai / arc.blockrun.ai |
api.blockrun.ai |
| Where the money lives | A wallet only you hold the key to | Your BlockRun account |
| Spend visibility | franklin stats — exact settled amounts |
franklin balance + dashboard; exact except chat |
Three wallet chains. Solana (the default), Base, or Circle's Arc
(chain 5042). Switch with franklin solana / franklin base / franklin arc, or the chain
buttons on the panel's wallet page. Base and Arc share one EVM key, so the same address
receives USDC on both; Solana has its own key. Card purchase (Coinbase Onramp) funds Base
and Solana only — on Arc, send USDC to the address directly. franklin balance always
reports the active chain's USDC, so after switching to Arc it shows your Arc balance, not
Base's. Arc's gateway adds models after Base does; the picker lists what Arc serves today.
The wallet is still Franklin's identity. Memory, the trading journal and goals are keyed to it, and the wallet route is the