2026 - Now AI Agent Platform Private Beta

Headless HQ

An agent platform for business operations. An HQ agent routes work to specialist teams; the deepest are marketing (campaign management across Meta, Google, and TikTok with LLM creative analysis) and M&A diligence.

AnthropicOpenAIGoogle GeminiMeta Ads APIGoogle Ads APITikTok APIFastAPINext.jsPostgreSQLRedisGCP

The problem I picked

A small company has a lot of operational work that is well specified, repetitive, and spread across a dozen SaaS tools. The only reason a person does it is that nothing else can hold the whole picture at once. I hit the first version of this myself, running paid ads for my own products across Meta, Google, and TikTok, each with its own dashboard and its own idea of a conversion.

The easy build is one agent per task. I didn’t do that. The value is in what the agents know together: what acquisition costs, what the runway looks like, what is breaking for customers. So I built a platform: an HQ agent that routes work to specialist teams over one integration layer and one approval model.

The calls I made

Control before capability. An agent that can spend money or send email is only useful if the company trusts it. Every write action passes an approval gate the customer sets: full review, a spending threshold, or autonomous. Some tools stay behind approval even in autonomous mode. Spending caps are enforced atomically in Redis, and every change lands in an append-only audit log, written in the same database transaction as the change itself, so the record can’t drift from what happened.

Bounded agents. The HQ coordinator can dispatch to specialists one at a time or in parallel, but only from an allowlist and only three levels deep, and each sub-dispatch runs in its own context. Agents that can call agents without limits are how a platform burns money and produces nonsense.

Failure handling from day one. Background work runs on Redis Streams with retries and dead-letter queues. Actions execute exactly once, even when a worker crashes halfway through, and a scheduler recovers interrupted runs at startup. These are the parts nobody demos, and they decide whether a customer can leave it running overnight.

Cost as a design constraint. Each agent’s model comes from config, with fallbacks. A budget governor tracks spend per agent, per customer, and per company, and moves to cheaper models before a budget runs out. The critic agent that reviews another agent’s work always runs on a different model family, so the two don’t share the same blind spots.

What I’d hand to a team

I wrote the agent runtime and the governance layer myself, and I’d keep my hands on them. Every agent inherits their guarantees, and a mistake there is a mistake everywhere.

What I’d hand off first is everything above that line: each new specialist team, each integration, and the evaluation sets that decide when an agent is good enough to ship. With the runtime in place those are well-specified jobs, and they’re where a team of engineers multiplies fastest.

Where it is

Marketing shipped first: campaigns across the Meta, Google, and TikTok ad APIs from one system, with LLMs reading the creative itself (the copy, the framing, the hook) rather than just the numbers. M&A diligence is the second deep team. It’s built and tested against my own products, and not yet running for customers. Once the marketing team reliably handles real spend inside the limits I set, the same bar applies to the next one.