Guides
Setup notes and guides
Setup notes from the library, listed when their date arrives. A pillar guide explains one part of a working setup.
- AI Agent Architecture: The Parts Every Setup Shares
Seven parts sit around one control loop in every working single-agent setup. Learn what each one does, what to record for it, and how to test it.
Setup notes
- Move Off OpenAI Agent Builder Before Nov 30, 2026
1 Nov 2026. OpenAI Agent Builder shuts down Nov 30, 2026. Export your workflow, pick Agents SDK or workspace agents, and keep the human approval step.
- Run PR-Agent for Open-Source Pull Request Review
1 Nov 2026. Set up PR-Agent, the MIT-licensed PR reviewer, as a GitHub Action with your own model key. Pin the image, limit permissions, keep merges human.
- SWE-agent vs mini-SWE-agent: Which One to Run Now
1 Nov 2026. SWE-agent's own team now recommends mini-SWE-agent. What each does, when the full SWE-agent still fits, and how to run either with a human check.
- Run the Codex GitHub Action to Review Pull Requests
2 Nov 2026. Set up openai/codex-action to comment on pull requests with a read-only profile, a pinned version, and a human who still approves every merge.
- Triage GitHub Issues With the Gemini CLI Action
2 Nov 2026. Use google-github-actions/run-gemini-cli to suggest labels for new issues, with no tools, no token for the model, and a maintainer who confirms.
- Run OpenCode 2 on a Real Repo With Approvals On
3 Nov 2026. OpenCode 2 allows most actions by default. Add ask rules for shell and edits, start in the Plan agent, and review the diff before you commit.
- Charm Crush: Run the Terminal Coding Agent Safely
3 Nov 2026. Charm Crush asks before each tool call by default. Install it, review crushrc before you launch, allow only read tools, add an LSP, and skip --yolo.
- Moving Off Continue: A Safe Checklist
3 Nov 2026. Continue's repository is now read-only and unmaintained. List what you configured, carry over your rules and MCP servers, then retire it safely.
- AGENTS.md examples: Write a File Your Agent Can Use
4 Nov 2026. AGENTS.md examples: what the file is, where to put it, how nested files and precedence work, and what to write so an agent can build and test your repo.
- GitHub Spec Kit: Write the Spec, Approve Each Stage
4 Nov 2026. Set up GitHub Spec Kit with Claude Code, run specify, plan and tasks one at a time, and review each file before the agent writes any code.
- Run Serena MCP Read-Only First, the Right Way
4 Nov 2026. Serena v2 defaults to a REPL interface where read_only is only guidance. Switch to the tools interface, set read_only, and connect it to Claude Code.
- Pack a Repo for an AI Review With Repomix, Safely
5 Nov 2026. Use Repomix to pack a repo into one AI-ready file: choose files, keep secrets out with ignore rules and its Secretlint check, and read the pack first.
- Playwright Test Agents: Draft E2E Tests, Then Review
5 Nov 2026. Set up Playwright's planner, generator and healer agents in Claude Code, point them at a test environment, and review every test, including fixme.
- Browser Use: Make the Agent Stop Before Submit
5 Nov 2026. Set up the Browser Use Python library so the agent fills a form on a test site, stops, and leaves the browser open for you to check and submit.
- Extract Page Data With Stagehand, Then Check It
6 Nov 2026. Use Stagehand's extract() with a Pydantic schema to pull typed data from a web page, scope it to one section, and spot-check it before you use it.
- Self-Host Skyvern for a Repeated Browser Task
6 Nov 2026. Run Skyvern on your own machine for a repeated browser task: pin the version, cap steps, map failures to error codes and have a person check output.
- MCP stdio vs Streamable HTTP: Which Transport to Use
6 Nov 2026. How MCP's two standard transports work in the 2026-07-28 spec, what changed for Streamable HTTP, and how to pick one for a local or remote server.
- smolagents CodeAgent: Sandbox It, Approve the Plan
7 Nov 2026. Set up a smolagents CodeAgent that runs its code in Docker, caps steps, and stops for a person to approve its plan before any action runs.
- Agno Agent With Memory: Review What It Keeps
7 Nov 2026. Build an Agno agent with SQLite memory, require a person to confirm sensitive tool calls, and review or delete what the agent remembers about each user.
- Pause a Mastra Workflow for Human Approval
7 Nov 2026. Use Mastra's suspend(), resume() and bail() to stop a workflow at an approval step, store it, and continue only when a named person says yes.
- Vercel AI SDK Agent Loop: Step Limits and Approvals
8 Nov 2026. Build a tool-calling agent with the Vercel AI SDK's ToolLoopAgent, cap its steps with stopWhen, and make a person approve every write before it runs.
- Microsoft Agent Framework: A First Agent in Python
8 Nov 2026. Build a first Microsoft Agent Framework agent in Python with a tool, then require an approval step for risky tools. Tested on agent-framework 1.23.0.
- Strands Agents: Build a Tool-Using Agent With Approval
8 Nov 2026. Build a tool-using agent with Amazon's open-source Strands Agents SDK, then pause risky tool calls for a person's yes with interrupts. Tested on 1.62.0.
- Build a Haystack Agent Over Your Docs
9 Nov 2026. Build a Haystack Agent that searches your docs through a retriever tool, then make it ask a person before any tool that changes data. Tested on 3.4.1.
- Run a DSPy ReAct Agent and Tune It
9 Nov 2026. Build a DSPy ReAct agent from a signature and Python tools, then tune it with BootstrapFewShot on a small example set. Tested on dspy 3.4.1.
- Run LangChain Deep Agents With an Approval Step
9 Nov 2026. Set up LangChain Deep Agents for a long task, then pause risky tool calls with interrupt_on so a person approves, edits or rejects them. Tested on 0.7.32.
- Self-Host Letta and Read Your Agent's Memory
10 Nov 2026. Letta's old API server is retired. Run Letta Code locally, read its plain-file memory, and switch on approvals before tools run. Checked on 0.34.33.
- Add Human Review to a CrewAI Flow
10 Nov 2026. Pause a CrewAI Flow for a person to approve, reject or revise with @human_feedback, and stop an empty Enter from approving. Tested on CrewAI 1.15.33.
- Prompt Injection Checklist for AI Agent Setups
10 Nov 2026. A setup checklist for limiting prompt injection in AI agents, built on OWASP's LLM01 and LLM06 guidance: fewer tools, least privilege, human approval.
- Test a Google ADK Agent With adk eval
11 Nov 2026. Write an ADK evalset, run adk eval against tool-call and response thresholds, and fail the build when an agent picks the wrong tool. Tested on 2.13.0.
- Add Human Approval to Trigger.dev Background Jobs
11 Nov 2026. Pause a Trigger.dev task with a waitpoint token until a person approves, and check the answer, the timeout and empty replies. Checked on SDK 4.8.3.
- Pause an Inngest Function Until a Person Approves
11 Nov 2026. Use step.waitForEvent in Inngest to hold an agent's action until a reviewer says yes. Tested on inngest 4.26.2 with the local dev server.
- OpenAI Agents SDK With Temporal Approval Steps
12 Nov 2026. OpenAI Agents SDK inside a Temporal workflow: hold a risky tool until a reviewer signals yes. Tested with a 24-hour timeout.
- Add an Approval Step to a Langflow Flow
12 Nov 2026. Pause a Langflow flow with the Human Input component and resume it by API with approve or reject. Tested on Langflow 1.13.0, including late answers.
- Scan a Model Endpoint for Prompt Injection With garak
12 Nov 2026. Run NVIDIA's garak scanner against a local Ollama model, read the prompt injection and exfiltration results, and decide what to fix. Tested on 0.17.1.
- Convert Files for Agents With Microsoft MarkItDown
13 Nov 2026. MarkItDown 0.1.9 on HTML, DOCX and XLSX files we wrote. A plain install only read the HTML; with [docx,xlsx] all three converted, with two XLSX losses.
- Self-Hosted AI Agent: Keep Ollama Off the Internet
13 Nov 2026. Self hosted AI agent on Ollama: we tested the default 127.0.0.1 bind, what 0.0.0.0 opens, and what OLLAMA_ORIGINS does and does not block.
- GitHub Actions Security for AI Agent Workflows
13 Nov 2026. GitHub Actions security before an AI agent runs in CI: lock action dependencies, use a read-only GITHUB_TOKEN, and keep PR text out of shell scripts.
- Answer Questions Over Your PDFs With PaperQA2 and Ollama
14 Nov 2026. Run PaperQA2 with Ollama for cited answers over your own PDFs. Our test found the agent still defaults to OpenAI and a dependency that needs pinning.
- faster-whisper: Local Transcription on CPU
14 Nov 2026. faster-whisper 1.2.1 tiny on 8 minutes of LibriSpeech on CPU: 10.3% word errors in about 20 s, a 29% run with default settings, and an install fix.
- SearXNG API: Private Web Search for a Local Agent
14 Nov 2026. SearXNG API from source for a local agent: JSON on, a web_search tool on Ollama with a 1.5B model, including the failures.
- MCP vs a Plain API Call: The Same Weather Tool Twice
15 Nov 2026. One Open-Meteo weather function, called directly and through an MCP server by the same local model. Both 4 of 4 right. The differences: code and errors.
- Clean Web Pages for an Agent With Trafilatura
15 Nov 2026. Trafilatura on three saved pages kept all 19 test facts, cut the text to about a third of the HTML and dropped menus. Comments stayed until turned off.
- AgentScope: First Local Agent With a Confirm Step
15 Nov 2026. AgentScope 2.0 on a local Ollama model with file tools: four permission modes, what each let through, and one rule we did not expect.
- sqlite-vec: Vector Search in SQLite for Agent Memory
16 Nov 2026. We stored 16 agent notes in SQLite with sqlite-vec and local embeddings. The right note came first for 10 of 10 questions; unknowns still got a match.
- MCP Elicitation: Let a Server Ask Before It Acts
16 Nov 2026. An MCP server asked before each delete, using the Python SDK's elicitation. 14 calls with scripted answers: 2 deletes, both after a yes. Code and results.
- Aider vs OpenCode on the Same Local Model
16 Nov 2026. Aider 0.86.2 and OpenCode 1.19.5 on the same local qwen2.5:3b, two one-line bugs, two runs each: Aider fixed 3 of 4 and committed them, OpenCode fixed 1.
- LangChain vs LlamaIndex: The Same Local RAG, Compared
17 Nov 2026. LangChain vs LlamaIndex on the same 8 local files and 11 questions with qwen2.5:3b: the same retrieval, 28 against 16 lines of code, different answers.
- CrewAI vs LangGraph: One Local Task, Built Twice
17 Nov 2026. One refund agent built in CrewAI and in LangGraph on a local 3B model, each with a review step before refunds. Both stopped the 500 EUR refund.
- Block Risky Commands With Claude Code Hooks
17 Nov 2026. Claude Code hooks run a script before each tool call. Exit 2 or return deny to block it, and set onFailure so a broken hook doesn't fail open.
- Find and Vet MCP Servers in the Official MCP Registry
18 Nov 2026. Search the official MCP Registry with no account or key, check each server's namespace, repo, package and secrets, and approve it before use.
- Promptfoo Red Teaming Against a Local Chat Agent
18 Nov 2026. Promptfoo red teaming on a local Ollama agent with no cloud calls. Our bot leaked a secret 3 times and the local grader missed all 3.
- FastMCP: Read-Only Notes Tools and a Confirmed Delete
18 Nov 2026. Build a small FastMCP server in Python: two read-only tools confined to one folder, and a delete tool that asks a person to confirm first.
- Add Rails to a Chat Agent With NeMo Guardrails
19 Nov 2026. Wrap a local Ollama chat bot in NeMo Guardrails. We compared no rails, self-check rails and a regex output rail on seven test questions, including leaks.
- Trace and Evaluate a Local Agent With Arize Phoenix
19 Nov 2026. Run Arize Phoenix 21 on your own machine, trace a local tool-calling agent with OpenTelemetry, score runs with a judge model, then check the scores.
- Run Tool Calls Safely With Simon Willison's llm CLI
19 Nov 2026. Give a local model Python tools in the llm CLI 0.36, approve each call with --ta, cap loops with --cl, and keep file jobs in one folder. Tested on Ollama.
- Use Fabric Patterns With a Local Model, Then Check Them
20 Nov 2026. Run Fabric 1.4.557 with Ollama, pipe notes into a pattern, write a strict custom pattern, and check the output. Tested with a 3B model on 2026-10-30.
- Run Open Interpreter Locally With a Sandbox and Approvals
20 Nov 2026. Open Interpreter 0.0.56 is now a Codex-based coding agent. Run it on local Ollama with workspace-write and on-request approvals. Tested 2026-10-30.
- GitHub Fine-Grained Tokens for an AI Agent
20 Nov 2026. GitHub fine grained tokens for an AI agent: one owner, only the repositories it needs, read-only permissions and a short expiration.
- MCP Inspector CLI: Check a Server Before an Agent Uses It
21 Nov 2026. Use the MCP Inspector CLI to list a server's tools and hints, test its calls and read exit codes, so a person can approve it before an agent connects.
- Context7 MCP: Version-Pinned Library Docs for Agents
21 Nov 2026. Run the Context7 MCP server locally, pin a library version in the ID, and check what comes back, so a person reviews code built from the docs.
- Cloudflare MCP Servers: Start With Docs, Then Grant Access
21 Nov 2026. Connect an agent to Cloudflare's keyless docs MCP servers first, then grant account access through OAuth with only the scopes a person picks.
- Mem0 Locally: Long-Term Memory a Person Can Delete
22 Nov 2026. Run Mem0 with local Ollama models, add and search memories per user, and see what deleting a memory really removes before you trust it.
- Tiny Agents: A Local MCP Agent With a Tool Allowlist
22 Nov 2026. Run Hugging Face Tiny Agents with a local Ollama model and an MCP server, limit its tools with allowed_tools, and see where approval must live.
- Inspect AI: Test an Agent on Your Tasks, Approve Deletes
22 Nov 2026. Run an Inspect AI eval on your own agent tasks with a local Ollama model, and put a person's approval in front of any tool that deletes.
- Graphiti Locally: Time-Aware Memory That Needs a Reviewer
23 Nov 2026. Run Graphiti with local Ollama models and embedded FalkorDB, see how it dates and invalidates facts, and where a person must review the graph.
- What SWE-bench Scores Mean When Choosing a Coding Agent
23 Nov 2026. What SWE-bench, Lite and Verified measure, what we found in the 500 Verified tasks, and why a trial on your own issues beats a leaderboard score.
- llms.txt: Write One Agents Can Use, Then Test It
23 Nov 2026. Write an llms.txt under the v2 spec, check it with the reference parser, and test it with a small agent before a person publishes it.
- Trace AI Agents With OpenTelemetry GenAI Conventions
24 Nov 2026. Trace an agent's model calls, tool calls and a person's approvals with OpenTelemetry GenAI conventions, tested locally with a small model.
- Healthchecks.io Alerts When a Scheduled Agent Stops
24 Nov 2026. healthchecks.io for a scheduled AI agent: ping every run and get an alert when it fails, hangs or misses. Tested on v5.0.3.
- GitHub Rulesets That Stop an AI Agent Pushing to Main
24 Nov 2026. GitHub rulesets plus CODEOWNERS so AI agents must open a pull request, pass checks and get a human review before anything reaches main.
- Send Approval Requests to Your Phone With ntfy
25 Nov 2026. Have an AI agent ask a person before it deletes anything, with ntfy Approve and Reject buttons. Self-hosted, locked down and tested on v2.35.0.
- How to Vet an Open-Source Agent Repo Before You Run It
25 Nov 2026. A checklist to vet an open-source AI agent before install: license, activity, install scripts, provenance and permissions, tried on two agent CLIs.
- Open-Source Licenses for Agent Setups, Explained
25 Nov 2026. MIT, Apache-2.0, AGPL and source-available licenses, explained for AI agent setups, with a license check of 14 popular agent repos. Not legal advice.
- Coding Agent Permissions Compared: 9 Tools Side by Side
25 Nov 2026. How nine coding agents handle approvals, allow and deny rules, sandboxing, network and admin controls. Every cell links to official docs. Checked 25 Nov 2026.
- Open-Source AI Code Review Tools Compared
26 Nov 2026. PR-Agent, Codex Action, Claude Code Action and Gemini CLI Action compared on who can trigger them, permissions, pinning and licenses.
- Awesome AI Agent Lists: Use Them Without Getting Burned
26 Nov 2026. Awesome AI agent lists are leads, not reviews. We sampled 45 links from three lists, found stale, moved and missing repos, and show how to vet them.
- GitHub Push Protection Against AI Agent Secrets
26 Nov 2026. Turn on GitHub push protection so a coding agent cannot push API keys or tokens to your repo, and know what to do when a push is blocked.
- Agentic Workflows: Five Patterns You Can Run Locally
27 Nov 2026. Five agentic workflow patterns run on a small local model: chaining, routing, voting, orchestrator-workers and an evaluator loop, plus where each slipped.
- Turn PDFs Into Agent-Ready Markdown With Docling
27 Nov 2026. Convert PDFs to Markdown and RAG chunks with Docling on a CPU, then give an agent the Docling MCP server. Tested on 2.145.0 and docling-mcp 3.4.0.
- How to Create an AI Agent From Scratch, Locally
27 Nov 2026. A 49-line Python agent on a local Ollama model: tool calls, a step limit, a path guard and an approval prompt that shows what will be written.
- Agentic AI Frameworks Compared on One Local Task
28 Nov 2026. One refund task in smolagents, PydanticAI and LangGraph on a local 3B model: code size, approval hooks, install size, licences and what the gate caught.
- AI Agent Orchestration: Handoffs vs a Manager Agent
28 Nov 2026. Handoffs vs a manager agent in the OpenAI Agents SDK on a local model, with a person approving refunds. What each did when the person said no.
- LangGraph Interrupt: Pause an Agent for a Human Yes
28 Nov 2026. LangGraph interrupt before a risky tool call: approve, edit or reject on a local model, including the re-run on resume.