Skip to content

Add Modal deployment template#18

Open
shababo wants to merge 4 commits intolivekit-examples:mainfrom
modal-projects:main
Open

Add Modal deployment template#18
shababo wants to merge 4 commits intolivekit-examples:mainfrom
modal-projects:main

Conversation

@shababo
Copy link
Copy Markdown

@shababo shababo commented Aug 22, 2025

This PR adds Modal to the list of deployment templates. Modal relies on a Python/code-centric API for deploying scalable applications in the cloud; therefore this PR includes more than just a single configuration file. Instead it provides a version of the agent-starter-python application which has been modified to run on Modal.

Notes

  • only local dependency is modal; other dependencies are defined in the code using a modal.Image
  • scaling and container management configuration defined in the app.cls decorator
  • memory snapshotting to avoid download-files on every cold-start
  • taps into LiveKit via webhooks, in particular the room_started, room_finished, and participant_left events
  • local_entrypoint is used to launch pytest on a cloud container

See modal/README.md for more information on using the example app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant