Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt

Use this file to discover all available pages before exploring further.

Use this page for orientation. Use sf describe --all --json for the exact installed manifest and sf <command> --help for flags.

Setup

CommandUse
sf loginBrowser login and API key setup.
sf logoutClear saved SimpleFunctions credentials.
sf setupInteractive configuration wizard.
sf setup --checkPrint local config status.
sf status --jsonHealth check for API, auth, exchanges, runtime, and portfolio.
sf updateUpdate the CLI package.
sf install-completionInstall shell completion.

Tool discovery

CommandUse
sf describe --all --jsonRecursive command catalog with args, options, requirements, policy tags, and examples.
sf describe <tool> --jsonOne command manifest entry.
sf tools --jsonCatalog wrapped in the CLI JSON envelope.
sf tools search "<task>" --jsonSearch commands by task, option, tag, requirement, or example.
sf guide --jsonAgent playbook for query, monitor, and integration workflows.

Public market state

CommandUse
sf query "question" --jsonSearch event probabilities across prediction markets.
sf scan "keywords" --jsonSearch Kalshi and Polymarket markets.
sf screen --jsonIndicator screener.
sf inspect <ticker> --jsonOne market dossier.
sf world --jsonCompact world state.
sf world --delta --json --since 1hIncremental world-state changes.
sf ideas --jsonTrade ideas.
sf newmarkets --jsonNewly listed markets.
sf cross-venue --jsonCross-venue comparisons.
sf contagion --jsonLagging sibling markets.
sf yield-curve --jsonImplied probability/yield curves.
sf calibration --jsonCalibration and scoring metrics.
sf regime --jsonMarket regime analysis.
sf calendar --jsonStructured event calendar.
sf markets --jsonTraditional market snapshot.
sf book <ticker> --jsonOrderbook depth.

Government and economic context

CommandUse
sf policy "question" --jsonLegislative search plus related markets.
sf bill <billId> --jsonBill detail.
sf econ "query" --jsonOfficial economic data search.
sf fred <series> --jsonEconomic series lookup.

User context

CommandUse
sf me --jsonBounded boot context for agents.
sf me --json --detail --limit 10Boot context with more user-scoped history.
sf feed --jsonEvaluation feed.
sf list --jsonUser theses.
sf intent list --jsonExecution intents.
sf portfolio status --jsonPortfolio snapshot and redacted config.
sf status --jsonAuth/config/key health without printing secrets.

Thesis and research

CommandUse
sf thesis list --jsonList theses.
sf thesis get <id> --jsonThesis detail.
sf thesis context <id> --jsonThesis context snapshot.
sf thesis create "..."Create a thesis.
sf thesis signal <id> "..."Add a signal.
sf thesis evaluate <id>Trigger evaluation.
sf thesis augment <id>Evolve the causal tree.
sf thesis publish <id>Publish a thesis.
sf thesis unpublish <id>Unpublish a thesis.
sf thesis heartbeat <id>Heartbeat and monitoring configuration.
sf ask "instruction" --jsonOne-shot agent.
sf research <topic> --jsonMulti-perspective research.
sf prompt [thesisId] --jsonDynamic system prompt context.

Agent runtime

CommandUse
sf agent --plainText agent with tools.
sf agent --plain --once "..."One-turn tool-using agent.
sf agent --headlessNDJSON tool server for an external LLM.
sf agent --record-trace <path>Record tool calls and model messages.
sf agent --replay-trace <path>Replay recorded tool outputs.
sf agent --allow read,user_dataAllow only named categories.
sf agent --deny trade,runtimeBlock categories.
sf agent-info --jsonAgent session state.
sf bus --jsonLocal daemon/message bus.
sf bus-send <target> <message> --jsonSend a local bus message.

Portfolio

CommandUse
sf portfolio status --jsonCurrent autonomous portfolio state and redacted config.
sf portfolio config --jsonPortfolio manager configuration.
sf portfolio config <key> <value>Update one config key.
sf portfolio last --jsonLatest portfolio tick.
sf portfolio last --json --include handoffLatest tick with full handoff note.
sf portfolio history --jsonRecent ticks and trades.
sf portfolio history --json --ticks 20 --trades 10 --since 2026-04-23Paginated portfolio memory.
sf portfolio tick <id> --jsonOne tick detail.
sf portfolio trade <id> --jsonOne trade detail.
sf portfolio view list --jsonPM views and convictions.
sf portfolio view add "..."Add a PM view.
sf portfolio view remove <id>Remove a PM view.
sf portfolio strategy list --jsonStrategies and constraints.
sf portfolio strategy add <name> <description>Add a strategy.
sf portfolio strategy remove <id>Remove a strategy.
sf portfolio triggerRun a cloud tick now.
sf portfolio watchWatch portfolio status.
sf portfolio enableEnable autopilot.
sf portfolio disableDisable autopilot.
sf portfolio revokeRevoke uploaded portfolio credentials.

Execution

CommandUse
sf intent buy <ticker> <qty>Create buy intent.
sf intent sell <ticker> <qty>Create sell intent.
sf intent list --jsonList active intents.
sf intent status <id> --jsonIntent status and fills.
sf intent cancel <id>Cancel an intent.
sf runtime startStart execution runtime.
sf runtime start --daemonRun runtime in the background.
sf runtime stopStop runtime.
sf runtime status --jsonRuntime state and active intents.
sf buy <ticker> <qty>Direct buy order.
sf sell <ticker> <qty>Direct sell order.
sf cancel [orderId]Cancel one or more orders.
sf rfq <ticker> <qty>Request for quote.

Quote engine

CommandUse
sf quoteengine startStart automated market-making engine.
sf quoteengine stopStop quote engine.
sf quoteengine status --jsonEngine state, bias, spread, and PnL.
sf quote create <ticker>Create a quote.
sf quote list --jsonList active quotes.
sf quote pause <quoteId>Pause a quote.
sf quote resume <quoteId>Resume a quote.
sf quote cancel <quoteId>Cancel a quote.

Polymarket

CommandUse
sf poly search "query" --jsonSearch global Polymarket events/markets.
sf poly events --jsonList global events.
sf poly event <id> --jsonEvent detail.
sf poly market <idOrSlug> --jsonMarket detail.
sf poly positions --jsonWallet positions.
sf poly activity --jsonWallet activity.
sf poly trades --jsonWallet or market trades.
sf poly value --jsonWallet total value.
sf poly books <tokenIds...> --jsonBatch CLOB orderbooks.
sf polyus markets --jsonPolymarket US markets.
sf polyus market <slug> --jsonUS market by slug.
sf polyus book <slug> --jsonUS full book.
sf polyus bbo <slug> --jsonUS best bid/offer.
sf polyus events --jsonUS events.
sf polyus search "query" --jsonUS public search.
sf polyus auth-check --jsonCheck local US auth placeholders.

Forum and content

CommandUse
sf forum channels --jsonChannels and subscription state.
sf forum inbox --jsonUnread messages.
sf forum post <channel> "message"Post a message.
sf forum join <channel>Join a channel.
sf concepts [slug] --jsonConcept pages.
sf technicals [slug] --jsonTechnical pages.
sf opinions [slug] --jsonOpinion pages.
sf blog [slug] --jsonBlog pages.

X and social context

CommandUse
sf x "query" --jsonSearch X discussions.
sf x-volume "query" --jsonDiscussion volume and velocity.
sf x-news "query" --jsonX news stories.
sf x-account <username> --jsonRecent posts from one account.