talks/2026-11-04-dev-con-ro-sbx-workshoppublic Fork
⑂ 0401529
Commits
⬇ Clone ▾
git clone https://git.rickub.com/talks/2026-11-04-dev-con-ro-sbx-workshop.git
git clone ssh://git@rickub.com/talks/2026-11-04-dev-con-ro-sbx-workshop.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

🛟 Updated.Unverified

k33g committed 2026-10-30T11:33:42+01:00 Browse files
0401529 parent: 99f565d
modified 02-docker-agent/README.fr.md +8 -0
@@ -4,3 +4,11 @@ Nous allons installer la version locale de Docker Agent (et non pas la version p
44
55 Vous trouverez ici la page décrivant les installations possible pour vos systèmes d'exploitation: [https://docker.github.io/docker-agent/getting-started/installation/](https://docker.github.io/docker-agent/getting-started/installation/)
66
7+
8+## On Windows
9+
10+- Go to: https://github.com/docker/docker-agent/releases and download the appropriate version of Docker Agent
11+- Rename it to docker-agent
12+- Add it to the PATH (ex: C:\Users\Philippe\docker-agent\)
13+
14+You probably need to restart VSCode (on Windows, don’t ask why)
@@ -4,3 +4,11 @@ Nous allons installer la version locale de Docker Agent (et non pas la version p
4 4
5 Vous trouverez ici la page décrivant les installations possible pour vos systèmes d'exploitation: [https://docker.github.io/docker-agent/getting-started/installation/](https://docker.github.io/docker-agent/getting-started/installation/)5 Vous trouverez ici la page décrivant les installations possible pour vos systèmes d'exploitation: [https://docker.github.io/docker-agent/getting-started/installation/](https://docker.github.io/docker-agent/getting-started/installation/)
6 6
7+
8+## On Windows
9+
10+- Go to: https://github.com/docker/docker-agent/releases and download the appropriate version of Docker Agent
11+- Rename it to docker-agent
12+- Add it to the PATH (ex: C:\Users\Philippe\docker-agent\)
13+
14+You probably need to restart VSCode (on Windows, don’t ask why)
modified 02-docker-agent/README.md +8 -0
@@ -3,3 +3,11 @@
33 We are going to install the local version of Docker Agent (not the Docker Agent plugin version for Docker Desktop).
44
55 You will find here the page describing the possible installations for your operating systems: [https://docker.github.io/docker-agent/getting-started/installation/](https://docker.github.io/docker-agent/getting-started/installation/)
6+
7+## On Windows
8+
9+- Go to: https://github.com/docker/docker-agent/releases and download the appropriate version of Docker Agent
10+- Rename it to docker-agent
11+- Add it to the PATH (ex: C:\Users\Philippe\docker-agent\)
12+
13+You probably need to restart VSCode (on Windows, don’t ask why)
\ No newline at end of file
@@ -3,3 +3,11 @@
3 We are going to install the local version of Docker Agent (not the Docker Agent plugin version for Docker Desktop).3 We are going to install the local version of Docker Agent (not the Docker Agent plugin version for Docker Desktop).
4 4
5 You will find here the page describing the possible installations for your operating systems: [https://docker.github.io/docker-agent/getting-started/installation/](https://docker.github.io/docker-agent/getting-started/installation/)5 You will find here the page describing the possible installations for your operating systems: [https://docker.github.io/docker-agent/getting-started/installation/](https://docker.github.io/docker-agent/getting-started/installation/)
6+
7+## On Windows
8+
9+- Go to: https://github.com/docker/docker-agent/releases and download the appropriate version of Docker Agent
10+- Rename it to docker-agent
11+- Add it to the PATH (ex: C:\Users\Philippe\docker-agent\)
12+
13+You probably need to restart VSCode (on Windows, don’t ask why)
\ No newline at end of file\ No newline at end of file
modified 03-first-agent/README.fr.md +6 -0
@@ -49,6 +49,12 @@ Et essayez la question suivante:
4949 Create a text file at the home of my machine with a greeting message
5050 ```
5151
52+**🖐️ If you are using Windows, try it like this**:
53+```raw
54+I'm using powershell,
55+Create a text file at the home of my machine with a greeting message
56+```
57+
5258 Choisissez **[A]** pour laisser exécuter les tools:
5359 ![docker-agent](./assets/docker-agent-02.png)
5460
@@ -49,6 +49,12 @@ Et essayez la question suivante:
49 Create a text file at the home of my machine with a greeting message49 Create a text file at the home of my machine with a greeting message
50 ```50 ```
51 51
52+**🖐️ If you are using Windows, try it like this**:
53+```raw
54+I'm using powershell,
55+Create a text file at the home of my machine with a greeting message
56+```
57+
52 Choisissez **[A]** pour laisser exécuter les tools:58 Choisissez **[A]** pour laisser exécuter les tools:
53 ![docker-agent](./assets/docker-agent-02.png)59 ![docker-agent](./assets/docker-agent-02.png)
54 60
modified 03-first-agent/README.md +6 -0
@@ -49,6 +49,12 @@ And try the following question:
4949 Create a text file at the home of my machine with a greeting message
5050 ```
5151
52+**🖐️ If you are using Windows, try it like this**:
53+```raw
54+I'm using powershell,
55+Create a text file at the home of my machine with a greeting message
56+```
57+
5258 Choose **[A]** to let the tools run:
5359 ![docker-agent](./assets/docker-agent-02.png)
5460
@@ -49,6 +49,12 @@ And try the following question:
49 Create a text file at the home of my machine with a greeting message49 Create a text file at the home of my machine with a greeting message
50 ```50 ```
51 51
52+**🖐️ If you are using Windows, try it like this**:
53+```raw
54+I'm using powershell,
55+Create a text file at the home of my machine with a greeting message
56+```
57+
52 Choose **[A]** to let the tools run:58 Choose **[A]** to let the tools run:
53 ![docker-agent](./assets/docker-agent-02.png)59 ![docker-agent](./assets/docker-agent-02.png)
54 60
modified 04-sbx/README.fr.md +5 -0
@@ -4,6 +4,11 @@
44
55 ![sbx security model](./assets/sbx-security-model.drawio.svg)
66
7+## Prerequisites
8+
9+- **You need a Docker Account for using SBX**
10+- You need Docker Desktop (only or exercise 07)
11+
712
813 ## Installer `sbx`
914
@@ -4,6 +4,11 @@
4 4
5 ![sbx security model](./assets/sbx-security-model.drawio.svg)5 ![sbx security model](./assets/sbx-security-model.drawio.svg)
6 6
7+## Prerequisites
8+
9+- **You need a Docker Account for using SBX**
10+- You need Docker Desktop (only or exercise 07)
11+
7 12
8 ## Installer `sbx`13 ## Installer `sbx`
9 14
modified 04-sbx/README.md +5 -0
@@ -4,6 +4,11 @@
44
55 ![sbx security model](./assets/sbx-security-model.drawio.svg)
66
7+## Prerequisites
8+
9+- **You need a Docker Account for using SBX**
10+- You need Docker Desktop (only or exercise 07)
11+
712
813 ## Install `sbx`
914
@@ -4,6 +4,11 @@
4 4
5 ![sbx security model](./assets/sbx-security-model.drawio.svg)5 ![sbx security model](./assets/sbx-security-model.drawio.svg)
6 6
7+## Prerequisites
8+
9+- **You need a Docker Account for using SBX**
10+- You need Docker Desktop (only or exercise 07)
11+
7 12
8 ## Install `sbx`13 ## Install `sbx`
9 14
modified 05-sbx-docker-agent/README.fr.md +11 -24
@@ -15,42 +15,29 @@ Aujourd'hui Docker Agent ne reconnaît pas automatiquement le secret mistral (`s
1515 sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY \
1616 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
1717 ```
18+
19+ 🖐️ **on Windows:**
20+ ```bash
21+ $env:MISTRAL_API_KEY="your-api-key"
22+
23+ sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
24+ ```
25+
1826 3. Démarrer la sandbox :
1927 ```bash
20- sbx run --env-file sbx.env \
21- docker-agent -- run agent.yaml
28+ sbx run --env-file sbx.env docker-agent -- run agent.yaml .
2229 ```
30+ > dont forget the `.`
2331
2432 Ou sans le fichier `sbx.env`:
2533
2634 ```bash
27-sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 \
28-docker-agent -- run agent.yaml
35+sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 docker-agent -- run agent.yaml .
2936 ```
3037
3138 ![docker-agent](./assets/docker-agent-01.png)
3239
3340
34-<!--
35-This method will be possible in a next version of docker agent
36-```bash
37-printf '%s\n' "$MISTRAL_API_KEY" | sbx secret set mistral
38-```
39-
40-```bash
41-sbx secret set mistral --token 'your-api-key' --force
42-```
43-
44-```bash
45-sbx secret ls
46-```
47-
48-```bash
49-sbx run docker-agent -- run agent.yaml --theme default-
50-```
51--->
52-
53-
5441 ## Et essayez à nouveau
5542
5643 ```raw
@@ -15,42 +15,29 @@ Aujourd'hui Docker Agent ne reconnaît pas automatiquement le secret mistral (`s
15 sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY \15 sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY \
16 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"16 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
17 ```17 ```
18+
19+ 🖐️ **on Windows:**
20+ ```bash
21+ $env:MISTRAL_API_KEY="your-api-key"
22+
23+ sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
24+ ```
25+
18 3. Démarrer la sandbox :26 3. Démarrer la sandbox :
19 ```bash27 ```bash
20- sbx run --env-file sbx.env \28+ sbx run --env-file sbx.env docker-agent -- run agent.yaml .
21- docker-agent -- run agent.yaml
22 ```29 ```
30+ > dont forget the `.`
23 31
24 Ou sans le fichier `sbx.env`:32 Ou sans le fichier `sbx.env`:
25 33
26 ```bash34 ```bash
27-sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 \35+sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 docker-agent -- run agent.yaml .
28-docker-agent -- run agent.yaml
29 ```36 ```
30 37
31 ![docker-agent](./assets/docker-agent-01.png)38 ![docker-agent](./assets/docker-agent-01.png)
32 39
33 40
34-<!--
35-This method will be possible in a next version of docker agent
36-```bash
37-printf '%s\n' "$MISTRAL_API_KEY" | sbx secret set mistral
38-```
39-
40-```bash
41-sbx secret set mistral --token 'your-api-key' --force
42-```
43-
44-```bash
45-sbx secret ls
46-```
47-
48-```bash
49-sbx run docker-agent -- run agent.yaml --theme default-
50-```
51--->
52-
53-
54 ## Et essayez à nouveau41 ## Et essayez à nouveau
55 42
56 ```raw43 ```raw
modified 05-sbx-docker-agent/README.md +11 -23
@@ -15,41 +15,29 @@ Today Docker Agent does not automatically recognize the mistral secret (`sbx sec
1515 sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY \
1616 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
1717 ```
18+
19+ 🖐️ **on Windows:**
20+ ```bash
21+ $env:MISTRAL_API_KEY="your-api-key"
22+
23+ sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
24+ ```
25+
1826 3. Start the sandbox:
1927 ```bash
20- sbx run --env-file sbx.env \
21- docker-agent -- run agent.yaml
28+ sbx run --env-file sbx.env docker-agent -- run agent.yaml .
2229 ```
30+ > dont forget the `.`
2331
2432 Or without the `sbx.env` file:
2533
2634 ```bash
27-sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 \
28-docker-agent -- run agent.yaml
35+sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 docker-agent -- run agent.yaml .
2936 ```
3037
3138 ![docker-agent](./assets/docker-agent-01.png)
3239
3340
34-<!--
35-This method will be possible in a next version of docker agent
36-```bash
37-printf '%s\n' "$MISTRAL_API_KEY" | sbx secret set mistral
38-```
39-
40-```bash
41-sbx secret set mistral --token 'your-api-key' --force
42-```
43-
44-```bash
45-sbx secret ls
46-```
47-
48-```bash
49-sbx run docker-agent -- run agent.yaml --theme default-
50-```
51--->
52-
5341
5442 ## And try again
5543
@@ -15,41 +15,29 @@ Today Docker Agent does not automatically recognize the mistral secret (`sbx sec
15 sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY \15 sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY \
16 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"16 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
17 ```17 ```
18+
19+ 🖐️ **on Windows:**
20+ ```bash
21+ $env:MISTRAL_API_KEY="your-api-key"
22+
23+ sbx secret set-custom --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
24+ ```
25+
18 3. Start the sandbox:26 3. Start the sandbox:
19 ```bash27 ```bash
20- sbx run --env-file sbx.env \28+ sbx run --env-file sbx.env docker-agent -- run agent.yaml .
21- docker-agent -- run agent.yaml
22 ```29 ```
30+ > dont forget the `.`
23 31
24 Or without the `sbx.env` file:32 Or without the `sbx.env` file:
25 33
26 ```bash34 ```bash
27-sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 \35+sbx run -e MISTRAL_API_KEY=sbx-mistral-key -e DOCKER_AGENT_AUTO_UPDATE=0 docker-agent -- run agent.yaml .
28-docker-agent -- run agent.yaml
29 ```36 ```
30 37
31 ![docker-agent](./assets/docker-agent-01.png)38 ![docker-agent](./assets/docker-agent-01.png)
32 39
33 40
34-<!--
35-This method will be possible in a next version of docker agent
36-```bash
37-printf '%s\n' "$MISTRAL_API_KEY" | sbx secret set mistral
38-```
39-
40-```bash
41-sbx secret set mistral --token 'your-api-key' --force
42-```
43-
44-```bash
45-sbx secret ls
46-```
47-
48-```bash
49-sbx run docker-agent -- run agent.yaml --theme default-
50-```
51--->
52-
53 41
54 ## And try again42 ## And try again
55 43
modified 06-sbx-docker-agent-sbx-env/README.fr.md +8 -0
@@ -30,6 +30,14 @@ sbx secret set-custom --sandbox docker-agent-mistral \
3030 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
3131 ```
3232
33+🖐️ **on Windows:**
34+```bash
35+$env:MISTRAL_API_KEY="your-api-key"
36+
37+sbx secret set-custom --sandbox docker-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
38+```
39+
40+
3341 ## Démarrer la sandbox
3442
3543 `sbx env run` ne permet pas de passer d'arguments à l'agent (pas de `-- run agent.yaml`) : Docker Agent serait lancé avec ses arguments par défaut (`run --yolo --agent-picker`), donc pas forcément avec `agent.yaml` et Mistral. On crée la sandbox, puis on lance Docker Agent avec `agent.yaml` via `sbx env exec` :
@@ -30,6 +30,14 @@ sbx secret set-custom --sandbox docker-agent-mistral \
30 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"30 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
31 ```31 ```
32 32
33+🖐️ **on Windows:**
34+```bash
35+$env:MISTRAL_API_KEY="your-api-key"
36+
37+sbx secret set-custom --sandbox docker-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
38+```
39+
40+
33 ## Démarrer la sandbox41 ## Démarrer la sandbox
34 42
35 `sbx env run` ne permet pas de passer d'arguments à l'agent (pas de `-- run agent.yaml`) : Docker Agent serait lancé avec ses arguments par défaut (`run --yolo --agent-picker`), donc pas forcément avec `agent.yaml` et Mistral. On crée la sandbox, puis on lance Docker Agent avec `agent.yaml` via `sbx env exec` :43 `sbx env run` ne permet pas de passer d'arguments à l'agent (pas de `-- run agent.yaml`) : Docker Agent serait lancé avec ses arguments par défaut (`run --yolo --agent-picker`), donc pas forcément avec `agent.yaml` et Mistral. On crée la sandbox, puis on lance Docker Agent avec `agent.yaml` via `sbx env exec` :
modified 06-sbx-docker-agent-sbx-env/README.md +8 -0
@@ -30,6 +30,14 @@ sbx secret set-custom --sandbox docker-agent-mistral \
3030 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
3131 ```
3232
33+🖐️ **on Windows:**
34+```bash
35+$env:MISTRAL_API_KEY="your-api-key"
36+
37+sbx secret set-custom --sandbox docker-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
38+```
39+
40+
3341 ## Start the sandbox
3442
3543 `sbx env run` cannot pass arguments to the agent (no `-- run agent.yaml`): Docker Agent would be started with its default arguments (`run --yolo --agent-picker`), so not necessarily with `agent.yaml` and Mistral. We create the sandbox, then start Docker Agent with `agent.yaml` through `sbx env exec`:
@@ -30,6 +30,14 @@ sbx secret set-custom --sandbox docker-agent-mistral \
30 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"30 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
31 ```31 ```
32 32
33+🖐️ **on Windows:**
34+```bash
35+$env:MISTRAL_API_KEY="your-api-key"
36+
37+sbx secret set-custom --sandbox docker-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
38+```
39+
40+
33 ## Start the sandbox41 ## Start the sandbox
34 42
35 `sbx env run` cannot pass arguments to the agent (no `-- run agent.yaml`): Docker Agent would be started with its default arguments (`run --yolo --agent-picker`), so not necessarily with `agent.yaml` and Mistral. We create the sandbox, then start Docker Agent with `agent.yaml` through `sbx env exec`:43 `sbx env run` cannot pass arguments to the agent (no `-- run agent.yaml`): Docker Agent would be started with its default arguments (`run --yolo --agent-picker`), so not necessarily with `agent.yaml` and Mistral. We create the sandbox, then start Docker Agent with `agent.yaml` through `sbx env exec`:
added 07-play-lego-with-kits/.gitattributes +1 -0
new file mode 100644
@@ -0,0 +1 @@
1+kits/** text eol=lf
new file mode 100644
@@ -0,0 +1 @@
1+kits/** text eol=lf
modified 07-play-lego-with-kits/README.fr.md +8 -3
@@ -56,6 +56,13 @@ sbx secret set-custom --sandbox docker-rust-agent-mistral \
5656 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
5757 ```
5858
59+🖐️ **on Windows:**
60+```bash
61+$env:MISTRAL_API_KEY="your-api-key"
62+
63+sbx secret set-custom --sandbox docker-rust-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
64+```
65+
5966 Sans `--sandbox`, le secret est global et fonctionne aussi.
6067
6168 ## Démarrer la sandbox
@@ -64,6 +71,7 @@ Sans `--sandbox`, le secret est global et fonctionne aussi.
6471 sbx env create
6572 sbx env exec -it -- docker-agent run agent.yaml
6673 ```
74+> 🖐️ **you need Docker to build a kit**
6775
6876 `sbx env` affiche le plan (ce qui va être créé) et demande une approbation ; `--force` l'accepte sans demander. La première création construit les deux kits, ce qui prend un peu de temps.
6977
@@ -86,6 +94,3 @@ Create a new Rust project with cargo that prints a greeting, then build and run
8694 ```
8795
8896 L'agent peut maintenant utiliser `cargo build`, `cargo test` ou `cargo clippy` dans la sandbox.
89-
90-
91-👋 **Je voudrais la version `1.27.2` de Go**
\ No newline at end of file
@@ -56,6 +56,13 @@ sbx secret set-custom --sandbox docker-rust-agent-mistral \
56 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"56 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
57 ```57 ```
58 58
59+🖐️ **on Windows:**
60+```bash
61+$env:MISTRAL_API_KEY="your-api-key"
62+
63+sbx secret set-custom --sandbox docker-rust-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
64+```
65+
59 Sans `--sandbox`, le secret est global et fonctionne aussi.66 Sans `--sandbox`, le secret est global et fonctionne aussi.
60 67
61 ## Démarrer la sandbox68 ## Démarrer la sandbox
@@ -64,6 +71,7 @@ Sans `--sandbox`, le secret est global et fonctionne aussi.
64 sbx env create71 sbx env create
65 sbx env exec -it -- docker-agent run agent.yaml72 sbx env exec -it -- docker-agent run agent.yaml
66 ```73 ```
74+> 🖐️ **you need Docker to build a kit**
67 75
68 `sbx env` affiche le plan (ce qui va être créé) et demande une approbation ; `--force` l'accepte sans demander. La première création construit les deux kits, ce qui prend un peu de temps.76 `sbx env` affiche le plan (ce qui va être créé) et demande une approbation ; `--force` l'accepte sans demander. La première création construit les deux kits, ce qui prend un peu de temps.
69 77
@@ -86,6 +94,3 @@ Create a new Rust project with cargo that prints a greeting, then build and run
86 ```94 ```
87 95
88 L'agent peut maintenant utiliser `cargo build`, `cargo test` ou `cargo clippy` dans la sandbox.96 L'agent peut maintenant utiliser `cargo build`, `cargo test` ou `cargo clippy` dans la sandbox.
89-
90-
91-👋 **Je voudrais la version `1.27.2` de Go**
\ No newline at end of file\ No newline at end of file
modified 07-play-lego-with-kits/README.md +8 -3
@@ -56,6 +56,13 @@ sbx secret set-custom --sandbox docker-rust-agent-mistral \
5656 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
5757 ```
5858
59+🖐️ **on Windows:**
60+```bash
61+$env:MISTRAL_API_KEY="your-api-key"
62+
63+sbx secret set-custom --sandbox docker-rust-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
64+```
65+
5966 Without `--sandbox`, the secret is global and works too.
6067
6168 ## Start the sandbox
@@ -64,6 +71,7 @@ Without `--sandbox`, the secret is global and works too.
6471 sbx env create
6572 sbx env exec -it -- docker-agent run agent.yaml
6673 ```
74+> 🖐️ **you need Docker to build a kit**
6775
6876 `sbx env` shows the plan (what is going to be created) and asks for approval; `--force` accepts it without asking. The first creation builds the two kits, which takes a little time.
6977
@@ -86,6 +94,3 @@ Create a new Rust project with cargo that prints a greeting, then build and run
8694 ```
8795
8896 The agent can now use `cargo build`, `cargo test` or `cargo clippy` in the sandbox.
89-
90-
91-👋 **I would like Go version `1.27.2`**
@@ -56,6 +56,13 @@ sbx secret set-custom --sandbox docker-rust-agent-mistral \
56 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"56 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
57 ```57 ```
58 58
59+🖐️ **on Windows:**
60+```bash
61+$env:MISTRAL_API_KEY="your-api-key"
62+
63+sbx secret set-custom --sandbox docker-rust-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
64+```
65+
59 Without `--sandbox`, the secret is global and works too.66 Without `--sandbox`, the secret is global and works too.
60 67
61 ## Start the sandbox68 ## Start the sandbox
@@ -64,6 +71,7 @@ Without `--sandbox`, the secret is global and works too.
64 sbx env create71 sbx env create
65 sbx env exec -it -- docker-agent run agent.yaml72 sbx env exec -it -- docker-agent run agent.yaml
66 ```73 ```
74+> 🖐️ **you need Docker to build a kit**
67 75
68 `sbx env` shows the plan (what is going to be created) and asks for approval; `--force` accepts it without asking. The first creation builds the two kits, which takes a little time.76 `sbx env` shows the plan (what is going to be created) and asks for approval; `--force` accepts it without asking. The first creation builds the two kits, which takes a little time.
69 77
@@ -86,6 +94,3 @@ Create a new Rust project with cargo that prints a greeting, then build and run
86 ```94 ```
87 95
88 The agent can now use `cargo build`, `cargo test` or `cargo clippy` in the sandbox.96 The agent can now use `cargo build`, `cargo test` or `cargo clippy` in the sandbox.
89-
90-
91-👋 **I would like Go version `1.27.2`**
modified 08-policies/README.fr.md +7 -0
@@ -62,6 +62,13 @@ sbx secret set-custom --sandbox docker-policies-agent-mistral \
6262 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
6363 ```
6464
65+🖐️ **on Windows:**
66+```bash
67+$env:MISTRAL_API_KEY="your-api-key"
68+
69+sbx secret set-custom --sandbox docker-policies-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
70+```
71+
6572 Un custom secret global (sans `--sandbox`) fonctionne aussi.
6673
6774 ## Démarrer la sandbox
@@ -62,6 +62,13 @@ sbx secret set-custom --sandbox docker-policies-agent-mistral \
62 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"62 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
63 ```63 ```
64 64
65+🖐️ **on Windows:**
66+```bash
67+$env:MISTRAL_API_KEY="your-api-key"
68+
69+sbx secret set-custom --sandbox docker-policies-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
70+```
71+
65 Un custom secret global (sans `--sandbox`) fonctionne aussi.72 Un custom secret global (sans `--sandbox`) fonctionne aussi.
66 73
67 ## Démarrer la sandbox74 ## Démarrer la sandbox
modified 08-policies/README.md +7 -0
@@ -62,6 +62,13 @@ sbx secret set-custom --sandbox docker-policies-agent-mistral \
6262 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
6363 ```
6464
65+🖐️ **on Windows:**
66+```bash
67+$env:MISTRAL_API_KEY="your-api-key"
68+
69+sbx secret set-custom --sandbox docker-policies-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
70+```
71+
6572 A global custom secret (without `--sandbox`) works too.
6673
6774 ## Start the sandbox
@@ -62,6 +62,13 @@ sbx secret set-custom --sandbox docker-policies-agent-mistral \
62 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"62 --placeholder sbx-mistral-key --value "$MISTRAL_API_KEY"
63 ```63 ```
64 64
65+🖐️ **on Windows:**
66+```bash
67+$env:MISTRAL_API_KEY="your-api-key"
68+
69+sbx secret set-custom --sandbox docker-policies-agent-mistral --host api.mistral.ai --env MISTRAL_API_KEY --placeholder sbx-mistral-key --value "$env:MISTRAL_API_KEY"
70+```
71+
65 A global custom secret (without `--sandbox`) works too.72 A global custom secret (without `--sandbox`) works too.
66 73
67 ## Start the sandbox74 ## Start the sandbox
modified 08-policies/agent.yaml +2 -0
@@ -18,3 +18,5 @@ agents:
1818 toolsets:
1919 - type: filesystem
2020 - type: shell
21+ - type: fetch
22+
@@ -18,3 +18,5 @@ agents:
18 toolsets:18 toolsets:
19 - type: filesystem19 - type: filesystem
20 - type: shell20 - type: shell
21+ - type: fetch
22+