Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions examples/02_vars_and_anchors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,22 @@ strands-compose validation, so they're a safe place to park anchor definitions.

## Run

### Linux / macOS

```bash
# Linux / macOS
# Use built-in defaults
uv run python examples/02_vars_and_anchors/main.py

# Override tone or model at runtime
TONE=formal uv run python examples/02_vars_and_anchors/main.py
MODEL=us.anthropic.claude-sonnet-4-6-v1:0 uv run python examples/02_vars_and_anchors/main.py
```

### Windows

```cmd
REM Use built-in defaults
uv run python examples\02_vars_and_anchors\main.py
# Windows PowerShell
# Use built-in defaults
uv run python examples/02_vars_and_anchors/main.py

REM Override tone or model at runtime
set TONE=formal
uv run python examples\02_vars_and_anchors\main.py
# Override tone or model at runtime
$env:TONE="formal"; uv run python examples/02_vars_and_anchors/main.py
$env:MODEL="us.anthropic.claude-sonnet-4-6-v1:0"; uv run python examples/02_vars_and_anchors/main.py
```

## Try these prompts
Expand Down
19 changes: 7 additions & 12 deletions examples/11_multi_file_config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
load(["base.yaml", "agents.yaml"])
↓ ↓
vars + models agents + entry
└─────────┬─────────┘
merged config
└─────────┬─────────┘
merged config
```

**Merging rules:**
Expand Down Expand Up @@ -50,23 +50,18 @@ from `agents.yaml`. For shared blocks across files, use variables instead.

## Run

### Linux / macOS

```bash
# Linux / macOS
uv run python examples/11_multi_file_config/main.py

# Override the model
MODEL=us.anthropic.claude-sonnet-4-6-v1:0 uv run python examples/11_multi_file_config/main.py
```

### Windows

```cmd
uv run python examples\11_multi_file_config\main.py
# Windows PowerShell
uv run python examples/11_multi_file_config/main.py

REM Override the model
set MODEL=us.anthropic.claude-sonnet-4-6-v1:0
uv run python examples\11_multi_file_config\main.py
# Override the model
$env:MODEL="us.anthropic.claude-sonnet-4-6-v1:0"; uv run python examples/11_multi_file_config/main.py
```

## Try these prompts
Expand Down
11 changes: 3 additions & 8 deletions examples/TEMPLATE_EXAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,12 @@ uv run python examples/NN_name/main.py

If there are environment variable overrides or platform differences, show them:

### Linux / macOS

```bash
# Linux / macOS
VAR=value uv run python examples/NN_name/main.py
```

### Windows

```cmd
set VAR=value
uv run python examples\NN_name\main.py
# Windows PowerShell
$env:VAR="value"; uv run python examples/NN_name/main.py
```

## Try these prompts
Expand Down
Loading