> ## Documentation Index
> Fetch the complete documentation index at: https://modal-computer-use.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose an example

> Choose a maintained example for the placed or low-level SDK path.

| Need | Example | Path |
| - | - | - |
| Primary placed trajectory | [`modal_function_session_handoff.py`](https://github.com/ashtonchew/modal-computer-use/blob/b60c1cb7495200e36a738c0f6e07961b1d2db93c/examples/modal_function_session_handoff.py) | Primary |
| OpenAI model loop | [`03_openai_computer_loop.py`](https://github.com/ashtonchew/modal-computer-use/blob/b60c1cb7495200e36a738c0f6e07961b1d2db93c/examples/03_openai_computer_loop.py) | Primary |
| Anthropic model loop | [`anthropic_message_server.py`](https://github.com/ashtonchew/modal-computer-use/blob/b60c1cb7495200e36a738c0f6e07961b1d2db93c/examples/anthropic_message_server.py) | Primary |
| Application run gateway | [`modal_run_gateway.py`](https://github.com/ashtonchew/modal-computer-use/blob/b60c1cb7495200e36a738c0f6e07961b1d2db93c/examples/modal_run_gateway.py) | Advanced application pattern |
| Direct local control | [`01_mouse_keyboard_screenshots.py`](https://github.com/ashtonchew/modal-computer-use/blob/b60c1cb7495200e36a738c0f6e07961b1d2db93c/examples/01_mouse_keyboard_screenshots.py) | Low-level |

Primary examples use one async owner, one versioned handle, one explicitly placed Function, and one
borrow for each trajectory. Provider imports stay in application code.

Low-level examples remain useful for local execution, REST integration, idempotency, debugging,
and compatibility. Their callers establish and own topology explicitly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.