Guides, page 12
Long-form guides and tutorials for building with AI coding agents.
All guides
Showing 265–288 of 301 results
MCP vs A2A: AI Agent Protocols Explained
What MCP and A2A each standardize, how Agent Cards and Tasks work, why the two protocols are complementary, and who governs them now (both Linux Foundation).
Mem0 vs Zep vs Letta: Agent Memory Compared (2026)
Three philosophies of agent memory — Mem0's drop-in layer, Zep's temporal knowledge graphs, Letta's self-managing agents — and which fits your architecture.
Parallel Claude Code Sessions with Git Worktrees
Run several Claude Code sessions at once without edits colliding — the built-in claude --worktree flag, .worktreeinclude, subagent isolation, and cleanup.
pgvector vs Pinecone: Do You Need a Vector Database? (2026)
pgvector vs Pinecone compared — vector search inside the Postgres you already run vs a dedicated managed service. Scale thresholds, ops, and the honest default.
Realtime Voice Agents: Build on LiveKit, Buy Vapi, or Pipeline with Pipecat
The three ways to ship a realtime voice agent in 2026 — open infrastructure, managed platform, or OSS pipeline — and how speech-to-speech models fit in.
Sandboxing AI-Generated Code: E2B vs Modal vs Daytona vs Vercel Sandbox
Where should agent-written code run? E2B vs Modal vs Daytona vs Vercel Sandbox compared on isolation, persistence, and cost, plus rules for safe execution.
Spec-Driven Development with AI Agents
Write the spec, let the agent implement against it — the SDD workflow (spec → plan → tasks → implement), when it beats prompt-and-iterate, and the tooling.
TDD with AI Agents: Red-Green as an Agent Loop
Test-driven development found its killer app: agents. How write-the-test-first turns AI coding into a verifiable loop, and the workflow that makes it stick.
Vibe Coding in 2026: What It Is, When It Works, When It Bites
An honest guide to vibe coding — where prompt-and-accept development genuinely pays, where it accumulates risk, and the guardrails that make it professional.
Best Vector Database in 2026: pgvector vs Pinecone vs Qdrant vs Weaviate vs Milvus vs Chroma vs LanceDB
A decision guide to vector databases — embedded, server, or managed; whether you already run Postgres; and which fits your scale, filtering, and RAG needs.
Defending Against Prompt Injection: A Practical Guide for LLM Apps
Prompt injection can't be solved at the model layer — so you defend in depth: trust boundaries, least privilege, human approval, guardrails, and red-teaming.
Deploying a Remote MCP Server: Stateless, Streamable HTTP, and Horizontal Scaling
Take an MCP server from local stdio to a remote, multi-user HTTP service — Streamable HTTP, stateless vs. stateful sessions, OAuth, and horizontal scaling.
Few-Shot vs Chain-of-Thought vs Structured Prompting: What to Use When (2026)
When to reach for few-shot examples, chain-of-thought reasoning, or structured/output-constrained prompting — a 2026 decision guide to the core techniques.
Fine-Tune vs RAG vs Prompt vs Distill: The 2026 Decision Tree
When to reach for prompt engineering, RAG, fine-tuning, or distillation — what each actually changes, where each fails, and how to combine them.
How to Build a Voice Agent: The STT → LLM → TTS Pipeline
How to build a real-time voice agent: the STT → LLM → TTS pipeline, the latency budget that makes or breaks it, and how to wire each stage.
Indexing Postgres at Scale: B-Tree vs GIN vs BRIN and the Hidden Cost of Over-Indexing
A practical guide to choosing Postgres index types — B-Tree, GIN, BRIN, partial, and covering — and why every index you add taxes every write.
Preparing a Fine-Tuning Dataset: Cleaning, Synthetic Data, and Eval Splits
The dataset is the model. How to build a fine-tuning dataset that works — format, curation, cleaning, synthetic augmentation, and a leak-free eval split.
Programmatic Prompt Optimization with DSPy: Stop Hand-Tuning Prompts
Hand-tuning prompts doesn't scale. DSPy treats prompting as programming — declare tasks as typed signatures and let an optimizer compile the prompts for you.
Securing AI Agents: The OWASP Agentic Top 10 in Practice
Agents add risks LLM-app security misses — autonomy, tools, memory, multi-agent trust. The key OWASP agentic threats and how to mitigate each in practice.
Self-Host vs API: When Does Running Your Own LLM Actually Pay Off?
The real economics of self-hosting an LLM vs. calling a hosted API — GPU utilization, privacy, latency, and the hidden ops costs that decide the crossover.
Using Vision-Language Models for OCR, Documents, and Video Understanding
How to use vision-language models for OCR, documents, and video: how they differ from traditional OCR, their failure modes, and getting reliable output.
Zero-Downtime Postgres Migrations: The Expand-Contract Playbook for 2026
How to change a live Postgres schema without downtime or broken deploys — the expand-contract pattern, safe column changes, batched backfills, and CONCURRENTLY.
Agent Memory Architecture: Short-Term, Long-Term, and When to Use Each
How AI agents remember — working memory vs. persistent long-term memory, what to store, how to retrieve it, and how to keep context small.
Building an MCP Server
An accurate introduction to the Model Context Protocol: server anatomy, transports, and connecting a tool to Claude Code.