Code examples.
Read a computer, run a command or ask an installed agent. Explore the complete Python and TypeScript source for each example.
Set up the SDKExplore real use casesPublished source is available for every example. A source listing does not mean every workflow has been verified on your computer.
Back to AcademyRead a machine's OS and CPU
- Access needed
- Read
- Before you run it
- Check the guide for connection and target selection.
Inspect online computers
- Access needed
- Read
- Before you run it
- Check the guide for connection and target selection.
Check free space on one mount
- Access needed
- Read
- Before you run it
- Choose an exact machine ID.
List a machine's files
- Access needed
- Read
- Before you run it
- Check the guide for connection and target selection.
Read the demo guide and task summary
- Access needed
- Read
- Before you run it
- Check the guide for connection and target selection.
Discover installed agents without prompting
- Access needed
- Read
- Before you run it
- Check the guide for connection and target selection.
Read a build report from a machine-local MCP server
- Access needed
- Run commands
- Before you run it
- Choose an exact machine ID.
Find nonstop Bali to Bangkok flights through local Fli MCP
- Access needed
- Run commands · Network access
- Before you run it
- Choose an exact machine ID.
Run and verify a bounded command
- Access needed
- Run commands
- Before you run it
- Choose an exact machine ID.
Ask Codex explicitly
- Access needed
- Read · Ask an installed agent
- Before you run it
- Choose an exact machine ID. The named agent must be installed and signed in on that computer.
Ask Claude Code explicitly
- Access needed
- Read · Ask an installed agent
- Before you run it
- Choose an exact machine ID. The named agent must be installed and signed in on that computer.