CLI
Every command and flag in the Franklin CLI.
Main Command
franklin [flags]Launches an interactive agent session. Without any flags, Franklin uses the Smart Router to pick the best available model.
Global Flags
--trust— skip tool-call confirmations (trust mode)--debug— enable verbose debug logging-m <model>— pin a specific model (e.g.,-m claude-sonnet-4-20250514)--version— print the installed version--help— show help text
Subcommands
setup
franklin setup <chain> # chain: base | solanaCreate or import a wallet on the specified chain. Prompts for a private key import or generates a new wallet.
balance
franklin balanceDisplay your wallet address and current USDC balance across all configured chains.
models
franklin modelsList all available models with their provider, cost tier, and current availability status.
config
franklin config [key] [value]View or set configuration values. Without arguments, prints the full config. With a key, prints that value. With both, sets the value.
search
franklin search <query>Run a web search from the command line using BlockRun's search API. Returns structured results.
social
franklin social <platform> <action>Interact with social platforms (X/Twitter). Actions include post, search, and timeline.
proxy
franklin proxy [--port <port>]Start an OpenAI-compatible API proxy server. Allows any tool that supports the OpenAI API format to route through Franklin's Smart Router.
daemon
franklin daemon start|stop|statusManage the Franklin background daemon for scheduled tasks and persistent sessions.
migrate
franklin migrateImport settings, history, and learnings from Claude Code or Cursor. Detects your existing configuration automatically.
init
franklin initInitialize Franklin in the current project directory. Creates a .franklin/ directory with default settings.
uninit
franklin uninitRemove Franklin configuration from the current project. Deletes the .franklin/ directory.
panel
franklin panelOpen the Franklin web dashboard in your browser. Shows session history, spending analytics, and model usage.
insights
franklin insightsDisplay spending analytics, model usage breakdown, and cost trends from the command line.
Quick help
franklin --help or franklin <command> --help for usage details on any command.