Deploy an FAQ Agent with Cloudflare Workers and Vectorize
We take the FAQ agent from the earlier deployment workshops and move the whole online path to Cloudflare. The Worker serves the UI and API, Workers AI embeds the query and generates the answer, and Vectorize stores the FAQ vectors.
We test whether Cloudflare can replace the usual stack for a small FAQ agent:
- FastAPI for the API server
- a separate vector database
- a paid always-on host
Cloudflare can run the full online path, with one caveat. Ingestion still runs locally as an operator task instead of becoming a public endpoint.
We start with the Cloudflare architecture decision: the deployed app stays on Workers, while ingestion runs locally as an operator command.
Then we build the Cloudflare-first path. We create credentials, create a Vectorize index, and ingest the FAQ. After that, we run the Worker locally against real Cloudflare services, deploy it, and clean it up.
In the session, we also try a Python Worker rewrite. That version is useful if you prefer Python, but Cloudflare Python Workers are still beta. The TypeScript Worker stays the stable path for the main build.
Links
Resources used here:
- End-to-End Agent Deployment - the original FastAPI FAQ agent.
- Deploying Vector Search with SQLite - the Turso and SQLite vector-search version this workshop follows.
- Cloudflare Workers - the serverless runtime.
- Cloudflare Vectorize - the managed vector index.
Upgrade to Basic to access this workshop
- Full workshop overview
- Complete page list
- Step-by-step tutorial
- Cancel anytime
Tutorial pages
More from AI Shipping Labs
Inference Engineering Book Club: Kickoff Recap and Reading Plan
What we decided at the first Inference Engineering Book Club session: why we chose the book, how the club works, what to read, and resources shared by participants.
August 11, 2026
AI Voice Coach with ElevenLabs
In this workshop we build Luma, a voice coach for rehearsing difficult conversations. You talk, and the coach walks you through Nonviolent Communication. By the end, a tangled con…
July 22, 2026
What to Expect in an AI Engineering Hiring Manager Interview
A practical guide to project deep dives, Python exercises, unfamiliar tasks, and the evidence hiring managers look for in AI engineering interviews.
July 22, 2026