sf CLI is the primary surface. Install it once and the API, SDK, Agent SDK, MCP adapter, and web terminal can share the same account context.
npm
First-time setup
sf setup walks you through:
SimpleFunctions API key
Pasted from
simplefunctions.dev/dashboard/keys, or auto-issued via sf login.~/.config/simplefunctions/config.json. They never leave your machine unless you opt into BYOK cloud secrets via sf portfolio enable.
Login
Verify
error field, you’re set.
Next steps
Quickstart
First 5 minutes — agent loop with curl + CLI.
CLI quickstart
First JSON commands and tool discovery.
SDK quickstart
Install the TypeScript SDK and read market context.
Agent SDK quickstart
Run the first Cursor-style market agent.
MCP server
Wire up Claude Desktop or Cursor.
Direct API access
Call the HTTP API from curl, TypeScript, Python, services, and agents.