The AI Was the Easy Part
Written in September 2026; published here in November.
I set out to build a company run by AI agents. The agents were never the problem.
What nearly killed the project was everything around them: accounts, keys, dashboards, an operating system service I'd never thought about, and a long list of failures that lied to me about what was actually wrong.
This is the honest list of pit holes. I'm writing it down because every tutorial makes this look like an afternoon, and it is not an afternoon.
Five accounts before a single word gets written
To get a website that an AI can research, write, and publish to — barely alive — I needed:
| Service | For | The catch |
|---|---|---|
| Network Solutions | domain + DNS | Registrar automation is blocked; every DNS edit is manual |
| Zoho Mail | the info@ mailbox |
Needs IMAP switched on, and an app-specific password, not your real one |
| Netlify | hosting + deploys | They renamed "Site" to "Project", but the API still wants a Site ID |
| OpenRouter | model access | One key for many models — set a spend cap and turn off prompt logging |
| Tavily | web search | Free tier is generous; the signup is the hard part |
Five signups. Five dashboards. Five different words for "API key." Two more waiting (LinkedIn needs app review; X wants about $100/month) before this thing can post anywhere people actually are.
None of this is AI work. All of it is required before any AI work counts.
The pit holes that lie to you
The worst failures weren't loud. They were confidently wrong.
Search failed, and the AI wrote around it. My search tool caught its own errors and
returned a tidy string: "Web search error (rate limited)". The research agent received
that string, treated it as research, and wrote a post anyway. The posts got vague. Quality
scores dropped. Nothing crashed, nothing logged an error — the system just quietly started
making things up. Now a total failure returns SEARCH_UNAVAILABLE with an explicit
instruction: do not invent sources, say plainly that search was unavailable.
A parameter that silently meant "nothing". I asked the search library for a specific
engine with backend="duckduckgo". It returned "No results found." I tried eight engines.
All eight returned "No results found." I was ten minutes from concluding my network blocked
every search engine on earth. The parameter wanted a list. backend=["duckduckgo"]
returns in 3.7 seconds. A string returns nothing, with no error, forever.
Scheduling didn't equal autonomy. My approval step called input() and waited for a
keypress. Obvious in a terminal. Fatal on a schedule: a scheduled run has no keyboard, so
it would have hung or died at the gate every single week. Adding a scheduler alone would
have produced a job that ran faithfully and accomplished nothing.
Switching to a "manager" architecture silently broke publishing. I moved the crew to a hierarchical setup where a manager agent delegates. My publishing code found each post by matching the writer's name against the task's recorded agent. In hierarchical mode, every task records the manager as the agent. So the match found nothing, the post came back empty, and the system would have held every article forever — politely, with no error.
The pit holes underneath
My operating system broke my AI. Every model call started hanging forever. Not slow —
hung. curl to the same endpoint worked perfectly, which made it look like my code. It
wasn't. The OpenAI client builds a User-Agent header, which asks Python for the OS version,
which on Windows asks WMI — a Windows service I have never once thought about. WMI had
wedged. Every request froze before it touched the network. I only found it by dumping the
stack of a hung process and reading the trace. The fix was killing a background Windows
process called WmiPrvSE.exe.
No timeout meant no recovery. A provider dropped one connection. Because I hadn't set a timeout on the model calls, that single dropped connection hung an entire run indefinitely. One missing parameter turned a two-second blip into an infinite hang.
Files went where I didn't put them. My project lives on F:. The agent framework wrote
its database to C:\Users\...\AppData regardless, and its "storage directory" setting only
renames a folder — it can't move it to another drive. That hidden database threw a disk I/O
error mid-run and took the whole cycle down.
Emoji crashed the scheduler. A → in a status message. Fine in my terminal. On a
scheduled run, output goes to a pipe using an older Windows encoding that has no arrow
character. Crash. A decorative character in a log line was enough to kill an unattended job.
The pit hole I dug myself
The Chinese posts kept scoring just below my publishing threshold while the English scored high. Obvious conclusion: the Chinese writer is weak. I was ready to swap its model.
It was the search outage. With research broken, both writers were working from memory — Chinese just degraded more visibly. When real search came back, the Chinese score jumped from 14 to 17 without touching the writer, its prompt, or its model.
I nearly spent a week fixing the wrong component. Check what you're feeding a model before you blame the model.
The one that actually hurt
I got everything working. Agents researching, writing in two languages, evaluating their own output, publishing, deploying. I closed the laptop.
The site published nothing for two months.
Nothing was broken. Nothing had crashed. There was simply no scheduler — it only ever ran when I typed the command, and I stopped typing the command. "It works" and "it runs" are completely different claims, and I had confused them.
What I'd tell myself
- Count the accounts first. If a project needs five API keys, that's five signups, five ways to get rate-limited, and five things to forget the password to. Budget for it.
- Never let a failure return a string that looks like a result. An AI will read it and carry on. Make failure unmistakable.
- Put a timeout on every network call. No exceptions.
- Test the unattended path specifically. Anything that waits for a human will hang forever when no human is there.
- When it "works," ask what makes it run tomorrow. If the answer is "I type the command," it doesn't run.
- Suspect the inputs before the model. Bad output is usually bad context.
Barely alive is still alive
That phrase is honest. This site is a homepage, a build log, and a job that runs on Monday mornings. That's it. And getting there took five accounts, a wedged Windows service, and a parameter that needed square brackets.
But it did publish this week — researched, written in two languages, scored, and deployed without me touching it. The agents did the part everyone assumes is hard. I spent my time on plumbing.
That gap is the whole story, and it's why I'm writing it down.
Receipts
What this post rests on.
- The five services and what each costs.upc2000.com/costs.html (crew/costs.py)
- A total search failure returns SEARCH_UNAVAILABLE and tells the writer not to invent sources.crew/upc_crew.py
- The search backend is passed as a list.crew/upc_crew.py
- A hung WmiPrvSE.exe froze model calls on 2026-06-28; the WMI lookup is now short-circuited.crew/upc_crew.py
- Every model call carries a 120-second timeout.crew/upc_crew.py
- The agent framework's storage is redirected from C: into the project folder.crew/upc_crew.py
- Posts are matched by task name, because in hierarchical mode every task records the manager as its agent.crew/main.py
- Console output is forced to UTF-8 so an arrow or emoji cannot crash a scheduled run.crew/deploy.py, crew/notify.py
- The Chinese post scored 14/20 on 2026-09-03 (held) and 17/20 on 2026-09-04 (published).crew/brain/cycle_log.txt
- No post was published between 2026-06-28 and 2026-09-04.crew/brain/learnings.md
- The X price of about $100/month, the 3.7-second search and the eight engines tried are the author's first-hand account.author