🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@seldonframe/cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seldonframe/cli

Terminal client for the SeldonFrame builder marketplace — discover, inspect, and run agents and tools, and check your prepaid wallet.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
6
200%
Maintainers
1
Weekly downloads
 
Created
Source

@seldonframe/cli

A terminal client for the SeldonFrame builder marketplace. Discover, inspect, and run agents and tools, and check your prepaid wallet — straight from the shell, or from an agent framework that shells out.

It's the command-line twin of the SeldonFrame MCP discover → inspect → run flow: same endpoints, same auth, same honest pricing.

npm install -g @seldonframe/cli

Then teach your IDE agent the whole build-and-sell flow:

set up https://seldonframe.com/SKILL.md

Auth

Every command that hits the API uses your active workspace bearer key as Authorization: Bearer wst_….

  • Mint a key (revealed once) at https://app.seldonframe.com/build/keys.
  • Store it:
seldonframe keys add --label main --key wst_xxxxxxxx

The first key you add becomes active. Keys are stored locally (see Key storage) and are never printed in full — only ever masked (wst_…xxxx).

Commands

CommandWhat it doesEndpoint
keys add --label <l> --key <wst_…>Store a key (first = active)local
keys listList stored keys (masked)local
keys activate <label>Switch the active keylocal
keys remove <label>Remove a keylocal
discover -q <query> [--limit <n>]Search the catalog → ranked agents + tools, each with its pricePOST /api/v1/build/discover
inspect --type <agent|tool> --id <id>Show an entry's input schema, pricing, and docsPOST /api/v1/build/inspect
run --type <agent|tool> --id <id> -i <json|@file>Run an entry → result + honest billingPOST /api/v1/build/run
wallet balanceYour prepaid wallet balance + accrued earningsGET /api/v1/build/wallet/balance
--version, -VPrint the version
--help, -hPrint usage

Add --json to any command to emit raw JSON for piping/scripting.

Examples

# Search the marketplace
seldonframe discover -q "send an email to a customer" --limit 5

# Look at how to call a tool
seldonframe inspect --type tool --id GMAIL_SEND_EMAIL

# Run an agent with an inline JSON message
seldonframe run --type agent --id ace-receptionist \
  -i '{"message":"Do you do emergency calls?"}'

# Run a tool with input from a file
seldonframe run --type tool --id GMAIL_SEND_EMAIL -i @payload.json

# Check your wallet (as JSON)
seldonframe wallet balance --json

How runs are billed

A run returns a billing block. The CLI relays it exactly as the API reports it — it invents no charge:

Billing:
  cost:     $0.10 (100000 micro-USD)
  charged:  no
            (cost recorded, not charged)

charged reflects the real wallet/flag state from the server. Successful runs accrue cost; errored runs are never billed. When your prepaid wallet can't cover a run, the API returns 402 and the run does not execute — the CLI prints a top-up hint.

Configuration

VariablePurposeDefault
SELDONFRAME_API_BASE_URLOverride the API basehttps://app.seldonframe.com
SELDONFRAME_CONFIG_DIROverride where keys are storedOS config dir (below)

Key storage

Keys live in a single JSON file, keys.json, under your OS config directory:

  • Windows%APPDATA%\seldonframe\keys.json
  • macOS~/Library/Application Support/seldonframe/keys.json
  • Linux$XDG_CONFIG_HOME/seldonframe/keys.json (or ~/.config/seldonframe/keys.json)

The file is written with 0600 permissions where the OS honors it. The CLI never echoes a full key to stdout, stderr, or --json output.

Errors

StatusWhat you'll see
no keyNo active key. Run seldonframe keys add …
401Unauthorized — run seldonframe keys add with a fresh wst_ key
402Insufficient balance — top up at app.seldonframe.com/build/wallet
429Rate limited. Wait a moment and try again.
offline / bad base URLCould not reach <base> … Check your connection or SELDONFRAME_API_BASE_URL.

Requirements

Node.js >= 18 (uses the built-in fetch). Zero runtime dependencies.

License

MIT

Keywords

seldonframe

FAQs

Package last updated on 02 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts