Skip to content
AIM Development and Automation

Blog

Here I explain how I solved what you see on the site and in the Lab: what I decided, what I measured and the code that makes it work. Every post links to the repository's files so you can check them yourself.

Subscribe via RSS

  1. An AI agent with real tools on Workers AI

    Gemma 4 with native function calling, four read-only tools and limits on every run. How the Lab's agent works and how much free quota it spends.

    Published
    Reading time
    6 min read
    • AI
    • Workers AI
    • Cloudflare
    • Agents
    • Testing
  2. A free AI assistant: Gemma 4 on Cloudflare Workers AI

    Why the Lab's assistant uses Gemma 4 and not Claude, how it fits in Workers AI's free quota and how it answers only with what the site says.

    Published
    Reading time
    5 min read
    • AI
    • Workers AI
    • Cloudflare
    • Turnstile
  3. From ~1.25 s to a fraction: Neon over HTTP from Cloudflare

    Every API request opened a TCP and TLS connection to Neon. With the HTTP driver, each query is one request. How I measured, tested and can undo it.

    Published
    Reading time
    5 min read
    • Performance
    • Neon
    • Cloudflare
    • Postgres
    • Testing
  4. A bilingual site in Astro 7 with translated URLs

    Spanish at the root, English under /en/ with its own paths, translations as a layer over Spanish, and tests that fail if the two versions drift apart.

    Published
    Reading time
    5 min read
    • Astro
    • i18n
    • SEO
    • Testing