ai agents
Prompts tagged with "ai agents"
Work Out Why an Agent Run Went Wrong
Reads an agent trace to find the first step where the run actually diverged — usually well before the visible failure — classifies the failure type...
Design an Agent's Memory Across Sessions
Decides what an agent should remember between sessions, what it must forget, how memories are retrieved without flooding the context, and how stale...
Split Work Between an Orchestrator and Subagents
Decides whether a task genuinely needs multiple agents, then draws the boundaries so each subagent has an isolated context and a verifiable contrac...
Handle Errors and Retries Inside an Agent Loop
Designs the failure behaviour of an agent loop: which errors are worth retrying, how to keep failed attempts from poisoning the context, and when t...
Design the Tool Surface for an Agent or MCP Server
Decides which tools should exist and at what granularity, names them so the model picks correctly, and prunes the surface — because tool-selection ...
Harden a Prompt or Agent Against Prompt Injection
Maps where untrusted text reaches your model, what an attacker could reach through it, and which mitigations are architectural versus merely hopefu...
Scope What an Agent Is Allowed to Do
Defines an agent's permission surface by blast radius rather than convenience: what it can do freely, what needs approval, what it must never do, a...
Budget an Agent's Context Window
Treats context as a budget to spend rather than a container to fill, allocating tokens across system prompt, tools, history, and retrieved content,...
Decide Whether Your Task Actually Needs an Agent
Tests a task against the compounding-reliability math before you build an agent for it, and lays out the cheaper architectures — single call, fixed...
Design a Tool Description for an AI Agent
Write a clear tool or function definition an AI agent can actually call correctly — unambiguous parameters, a strict schema, and documented failure...
Write a System Prompt for an AI Agent
Turn a description of what your agent should do into a structured, production-ready system prompt with explicit boundaries and failure behavior.
Guides on ai agents
-
How to Deploy an AI Agent
Every deployment problem follows from one property: you don't know how long a run takes, because you didn't write the path. Why the run m...
Read the guide → -
Human-in-the-Loop Patterns for AI Agents
Approval is a budget, not a default — a person asked to confirm forty actions reads the first three. Triage by reversibility rather than ...
Read the guide → -
How to Trace and Debug an AI Agent
Print statements don't survive a system whose control flow is decided at runtime by a model. What every span must carry, the OpenTelemetr...
Read the guide → -
What Changed in MCP 2026-07-28
The handshake is gone, sampling and roots are deprecated, and HTTP+SSE is no longer a transport. A test for whether the MCP guide you're ...
Read the guide → -
MCP Authorization and OAuth
Optional until you opt in, then very specific. Why the resource parameter is mandatory even when the server ignores it, why PKCE doesn't ...
Read the guide → -
MCP Security
Confused deputy, token passthrough, SSRF through OAuth discovery, and the javascript: URL that becomes remote code execution. The specifi...
Read the guide → -
MCP Transports: stdio vs Streamable HTTP
There are two transports now, not three, and the one that vanished is the one most tutorials still document. What each is exposed to, why...
Read the guide → -
How to Connect an MCP Server
Every guide teaches you to build a server; almost none explain connecting one. The config is the same object everywhere — clients just di...
Read the guide → -
MCP Tools, Resources and Prompts
Three server primitives, divided not by what they do but by who pulls the trigger: the model picks tools, the application supplies resour...
Read the guide → -
What Is Function Calling?
The model does not call the function — it emits a structured request and your code decides whether to honour it. Everything about designi...
Read the guide → -
What Is AGENTS.md?
A README for agents: exact commands, enforced conventions, hard boundaries, and how to verify work. Used by 60,000+ projects and 25+ tool...
Read the guide → -
AI Agent Frameworks Compared
Star counts and last-push dates measured directly from the GitHub API on 15 August 2026, not repeated from a listicle — including the wid...
Read the guide → -
What Is an AI Agent?
The textbook taxonomy of five agent types won't help you ship anything. The distinction that does: in a workflow you wrote the path, in a...
Read the guide → -
How to Build an MCP Server
Most MCP tutorials predate the 2026-07-28 revision, which replaced the init handshake with server/discover and deprecated sampling and lo...
Read the guide → -
How to Optimize AI Agent Cost and Latency
Where agent cost and latency actually come from, the concrete levers to pull, and how to measure before you optimize the wrong thing.
Read the guide → -
Memory for AI Agents
How AI agents remember beyond the context window: working memory, long-term stores, episodic vs semantic memory, and the pitfalls.
Read the guide → -
The Agentic Loop, Explained
How the model-decides, harness-executes, context-accumulates cycle actually works, where it breaks, and how to bound it in production.
Read the guide → -
Guardrails and Safety for AI Agents
Why agents need more than a chatbot's safety filter, and how to layer input validation, scoping, approval, and sandboxing.
Read the guide → -
How to Write Your First Agent Skill
A practical, accurate walkthrough of Agent Skills: the SKILL.md format, why the description is the trigger, and how to test one before yo...
Read the guide → -
Multi-Agent Systems Explained
A team of agents is a scaling tool, not an upgrade. The two situations where multiple agents beat one, when a single agent wins, and how ...
Read the guide → -
How to Design Tools Your AI Agent Can Actually Use
When an agent misbehaves, the tools are usually the problem, not the model. Six rules for tool names, descriptions, schemas, results, and...
Read the guide → -
How to Write Evals for Your AI Agent
The step everyone skips is the one that separates a demo from a product. How to evaluate an agent's whole trajectory — task completion, t...
Read the guide → -
What Is MCP and Why It Matters
MCP is USB-C for AI: one open standard that lets any model connect to any tool. What it is, how it works, and why Anthropic, OpenAI, Goog...
Read the guide → -
How to Build Your First AI Agent
An AI agent is just a loop: reason, act, observe, repeat. Build one from scratch — the four ingredients, a worked example, tool design, a...
Read the guide → -
AI Agent vs Workflow vs Single Call: How to Choose
Most tasks people build agents for do not need one. The three tiers of AI systems explained — single call, workflow, and agent — with a f...
Read the guide → -
Why AI Agents Don't Ship Themselves: A Forward Deployed Engineer Playbook
FDE job postings jumped 729% in a year and vendors just committed ~$9B to deployment — because agentic AI stalls at production. Here's ho...
Read the guide → -
Agent Skills to pay the Bills
What agent skills are most useful to making money?
Read the guide →