Back to workshops
Workshop Basic or above

Deploy an FAQ Agent with Cloudflare Workers and Vectorize

June 17, 2026

Recording available with Main or above.

We take the FAQ agent from the earlier deployment workshops and move its whole online path to Cloudflare. The online path is everything that runs when a user asks a question. 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 admin command, not as a public endpoint.

Local ingestion and the deployed Worker share Vectorize for FAQ retrieval
and Workers AI for embeddings.

We start by choosing the architecture.

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. We use the TypeScript Worker as the main, stable version.

Resources used here:

Basic or above required

Upgrade to Basic to access this workshop

  • Full workshop overview
  • Complete page list
  • Step-by-step tutorial
  • Cancel anytime