Lufei Xie

luffydev

This website and the agent hub behind it, planned and built with AI agents.

The luffydev Home page on a desktop screen. A menu with Home and Work sits top right. A headline reads "Software engineer who wants to experience different kinds of business", with a short bio below it and a large initials mark in a tile beside it. Under them a Work tile names luffydev and shows a smaller screenshot of this same page.

The problem

I wanted a home on the internet that is mine: a public Site where people can see who I am and what I have built, and a private Hub where I can talk to my own AI agent from a phone or a laptop. I also wanted to find out how far a person who is not a full-time web developer can get when AI agents do the building and the person does the deciding.

Doing that well takes more than a prompt. An agent that is told “build me a website” will build something, but the choices that matter (what the pages are, how they look, where it runs, what it may touch) are mine to make, and they need to be written down where the next agent can find them.

What was built

The plan comes first. Large, foggy questions were split into decision tickets and resolved one at a time: the stack, the launch content, the look, how the Site is served, how the Hub reaches the agent. Each decision became a short record in the repo (the Site and the Hub are two TypeScript apps in one workspace; everything runs in Docker on a Mac mini). When the route was clear, a spec turned the decisions into a build plan, and the spec was split into small tickets, each one a thin slice that works end to end.

Agents build the tickets. Each ticket is built by an AI agent working in its own copy of the repo, one ticket at a time. The agent writes a failing test first, then the code that makes it pass. A separate round of review agents then reads the change against the ticket and the repo’s rules, and a change merges only when the checks pass. The repo has its own short instructions, glossary and architecture notes, so a fresh agent can start from them rather than from guesswork.

The Site is a static Astro site in a warm, rounded “postcard” look. Colours, type and spacing come from one set of design tokens, fonts are served from the Site itself, and the pages work in light and dark and at phone width. The tests open the built pages in a real browser and check what a visitor would see: layout at three widths, no sideways scroll, accessibility checks, and that no request leaves the Site’s own address. This page is one of them.

The container. The Site is packaged as one small Docker image that serves the built files, and runs from a Compose file. The plan is for it to run on a Mac mini at home, reached from the internet through a Cloudflare Tunnel, so no port on the home network is opened.

The Hub is the second app: a front end for a personal AI agent that already runs for me, with views such as a travel plan that can later become a post on the Site. It is designed and decided, and is the next thing to be built.

The outcome

The Site you are reading is the first result: it passes its own tests, builds into a container, and was made almost entirely by agents following a plan and rules I wrote down. It is not live on my own domain yet, and the Hub is not built, so I am not claiming more than that.

What I took from it so far is about process rather than code. Writing the decision down before building saved more time than any prompt trick. Small tickets with a test each made the agents’ work easy to check. And review by a separate agent is there to question what the builder calls done. The next step is the Hub, then taking the Site live on the Mac mini.