0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/examples/agent/.env.example
Shane Thomas 6bbe9ab7ec
docs: document computer-use sandboxes and add an agent example (#21712)
## Summary

- document workspace computer-use tools and the `SandboxComputer`
capability
- document Daytona desktop controls and the new E2B Desktop sandbox
provider
- add E2B Desktop to the integrations sidebar
- add a provider-selectable computer-use agent example that defaults to
Daytona and can use E2B Desktop through
`COMPUTER_USE_PROVIDER=e2b-desktop`
- keep sandbox credentials optional at startup so the rest of the agent
example runs without Daytona or E2B keys

This is the fourth PR in the computer-use stack and is based on #21707.

## Test plan

- `pnpm run format:check` in `docs`
- `pnpm run lint:remark` in `docs`
- `pnpm run lint:vale:ai` in `docs`
- `pnpm run validate:frontmatter` in `docs`
- `pnpm run validate:reference-sidebar` in `docs`
- `pnpm run validate:sidebar-docs` in `docs`
- `pnpm run build` in `docs`
- `pnpm install --ignore-workspace --frozen-lockfile` in
`examples/agent`
- verified Daytona and E2B Desktop each emit exactly 11 computer
workspace tools
- verified `OPENAI_API_KEY=test pnpm mastra dev` reaches Studio/API
readiness without sandbox provider credentials

## Notes

The full docs `pnpm run validate` command currently fails on a
pre-existing stale `new` tag for the Regions sidebar entry. All
validation commands relevant to these changed files pass.

---------

Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-08-25 22:35:52 -05:00

10 lines
242 B