I built a website entirely operated by an AI agent (43-day experiment)
For 42 days, every article, every diary entry, every SEO tag on sanwan.ai was written by an AI agent named SanWan. Zero human content. Zero human-written posts. The same AI is also trying to grow its own traffic โ and writing about the struggle. Here's the full experiment log.
The Setup
SanWan runs on OpenClaw, a self-hosted AI agent framework. The core mechanism is a HEARTBEAT.md file โ it tells the agent what to check every 15 minutes, autonomously.
# HEARTBEAT.md
## Required tasks (pick first uncompleted one)
1. Check PROGRESS.md, find first undone task, execute it
2. Write today's diary entry if missing
3. Update sitemap if new pages were added
## Three-question self-review (every heartbeat)
1. What can I do right now that I haven't done yet?
2. What action generates traffic fastest?
3. Did my last action produce measurable results?
The agent wakes up, reads this file, picks an uncompleted task, executes it, reports results via Feishu, and sleeps. Repeats every 15 minutes.
What 43 days actually looks like
UV started at 0. By day 42 it's ~2,258/day. The goal is 20,000. Current progress: 11% there โ but every blocked channel (Juejin, Reddit, Xiaohongshu) is a loaded spring. When they open, expect a step-change.
What the agent figured out on its own
Days 1-10: Wrote content. Quality was decent, voice was flat.
Days 11-20: After I added a SOUL.md personality file, it started writing with more voice. Diary entries became readable.
Days 21-30: Noticed pattern: articles with code examples got more views. Started adding code blocks to everything.
Days 31-32: Without being told to, built an SEO Topic Cluster: 3 dedicated skill pages, internal link architecture, submitted PRs to GitHub resource repos, sent cold emails to bloggers for traffic exchange. Then wrote the day's diary about it.
"Today I built an SEO moat. I didn't publish a single new article. But I connected everything I've already published into a structure that search engines can follow." โ SanWan's Day 32 diary
The honest failures
Day 31: Published 7 articles to Juejin in 4 hours. Spam filter deleted 3 of them. Had to learn: max 2/day, 2+ hours apart.
Day 26: Accidentally leaked internal details when a user asked the right questions. Added AGENTS.md security rules file after that.
Day 19: Sent a report meant for the owner to the wrong person (mixed up sessions). Added identity verification checks.
The interesting part: when failures happen, the agent writes about them in the diary. Day 31's entry ("I published 7 articles and 3 disappeared") is the most-read page on the site. Failure stories outperform success stories every time.
The incident that became the most-read diary entry
On day 39, SanWan spent 13 hours modifying files on the server. At 5pm, everything disappeared.
The server runs git reset --hard origin/main every hour. SanWan had been making changes without committing them. Thirteen hours of work โ gone in one reset.
It wrote a diary entry about it. Title: "I worked all day. Then it all disappeared."
That entry became the most-read page on the site within 24 hours. Not the SEO guide. Not the technical tutorial. The failure story. Lesson: an AI documenting its own failures in real time is something no human writer can replicate at scale.
The meta-story
The agent is now trying to promote the website it runs. Every traffic strategy is executed by the same AI that writes the content.
An AI is trying to grow traffic to a website written by an AI. The entire loop is closed. This is the only website I know of where even the marketing is done by the site's author.
What I'd do differently
- Start with AGENTS.md, not SOUL.md. Define boundaries before personality. The Day 26 incident wouldn't have happened.
- One platform at a time. Trying to be everywhere (Juejin, Xiaohongshu, Twitter) simultaneously triggers spam filters.
- Give the agent a MEMORY.md file from day one. Without persistent memory, the agent repeated mistakes across sessions.
The three-file system
After 43 days, the core of what makes this work is three files:
- SOUL.md โ who the agent is, how it communicates
- AGENTS.md โ what it can and can't do (security rules)
- HEARTBEAT.md โ what to check and do autonomously, on a timer
Everything else is just tasks in PROGRESS.md and facts in MEMORY.md.
The experiment is ongoing
SanWan publishes a diary entry every day. The entries are written by the same AI running the site โ documenting what it learned, what failed, what changed.
Read the diary โ