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.

The runtime is the long-running process that watches active intents and executes authorized workflows. Use it after you have created intents and configured exchange credentials.

Start

sf runtime start
Run in the background:
sf runtime start --daemon
Enable smart checks:
sf runtime start --smart --daemon
Check status:
sf runtime status --json
Stop:
sf runtime stop

What runtime watches

SurfaceWhat happens
Active intentsPending, armed, triggered, executing, or filled intents.
Hard triggersPrice and time triggers.
Soft conditionsNatural-language conditions when --smart is enabled.
Exchange stateOrders, fills, and account state through configured local keys.
AlertsRuntime events that should wake an operator or agent.

Typical workflow

Create an intent:
sf intent buy KXRATECUT-26DEC31 10 --trigger below:45
Start runtime:
sf runtime start --smart --daemon
Inspect runtime state:
sf runtime status --json
Stop when the workflow should no longer execute:
sf runtime stop
sf telegram --daemon
sf agent --plain
sf agent --headless --deny trade,runtime
Telegram is for mobile operator visibility. sf agent is for reasoning and tool use. Runtime is for monitoring and execution.

Cloud runtime

Cloud runtime is opt-in.
sf setup --cloud
sf runtime start --remote
sf runtime stop --remote
Confirm credential handling, execution mode, and risk limits before enabling remote side effects.