Step-by-step tutorial: Deploy a PydanticAI agent with Docker, Cloud Run and GitHub Actions
Al_Grigor · x · 2026-12-06
Al Grigor turned his AI Shipping Labs workshop into a public written tutorial showing how to take a PydanticAI documentation agent with a Streamlit chat interface from a laptop to the web, with all code open-sourced.
The pipeline covers:
- Fastest path: publishing to Streamlit Community Cloud
- Packaging the app with Docker, running locally, then deploying to Google Cloud Run
- GitHub Actions CI/CD: every push to main runs the test suite, builds the image, and updates the public service
- A standalone deployment repository with the full CI/CD workflow
He also notes you can have a coding agent guide the whole deployment process, and the approach isn't GCP-locked—pick whatever platform fits your project.
More from coding & agent
- The cone-and-oval trick: how a twistlock grips a container — SunirKM · 2026-12-06
- How twistlocks work: a 124×63.5mm oval hole and a 90° turn — SunirKM · 2026-12-06
- Astra 6.2 builds a cozy village-builder game; dev open-sources the game-dev Skills — Promptmethus · 2026-12-06
- Custom Ultramarine theme released for NousResearch's Hermes Agent Desktop — Teknium · 2026-12-06
- Build an interactive Earth with AI agents on NASA's free petabyte-scale open data — Promptmethus · 2026-12-06
- 11.2B open model Apprentice impresses as subagent: zero sycophancy, one big blindspot — tokenbender · 2026-12-06