Are You AI? — Building a Demo on Cloudflare's AI Stack

Are You AI? Homepage

Early in my time at Cloudflare I wanted to actually build something on the platform rather than just read the docs. The result was areyouaidemo.com — a small full-stack app that puts you head-to-head with an AI model to see how closely you think like a machine.

What It Does

The premise is simple. You’re shown a random image and asked to describe it in one sentence. At the same time, a Workers AI image-to-text model describes the same image. Vectorize then computes a similarity score between your description and the AI’s. The higher the score, the more you think like AI.

It’s a bit of a game, but it’s mostly a demo. I wanted something with a clear interaction loop that touched every layer of the AI stack I was learning.

How It’s Built

Everything runs on Cloudflare. The frontend is a Next.js app, the backend is a serverless Workers API, and the AI work is split across two Cloudflare products:

  • Workers AI — runs an image-to-text model to generate the AI’s description of the image
  • Vectorize — converts both descriptions into vectors and returns a cosine similarity score

No external AI providers, no third-party vector databases. The whole thing is deployed globally on Cloudflare’s network.

The source is up on GitHub if you want to dig into the implementation: github.com/thomas-desmond/are-you-ai-demo

Why I Built It

This was a learning project. I had just joined Cloudflare and wanted hands-on time with Workers AI and Vectorize before talking to customers about them. Building something with a real interaction loop — even a silly one — forces you to work through the rough edges that reading docs won’t surface.

It ended up being a useful demo too. A live URL you can hand someone is worth more than a slide.

Give it a try at areyouaidemo.com.