> ## 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.

# Tutorials

> Walkthroughs from first query to monitored workflows and agent usage.

## First query

```bash theme={null}
sf query "Fed rate cut" --json --limit 3
```

Inspect the most relevant contract:

```bash theme={null}
sf inspect KXRATECUT-26DEC31 --json
```

## Build a thesis workflow

```bash theme={null}
sf thesis create 'Oil stays above $100 through Q2 2026'
sf thesis context <id> --json
sf thesis signal <id> "OPEC compliance remains high"
sf thesis evaluate <id> --json
```

Use this when you have a testable claim that can be monitored over time.

## Find an edge

```bash theme={null}
sf screen --json --limit 20
sf edges --json
sf contagion --json
```

Then inspect candidates before acting:

```bash theme={null}
sf inspect <ticker> --json
```

## Route an intent

```bash theme={null}
sf intent buy KXRATECUT-26DEC31 10 --price 40 --trigger below:38
sf intent list --json
sf intent cancel <id>
```

Execution-related commands are side-effecting. Use dry-run and explicit confirmations unless an operator has authorized automation.

## Agent loop

```bash theme={null}
sf describe --all --json
sf world --json
sf query "tariffs" --json --limit 3
sf world --delta --json --since 1h
```
