kc/earns.tech
● Toronto, CanadaPlatform & AI Engineer30 posts · 144k tokens of writing

Kevin Cearnsbuilds the systems
underneath AI

Long-form engineering notes on self-hosted models, agent fleets, GPU platforms and the economics of inference, written by someone who runs them. Part blog, part portfolio, part model card.

~/kcearns.tech — zsh

Type help or try

01 / Latent space

Everything I've written,
as a map.

30 posts embedded, projected and clustered. Hover a point to see its neighbours, filter by topic, or turn up the temperature in the header and watch it drift.

Map of every post, placed by topic similarity

Each point is a post. Position comes from a build-time embedding of its tags and title, pulled together by cosine similarity. Size is length in tokens. Lines join nearest neighbours.

02 / Recent outputs

Latest writing

All 30 posts · 143,980 tokens
  1. 0072026-07-26Run Your Own Buzz: A Local Community on Hardware You ControlAgents5,426 tok
  2. 0062026-07-20What It Takes to Own Your Agent Platform: The Firecracker Fleet Series in One ReadAgentsFirecracker agent fleet2,227 tok
  3. 0052026-07-19Packaging an Agent as a microVM ImageAgentsFirecracker agent fleet · 33,618 tok
  4. 0042026-07-19The Control PlaneAgentsFirecracker agent fleet · 44,267 tok
  5. 0032026-07-19The Deploy WorkflowAgentsFirecracker agent fleet · 62,160 tok
  6. 0022026-07-19The Host FleetAgentsFirecracker agent fleet · 24,035 tok
  7. 0012026-07-19Fleet OperationsAgentsFirecracker agent fleet · 72,704 tok

03 / Long context

Series you can build along with

04 / Evals

Systems I've built

Full showcase
01 Agent infrastructure2026
Sub-secondwarm resume from snapshot

A Firecracker fleet for AI agents

A control plane that places eve.dev agents into Firecracker microVMs across a fleet of bare-metal AWS hosts, plus the routing layer, snapshot-based warm starts, a deploy CLI with per-PR preview agents, and the FinOps view of cost per agent.

  • Firecracker
  • AWS CDK
  • EC2 Metal
  • Lambda
  • DynamoDB
  • EventBridge
02 Inference platform2026
8parts, all reproducible CDK

Hybrid LLM platform on EKS

VPC to GPU node pools to a TypeScript router that sends each request to local vLLM or to Claude, with KEDA scaling GPUs to zero overnight and Langfuse showing the dollar cost of every call.

  • EKS
  • vLLM
  • KEDA
  • Karpenter
  • Hono
  • OpenTelemetry
03 Edge AI2026
$0inside the free allowances

AI demos on Cloudflare's free tier

Document Q&A with citations, invoice reading, agent-drafted quotes with human approval, and a shop assistant, all on Workers AI, Durable Objects, Workflows and D1, each with a per-request cost ledger and a budget in front of every model call.

  • Workers AI
  • Durable Objects
  • Workflows
  • D1
  • AI Search
  • TanStack Start
04 Resilience2026
1program for code + infra

An integration pipeline that copes

Retries with backoff, a circuit breaker per destination, duplicates delivered once and a dead-letter list, written in Effect and run on Workers, Queues and Durable Objects, with infrastructure defined in the same program via Alchemy.

  • Effect
  • Alchemy
  • Queues
  • Durable Objects
  • Foldkit
05 Security2026
5OWASP LLM Top 10 risks addressed

Hardening self-hosted LLMs

An auth and rate-limit gateway, gVisor sandboxing for agent tools, prompt-injection guardrails, scoped secrets and signed model weights, mapped to the OWASP LLM Top 10.

  • gVisor
  • Kyverno
  • Falco
  • Trivy
  • Sigstore

05 / Next token

Building something with AI that has to actually run?

esc
↑↓ navigate↵ open