Self-hosted AI automation server
A private platform in my home lab that captures and scores ideas, plans the work around my free time, runs a small team of AI agents, and publishes only what I approve. Nothing is exposed directly to the internet.
What I built
A self-hosted platform that turns ideas into finished work. It captures ideas, scores them, plans the steps around my real free time, has AI agents draft the work, and publishes only what I approve. It runs on my home lab.
Why I built it
Planning, drafting, scheduling, and publishing are repetitive, but I still want to be the one who decides what goes out. I wanted automation that saves time without taking the decision away from me.
My role
This is a personal project, built and run on my own hardware at home. I designed the architecture, set the rules, reviewed every change, and tested the results. I built it with AI coding agents as my implementation partner.
Technologies
n8n, Node.js and Express, Python, PostgreSQL, Docker, and Proxmox. Cloudflare for secure access and hosting. Git and GitHub, and Playwright for browser testing. Claude and GPT models, a self-hosted multi-agent platform, and official platform APIs for publishing and analytics.
Design principles
- Human in the loop. Agents draft. A person approves anything that goes public or changes a live system.
- Nothing exposed directly. Every tool sits behind identity-aware access with multi-factor authentication.
- Least privilege. Every account, token, and agent gets the smallest access that does the job, enforced in code and covered by tests.
- Modular. Capture, scoring, planning, drafting, approval, and publishing are separate parts.
- Deliberate, not constant. Agent runs are scheduled on purpose rather than running all the time, which keeps cost and noise down.
Ideas and planning
- A mobile-first web app where I capture ideas by voice or text.
- An n8n workflow uses an LLM to rewrite each idea and score it on seven criteria, with a short reason and a tip to improve it.
- A focus limit keeps only a few ideas active at once.
- For active ideas, AI breaks the work into small steps. A deterministic, unit-tested scheduler then assigns due dates based on my actual free time and priorities. Missed steps roll forward instead of piling up.
AI agents
- A self-hosted, open-source multi-agent platform organized like a small company: a lead agent plus specialists for research, writing, design, web development, and review.
- Different models for different jobs, chosen for what each task needs.
- A reviewer agent checks every batch against written rules before I see it.
Publishing with approval
- Agents plan and design batches of posts, with a version tailored to each platform.
- Drafts land on an approval dashboard I built, with a preview of every version. One click approves a post everywhere.
- A publisher service posts through the platforms’ official APIs, with integrity checks between approval and publishing, image metadata removal, and protection against posting the same thing twice.
- A posting history keeps topics and headlines from repeating.
Website changes
- Agents can propose new web pages. Every change passes automated safety checks and a preview I review before it goes live.
- An analysis agent reads search and analytics data and proposes a short list of improvements, each with measured evidence. I approve or reject them.
A challenge I solved
When a site’s animations stuttered on fast scrolling, I measured before changing anything: scripted fast-scroll tests in headless WebKit and Chromium, recording frame timing and layout counts. The data pointed to the real causes. The fixes cut dropped frames on the heaviest page by about 75% and removed a visual flicker entirely, with no change to the design.
Security and privacy
- Secrets never live in code, configuration in the repository, or chat logs.
- Encrypted off-site backups, with a written restore procedure that I test by actually restoring.
- Security patches are applied across the stack, and updates happen on purpose rather than automatically.
Results
Everything on this page is running today.
- Reviewing and approving a batch of content takes me about 10 minutes.
- New web pages go from idea to a reviewed preview without me writing the code.
- No service is exposed directly to the internet, backups are tested, and every public action passes my approval.