SandBase CLI
One command wires 25 AI clients to 2,000+ models and data APIs through a local MCP bridge with OAuth and exact rollback.
- Source repo
- sandbaseai/cli
- Stars
- ★ 186
- Last updated
- 2d ago
- FARS reviewed
- Nov 24, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 58/100 · Major gaps
At a glance
- Works with
- Platform-specificCodex · Claude CodeChatGPT (Partial support)
- You'll need
- Typical use
- A developer working in Claude Code, Cursor or Codex who wants web search, social data or image generation inside the editor without registering separate keys for each provider.
- Main limitation
- Calls route through SandBase's cloud (api.sandbase.ai) and require a SandBase account; there is no documented self-hosted gateway, and an unreachable service leaves tools visible but failing.
- Website
- sandbaseai.github.io/cli ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-22
- Source review
- 58/100 · Major gaps
What does this agent do, and when should you use it?
SandBase CLI (@sandbaseai/cli) is an open-source Node.js command-line tool that registers a local Model Context Protocol bridge inside AI clients you already use. Running sandbase connect opens a PKCE browser authorization, saves the resulting credential locally with 0600 permissions, and writes the client's MCP configuration so that, after a restart, the client can call SandBase's catalog of 2,000+ models and data APIs. The bridge starts on demand — the README states there is no daemon and no background process — and exposes seven MCP tools: sandbase_discover, sandbase_inspect, sandbase_run, sandbase_run_get, sandbase_runs, sandbase_account and sandbase_run_cancel. Agents without MCP get the same catalog through shell commands (discover, inspect, run, runs, upload, balance). It covers 25 client targets including Cursor, Claude Code, Codex, Gemini CLI, Windsurf, OpenCode, Hermes and OpenClaw, most auto-configured, with ChatGPT and Claude Desktop handled manually. Discovery, inspection, run status and balance checks are free; models are billed per call or per million tokens, and data APIs include 100 free calls per organization per UTC day before per-call billing.
connect detects the AI clients installed on the machine, opens a PKCE browser authorization, stores the returned API key in a local file with 0600 permissions, then writes the client's MCP server entry and the SandBase Skill; catalog --json is a read-only command that prints the 25 supported client targets without writing files or needing an account. doctor performs local checks plus one real round trip to SandBase to verify the credential, MCP bridge and Skill, while unregister removes only configuration SandBase owns, leaving a pre-existing non-SandBase MCP entry named sandbase untouched. Once the bridge is live it serves seven MCP tools: sandbase_discover searches the catalog by task or capability, sandbase_inspect returns the input schema, current price and a ready-to-run template, sandbase_run executes an endpoint, sandbase_run_get polls an async run by run_id, sandbase_runs lists recent runs with recorded cost, sandbase_account reports balance and today's free_api_quota, and sandbase_run_cancel cancels an Agent Service run. Sync tools (LLMs and most data APIs) return results directly; image, video and audio jobs return a run_id that you wait on with -w or fetch later via sandbase runs get -r <run_id>, optionally writing output to disk with -o. The shell transport shares the same catalog, taking credentials from connect, SANDBASE_API_KEY, or sandbase keys add -k <key>.
- A developer working in Claude Code, Cursor or Codex who wants web search, social data or image generation inside the editor without registering separate keys for each provider.
- A team whose members use different AI clients and needs one connect run plus per-client doctor checks to confirm credential, MCP bridge and Skill are all configured.
- An agent runtime with no MCP support, or a broken MCP session, that continues through shell commands — sandbase discover, inspect and run — against the same catalog.
- Cost-sensitive research work: use the free discover and inspect calls to compare candidate endpoints and prices, then approve and pay only for the run you selected.
- Async media generation: submit a video or audio job, take the run_id, wait with exponential backoff via -w or resume later with runs get, and save output to a JSON file.
- Automated installers and CI: read llms-install.md, pre-flight compatibility with the write-free catalog --json, then run a pinned release tarball verified against its published SHA-256.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx -y @sandbaseai/cli@latest connectbrew install sandbaseai/tap/sandbaseai-clinpm install -g @sandbaseai/cli@latestnpx -y "./sandbaseai-cli-$V.tgz" connect
- Config files
result.json- Runtime
- Node.js 20
- Install notes cover
- macOS · Linux
How do you install or deploy this agent?
Node.js 20 or newer is required. The quickest path is a one-off npx run that handles authorization and client configuration:
npx -y @sandbaseai/cli@latest connectOn macOS or Linux you can use the official Homebrew formula instead:
brew install sandbaseai/tap/sandbaseai-cli
sandbase connectA one-off npx invocation does not permanently install the sandbase command, so install it globally if you want it on PATH:
npm install -g @sandbaseai/cli@latest
sandbase connectTo pin an exact build, download the release tarball and verify its SHA-256 against the release page:
V=$(npm view @sandbaseai/cli version)
curl -fL -O "https://github.com/sandbaseai/cli/releases/download/v$V/sandbaseai-cli-$V.tgz"
shasum -a 256 "sandbaseai-cli-$V.tgz"
npx -y "./sandbaseai-cli-$V.tgz" connectHow do you use this agent?
Inspect supported clients without writing anything, then authorize a single client and verify it:
npx -y @sandbaseai/cli@latest catalog --json
npx -y @sandbaseai/cli@latest connect --client cursor
npx -y @sandbaseai/cli@latest doctor --client cursorAuthorization needs one browser sign-in; restart the AI client or open a new session afterwards so the sandbase_* tools load. Without a local AI client, create an API key in the console and use the terminal commands directly:
npx -y @sandbaseai/cli@latest discover -q "twitter posts" -t api
npx -y @sandbaseai/cli@latest inspect sandbase_twitter_web_search_timeline
npx -y @sandbaseai/cli@latest run sandbase_twitter_web_search_timeline -i '{"keyword":"AI agents"}'Wait on async jobs and write results to disk, or resume them later by run id instead of resubmitting:
npx -y @sandbaseai/cli@latest run <video_tool> -i '{"prompt":"..."}' -w -o result.json
npx -y @sandbaseai/cli@latest runs get -r <run_id> -w -o result.json
npx -y @sandbaseai/cli@latest balanceTo undo the setup, remove only the configuration SandBase owns:
npx -y @sandbaseai/cli@latest unregister --client openclawSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- rollback or recovery path
What are this agent's strengths and limitations?
- One authorization covers 25 client targets, with Cursor, Claude Code, Codex, Gemini CLI, Windsurf, OpenCode, Hermes and OpenClaw auto-configured by a single connect.
- catalog --json is genuinely read-only — no files written, no account needed — so you can confirm client compatibility before signing in or changing configuration.
- Discovery, inspection, run status and balance are free, and sandbase_inspect surfaces the input schema, current price and free_quota before anything billable runs.
- connect uses PKCE browser authorization instead of pasted keys and stores credentials at 0600; unregister and failure rollback remove only SandBase-owned config while preserving JSONC comments and user-managed MCP entries.
- The bridge is on-demand with no daemon, and the shell transport exposes the same catalog, so a broken MCP session does not block tool use.
- Every GitHub release publishes its own SHA-256 next to the tarball, so a specific build can be pinned and verified rather than tracking latest.
- Calls route through SandBase's cloud (api.sandbase.ai) and require a SandBase account; there is no documented self-hosted gateway, and an unreachable service leaves tools visible but failing.
- No static price list ships with the tool: models are billed per call or per million tokens and data APIs switch to per-call billing after 100 free daily calls, so cost must be confirmed through inspect or balance.
- OpenClaw has no supported Skill removal command, so unregister removes the managed MCP entry and local credential but leaves the verified Skill installed.
- A one-off npx connect does not install the sandbase command permanently, and the docs warn against mixing npm and Homebrew installation methods.
- Async work depends on the caller managing run_id and polling (via -w or runs get); resubmitting instead of resuming leads to duplicate billed runs.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| SandBase CLI This agent | 58 · Major gaps | — | ★ 186 | 2d ago | TypeScript | Codex · Claude Code |
| Postbag | 78 · Good | — | ★ 10 | 1mo ago | Python | Codex · Claude Code |
| Puppetmaster | 73 · Some gaps | CLIFree + model costs | ★ 482 | 4d ago | Python | Codex · Claude Code |
| AgentBridge | 63 · Some gaps | CLIFree + model costs | ★ 440 | 2mo ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows connect is explicitly invoked, OAuth Device Flow+PKCE is claimed, credentials are stored with 0600, errors are redacted, and config writes use ownership/managed markers with backup and restore. However, detection spawns multiple client executables and mutates many client configs, billed-run confirmation is mainly in SKILL docs rather than enforced by code, data flow is summarized as a single API host, and third-party model/API data flows are not detailed. Scores: least_privilege=2, user_confirmation=1, data_flow_transparency=1, sensitive_data_handling=2, dependency_security=2, external_effects=1, rollback=3, source_attribution=2; deductions for weak enforced confirmation, paid external effects, and limited data-flow transparency.
Version 0.3.11 matches package/SKILL, Node >=20 matches the CI matrix, and errors carry code/hint/next step with tests. But README claims 25 clients while the visible table shows about 16, the README command list and CLI usage are not fully aligned, and lockfile/audit outputs are not shown in the packet. Scores: self_consistency=1, dependency_availability=2, failure_messages=2; deductions for client-count/command-doc inconsistency and limited dependency-audit visibility.
README addresses both people and agents, and SKILL gives scenarios plus exceptions. But trigger conditions are broad, and environment fit is mainly Node/Linux/macOS clues; Windows is not evidenced. Scores: audience_and_scenarios=2, capability_boundaries=2, trigger_precision=1, environment_fit=2; deductions for trigger precision and environment coverage.
Information architecture is clear, install notes cover npx/brew/connect, naming and versions are mostly consistent, and LICENSE is complete Apache-2.0. But there is no FAQ, no CHANGELOG, known limitations are scattered, maintenance responsibility is unclear, and the publisher is unverified. Scores: information_architecture=2, install_notes=2, naming_stability=2, examples_and_faq=1, known_limitations=1, license=3, versioning_changelog=1, maintenance_responsibility=1; deductions for FAQ, changelog, limitations consolidation, and maintenance ownership.
Outputs include catalog JSON, structured MCP content, and error next steps; cost handling includes free quota and inspect pricing. But the 2,000+ model/API and 25-client value claims are not cross-verified in the packet, and there are no benchmarks or real output samples. Scores: output_usability=2, marginal_value=2, cost_benefit=2; deductions because value and cost evidence remains largely documentary.
Some claims trace to releases/registry/docs, and version, license, and Node requirements are cross-file consistent. But the 25-client claim conflicts with the visible table, the 2,000+ model catalog has no listing, and marketing claims are mixed with fact boundaries. Scores: claim_traceability=1, cross_source_corroboration=1, fact_inference_separation=2; deductions for unsupported client-count and catalog claims.
- Publisher is not verified by the FollowAgents enterprise registry; verify publisher identity and release path independently before enterprise use.
- README claims 25 supported clients, but the visible client table lists only about 16; verify the actual supported list.
- connect/setup probes and rewrites multiple AI client configurations; inspect which files will change and confirm backup/rollback behavior before running.
- The product makes paid external API calls; confirmation and cost warnings in SKILL are not code-enforced, so set account spending limits and use inspect first.
- There is no CHANGELOG, and SECURITY supports only the latest release; confirm long-term maintenance and upgrade impact separately.
- The 2,000+ model/API capability claim lacks an in-packet catalog or independent evidence; verify it against actual catalog/API responses.
FAQ
Is SandBase CLI open source?
Is SandBase CLI safe to use?
Is SandBase CLI still maintained?
Who makes SandBase CLI?
What is SandBase CLI's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.