Guides (5)
Step-by-step guides for building with and for AI agents.
Machine-readable: /api/longform/guides.json.
- Add MCP servers to Claude Code Guide
Connect Claude Code to remote and local MCP servers from the command line, choose the right scope, keep tokens out of shared config, and check that each server connected, using GitHub and Playwright as examples.
- Connect an agent to a remote MCP server Guide
How remote MCP works over Streamable HTTP in the 2026-07-28 spec, how OAuth sign-in is discovered, and copy-paste configs for Claude Code, Codex, Cursor, Gemini CLI, VS Code and Claude connectors.
- Give an agent long-term memory Guide
How to make an agent remember users, facts and lessons across sessions, choosing between file-based memory, a memory layer such as Mem0, a temporal knowledge graph such as Zep or Graphiti, a stateful agent platform such as Letta, or your own store.
- Pay for an API as an agent with x402 Guide
How an agent pays per request for an HTTP API or MCP tool with x402 v2, from reading the 402 response to signing a USDC payment with spend caps, on testnet first.
- Run agent-generated code safely in a sandbox Guide
A defense-in-depth recipe for executing LLM-written or user-supplied code: pick an isolation boundary, lock down egress, keep secrets out, cap time and resources, and treat the output as untrusted.