I replaced my entire content workflow with an AI agent built on Claude Agent SDK + Discord.js, running on my Macbook Pro.
Here's what it does every day — without me touching anything:
Scans X for viral tweets in the AI/automation space and drafts quote tweets with tactical breakdowns
Generates videos — Edge TTS for voiceover, Remotion for rendering, Whisper for word-level captions. Total cost per video: ~$0.02
Writes and formats posts for X, Bluesky, YouTube, Instagram — each matching the platform's format
Sends everything to Discord for approval — I tap a checkmark from my phone and it publishes
Self-heals when scripts break — if a task fails at 3 AM, it captures the error, spawns a fresh instance to diagnose and fix it, then retries
The full stack:
- TypeScript agent built on Claude Agent SDK — one persistent session, never dies
- Discord.js as the control plane (approve from anywhere)
- node-cron scheduler running 17 tasks daily
- MCP servers connecting YouTube, X, Gmail, Airtable, Google Search Console
- Edge TTS + Remotion for free video generation
- Whisper.cpp for caption sync on Apple Silicon
- pm2 for process management — auto-restarts on crash
Total monthly cost: near zero, if you exclude my Claude Code Max subscription I already pay for. The only variable cost is Gemini for image generation — pennies per image. Edge TTS, Whisper, and Remotion are all free.
Compare that to hiring a content manager ($3-5K/month) or even a VA ($500-1K/month). This runs faster, doesn't take days off, and gets better every week because it learns from what content performs.
The key insight: this isn't a chatbot you talk to. It's a persistent agent session that runs 24/7, executes scheduled tasks, and maintains full context across every interaction. More like a junior employee than a tool.
I'm building out a full course module on this — the Agent SDK setup, Discord integration, scheduler, risk classifier, and the memory system that lets it learn across sessions.
Drop a comment if you want me to prioritize this in the classroom.