Tutorials
Step-by-step build guides for AI agents. From first commit to deployed production.

How to Build an Agent Harness in 2026: The Architecture Replacing Solo AI Tools
An agent harness is the runtime layer that wraps an LLM and gives it skills, persistent memory, lifecycle hooks, and multi-agent routing. Claude Code, Codex, and OpenCode are all harnesses -- not mode

How to Add Persistent Memory to Claude Code with agentmemory
agentmemory is an open-source MCP server that gives Claude Code persistent memory across sessions. Install it in three commands, and it auto-captures your tool use, file edits, and decisions using 12

How to Write Agent Skills That Work on Claude Code, Codex, and Gemini CLI
A SKILL.md file is a plain-text instruction module that gives AI coding agents reusable domain expertise. Write it once, drop it into the agent's skills directory, and it activates on demand. As of Ma

Claude Code Skills: How to Use mattpocock's 80K-Star Repo
mattpocock/skills is a collection of 21 markdown files that enforce engineering discipline on Claude Code agents. No freestyle coding -- just structured workflows. The repo hit 80,500 GitHub stars and

How to Use Claude Code's /goal for Autonomous Multi-Turn Tasks
Claude Code v2.1.139, released May 11, 2026, adds a /goal command that sets a completion condition and keeps Claude working across turns until that condition is met. After every turn, a separate evalu

Ruflo v3.6 for Claude Code: Multi-Agent Swarms Setup Guide
Ruflo v3.6 turns a single Claude Code instance into a coordinated swarm of specialized agents using a queen-and-workers hierarchy. Install takes under 5 minutes via npx. But an April 2026 independent

claude-context MCP: Semantic Code Search Over Your Entire Codebase
claude-context is an open-source MCP server by Zilliz that indexes your codebase with vector embeddings and gives Claude Code semantic retrieval over your whole project. Instead of Claude reading enti

Claude Code Ultraplan: Cloud Planning Setup and Workflow
Claude Code Ultraplan is a research preview feature (requires v2.1.91+, Pro or Max subscription) that offloads the planning phase to a remote cloud container running Opus 4.6. Your terminal stays free

How to Wire Claude Code Hooks to MCP Tools (v2.1.118)
Claude Code v2.1.118 (released April 23, 2026) added type: "mcp_tool" as a new hook handler type. You can now wire any lifecycle event -- PreToolUse, PostToolUse, Stop, SessionStart -- direc

Claude Code v2.1.116: Every New Feature That Changes Your Workflow
Claude Code v2.1.116 shipped April 20, 2026 with three real workflow improvements: /resume is 67% faster on sessions over 40MB, MCP tool results can now reach 500K characters instead of being silently

Claude Opus 4.7: How to Migrate Your Workflow to Adaptive Thinking
Claude Opus 4.7 replaces fixed thinking budgets with adaptive thinking and five effort levels: low, medium, high, xhigh, and max. To migrate, swap your thinking parameter to type "adaptive," remove temperature/top_p/top_k from your payloads, and pick an effort level. Xhigh is now the default for most coding work in Claude Code. Opus 4.7 shipped April 16 and I broke my integrations within the first hour. The old budget_tokens sy

How to Build a Dashboard to Monitor All Your AI Automations
I run a lot of AI automations. Content generation, social media scheduling, ad creative production, voice generation, data analysis — the list keeps growing. The problem? When you have 10+ automations running, you lose track of what's working, what's broken, and how much you're spending. So I built a dashboard. And it changed how I manage my entire AI operation. Why You Need an AI Automation Dashboard If you're running more than 2-3 AI automations, you've probably experienced these problems:

Mac Mini for AI Agents: Complete Setup Guide (2026)
The Mac Mini is quietly becoming the default hardware for running AI agents at home. I've been using one as my always-on AI agent server for months, and it's genuinely changed my setup. This is the complete Mac Mini for AI agents setup guide — hardware specs, what to install, how to configure everything, and the exact workflow I use daily in 2026. Why Mac Mini for AI Agents? Three reasons the Mac Mini keeps coming up in every AI agent conversation: * Unified memory. Apple Silicon shares mem

Multi-Agent Architecture: How to Build a Team of AI Agents That Work Together
For the first few months I ran one AI agent for everything. One Claude instance, one set of instructions, one agent doing research, writing, posting, tracking analytics, and managing client comms. It worked. Until it didn't. The agent kept losing context. A task meant for my brand social pages would bleed into client work. The instructions got longer and longer trying to cover every edge case. I was basically writing a novel of prompts just to keep one agent from confusing itself. Multi-agent

How to Use AI Agents to Run Facebook Ads for Clients
I manage Facebook ads for clients as part of my content business. It used to eat up 8-10 hours per week per client between creative testing, audience adjustments, bid optimization, and reporting. Now, with agents handling most of the grunt work, I've cut that to about 2-3 hours per client. Here's how I use AI agents to run Facebook ads for clients — and how you can offer this as a service. Why AI Agents for Facebook Ads? Facebook advertising is a perfect use case for AI agents because it inv

How to Start an AI Content Agency From Scratch ($0 to $5K/Month)
I'm running a content operation that generates over $3,700 a month. I don't have a huge team — I have AI tools, a couple of contractors, and systems. If I were starting from absolute zero today, here's exactly how I'd build an AI content agency to $5K/month. This isn't theory. I've done this. And I'm going to give you the actual playbook. Why an AI Content Agency in 2026? Businesses need more content than ever. Every brand needs TikTok videos, Instagram posts, blog articles, email sequences,

How to Automate Social Media Posting With AI (Complete 2026 Guide)
I used to spend 2-3 hours every single day posting content across TikTok, Instagram, Facebook, X, Threads, and YouTube. That's roughly 15 hours a week just on posting — not creating, not strategizing, just hitting publish on different platforms. Then I automated basically all of it with AI. Now it takes me about 30 minutes a week. Here's exactly how I did it, and how you can too. Why You Need to Automate Social Media in 2026 If you're still manually logging into each platform, writing captio

How to Train Your AI Agent on Your Business Data (Step by Step)
The default ChatGPT knows nothing about your business. It does not know your products, your pricing, your customers, or your processes. That is why out-of-the-box AI feels generic and unhelpful for real business tasks. Training your AI agent on your business data changes everything. It goes from a generic assistant to a specialist who knows your company inside out. Here is exactly how to do it. What "Training" Actually Means (3 Approaches) When people say "train an AI on my data," they usual

How to Build an AI Agent That Manages Your Social Media Comments
I used to spend 2 hours a day replying to comments across X, Instagram, and Facebook. Now my AI agent handles 90% of them. The other 10% (complex questions, angry customers, partnership inquiries) get flagged for my review. Total time: 15 minutes a day. Here is exactly how I built it. This tutorial assumes you have basic familiarity with Python and API keys. If you are brand new, read my guide on what-are first. Why Automate Social Media Comments? The math is simple. If you get 50 comments a

The Complete Guide to AI Agent Memory Systems (RAG, Vector DBs, Context Windows)
Memory is the single thing that separates a useful AI agent from a frustrating one. An agent without memory is like an employee with amnesia. You brief them every morning. They forget by lunch. You brief them again the next day. I have built memory systems for every agent I run. My content agent remembers my brand voice. My email agent remembers client conversations. My coding agent remembers my project architecture. Here is everything I know about making AI agents remember. I wrote an earlier

How to Use Claude Code to Build Apps Without Coding Experience
I built my first production app with Claude Code in 4 hours. I had zero coding experience before that. Not "a little Python." Zero. And the app is still running, handling real users, making real money. This is the claude code tutorial I wish existed when I started. No theory. No filler. Just the exact steps I follow to go from idea to deployed app using Claude Code as my AI coding partner. What Is Claude Code (And Why It Changes Everything) Claude Code is Anthropic's terminal-based AI coding

AI Agent Security: How to Prevent Prompt Injection and Keep Your Data Safe
If you are running an AI agent that has access to your email, your files, your client data, or your business tools, security is not optional. It is the first thing you should think about, not the last. I have seen people hand their AI agent the keys to everything — every account, every file, every communication channel — without thinking about what happens if something goes wrong. Let me walk you through the real risks and how to protect yourself. The Three Biggest Security Risks With AI Agen

How to Build and Run a 30-Day Content Calendar With AI Agents
Every month I sit down for about an hour, and by the time I stand up, I have a complete content calendar for 30 days across eight platforms. Scripts, captions, topics, posting schedules — all of it. My AI agent does 90% of the work. I used to spend an entire day on this. Sometimes I would procrastinate for a week, posting whatever came to mind each morning. The results were inconsistent, the quality was uneven, and I constantly felt behind. This guide walks you through the exact process I use

When to Use One AI Agent vs Multiple Agents (Decision Guide)
One of the most common questions I get from people setting up their first AI agent is: should I use one agent for everything, or should I set up multiple agents for different tasks? I have tried both approaches extensively. I currently run a multi-agent setup where different agents handle different parts of my business. But I did not start there, and I would not recommend most people start there either. Here is the honest framework for deciding what works best for your situation. The Case fo

Running Your Own AI Model Locally: Complete Guide for 2026
Running your own AI model locally sounded like science fiction two years ago. Now I do it every day on a Mac Mini sitting on my desk. No cloud subscription. No API costs for certain tasks. No sending my data to anyone else's servers. If you have been curious about running AI agents on your own hardware but did not know where to start, this guide covers everything — hardware requirements, software setup, which models to run, and when local beats cloud. Why Run AI Models Locally? There are thr

How Small Business Owners Are Using AI Agents to Cut Costs in 2026
Last month, I added up what my AI agents saved me. Not in some theoretical "productivity" sense — in actual dollars I did not have to spend. The number was $2,400. That is money I would have paid freelancers, virtual assistants, and software subscriptions if I was doing things the old way. I am a small business owner running a content and advertising operation. I am not a tech company. I do not have engineers on staff. But AI agents have become the most valuable part of my business infrastructu

How to Automate Your Entire Social Media Presence With AI Agents
I post to eight social media platforms. Every single day. TikTok, YouTube, Instagram, Facebook, X, Threads, Lemon8, and Reddit. If I did this manually, it would eat my entire morning. Instead, I spend about fifteen minutes on it because AI agents handle most of the heavy lifting. This is not theory. This is the exact social media automation workflow I use to run content across multiple brand pages and my personal accounts. I am going to walk you through the whole thing so you can set up somethi

The Best Free AI Agents You Can Use Today (No Credit Card Required)
I spend a lot of time testing AI agents. Most of them want your credit card before you can do anything useful. But here is the thing — some of the best free AI agents out there cost exactly zero dollars, and they are not watered-down demos either. I have been running AI agents across my entire business for months now, and several of the tools I rely on every single day have generous free tiers. Let me walk you through the ones actually worth your time. What Makes a Free AI Agent Actually Usef