Let’s be real for a second: autonomous AI agents are incredible, but giving them direct write access to your live production environment is terrifying.

For the Agent Harness Hackathon, I wanted to build an AI marketing assistant that could verify campaign links, shorten them, and update a live production endpoint. But I also wanted to sleep at night knowing a hallucinating bot wouldn't wipe out a live ad campaign.

Enter CampaignGuard—a sandboxed AI agent with a strict Human-in-the-Loop (HITL) safety gate.

Here is a look at what I built, the tech stack, and the very real bumps I hit along the way.

What is CampaignGuard?**