# Python and TypeScript example catalog

**In short:** Choose a program below and open its Python or TypeScript source.

## Published source programs

Each source pair links to the same published revision. Availability is not a claim that every workflow has been run on your machine.

| Program | Sources | Access | Prerequisites | Guide |
|---|---|---|---|---|
| Read a machine's OS and CPU | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/hello.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/hello.ts) | `read` | See guide | [Guide](https://docs.cmdop.ai/reference/sdk/quickstart.md) |
| Inspect online computers | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/fleet.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/fleet.ts) | `read` | See guide | [Guide](https://docs.cmdop.ai/reference/sdk/examples.md) |
| List a machine's files | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/files.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/files.ts) | `read` | See guide | [Guide](https://docs.cmdop.ai/reference/sdk/files-and-screen.md) |
| Read the demo guide and task summary | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/showtime.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/showtime.ts) | `read` | See guide | [Guide](https://docs.cmdop.ai/reference/sdk/examples.md) |
| Discover installed agents without prompting | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/agents.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/agents.ts) | `read` | See guide | [Guide](https://docs.cmdop.ai/reference/sdk/agents.md) |
| Read a build report from a machine-local MCP server | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/local-mcp.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/local-mcp.ts) | `exec` | Exact machine ID | [Guide](https://docs.cmdop.ai/reference/sdk/commands-and-tasks.md) |
| Find nonstop Bali to Bangkok flights through local Fli MCP | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/google-flights.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/google-flights.ts) | `exec`, `network` | Exact machine ID | [Guide](https://docs.cmdop.ai/reference/sdk/examples/google-flights.md) |
| Run and verify a bounded command | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/command.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/command.ts) | `exec` | Exact machine ID | [Guide](https://docs.cmdop.ai/reference/sdk/commands-and-tasks.md) |
| Ask Codex explicitly | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/agents/codex.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/agents/codex.ts) | `read`, `agent` | Exact machine ID; named agent installed and authenticated | [Guide](https://docs.cmdop.ai/reference/sdk/examples/codex.md) |
| Ask Claude Code explicitly | [Python](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/python/agents/claude-code.py) · [TypeScript](https://github.com/commandoperator/cmdop-sdk/blob/9980dfe4c84ab0949c9ab25199e7d68f6a832e7d/examples/typescript/agents/claude-code.ts) | `read`, `agent` | Exact machine ID; named agent installed and authenticated | [Guide](https://docs.cmdop.ai/reference/sdk/examples/claude-code.md) |

## Run the executable examples

Follow the [checkout instructions](https://docs.cmdop.ai/reference/sdk/examples/run.md).
