← All projects
- Ads & funnels
- AI agents
Built in
Watch, create, publish, decide: the week is gone
An autopilot runs the loop, and decides what to scale or kill.
The problem
Running Meta ads profitably is a loop of competitor watch, creatives, publishing and scale-or-kill decisions that eats a team’s week and still reacts late.
What I built
A desktop app where 22 isolated AI agents run a 9-phase pipeline, with an emergency kill switch checked at every phase. A genetic algorithm evolves the agents’ prompts against real campaign results.
Technical details
- Fitness = 0.7·ROAS + 0.3·(1 − CPA), normalised
- Winner/loser creative scorer on MiniLM text embeddings, with label leakage removed
- Control plane bound to localhost only
- Shell guard blocking exfiltration commands from scraped content
Stack
- TypeScript + Bun
- Tauri 2 (Rust)
- Claude Agent SDK
- SQLite
- Meta Marketing API
- Transformers.js (ONNX)
The result
296 tests (956 assertions) run in 5.9 s and cover the risky cases: injected instructions, forged requests, double clicks. Ad and store access tokens are encrypted at rest.
A similar project in mind?
Tell me about your business and when you need it. You get a proposal by email.
More projects
1 / 27 : You do not know how much the courier owes you