Skip to content
Level up your prompts with SurePrompts — curated prompts for every workflow.
agentscamp

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).

3m read· Jun 11, 2026· Imtiaz Rayhan

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.

3m read· Jun 11, 2026· Imtiaz Rayhan

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.

3m read· Jun 11, 2026· Imtiaz Rayhan

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.

2m read· Jun 11, 2026· Imtiaz Rayhan

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.

2m read· Jun 11, 2026· Imtiaz Rayhan

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.

2m read· Jun 11, 2026· Imtiaz Rayhan

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.

3m read· Jun 11, 2026· Imtiaz Rayhan

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.

3m read· Jun 11, 2026· Imtiaz Rayhan

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.

3m read· Jun 11, 2026· Imtiaz Rayhan

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.

5m read· Jun 4, 2026· Imtiaz Rayhan

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.

5m read· Jun 4, 2026· Imtiaz Rayhan

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.

5m read· Jun 4, 2026· Imtiaz Rayhan

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.

4m read· Jun 4, 2026· Imtiaz Rayhan

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.

3m read· Jun 4, 2026· Imtiaz Rayhan

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.

3m read· Jun 4, 2026· Imtiaz Rayhan

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.

4m read· Jun 4, 2026· Imtiaz Rayhan

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.

3m read· Jun 4, 2026· Imtiaz Rayhan

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.

3m read· Jun 4, 2026· Imtiaz Rayhan

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.

5m read· Jun 4, 2026· Imtiaz Rayhan

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.

4m read· Jun 4, 2026· Imtiaz Rayhan

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.

3m read· Jun 4, 2026· Imtiaz Rayhan

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.

5m read· Jun 4, 2026· Imtiaz Rayhan

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.

3m read· Jun 3, 2026· Imtiaz Rayhan

Building an MCP Server

An accurate introduction to the Model Context Protocol: server anatomy, transports, and connecting a tool to Claude Code.

9m read· Jun 3, 2026· Imtiaz Rayhan