Skip to main content
This example brings everything together: a translator sandbox that processes local files, exports results to S3, and forks to try multiple languages.

The sandbox

Build and push. The image tag must be prefixed with your client ID (<registry-url>/<client-id>/<image-name>:<image-tag>), otherwise the registry will reject the push:

The script

What happens

  1. The run imports files from ./input/ to /mnt/.
  2. The agent reads /skills/translate.md to learn the trans CLI.
  3. It translates each file to Spanish using bash.
  4. Results export to the default S3 bucket on completion.
  5. The fork inherits the sandbox and harness from the parent.
  6. It translates to French and exports to S3 as well.