
Agent Evaluation Environment: Freeze the Task Contract
An agent evaluation environment must freeze inputs, tools and an independent oracle, or the same message silently grades against two different answers.

Evaluation, permissions, customer delivery, rollout, operation and handover
What this shelf holds
What it takes to put an AI system in front of a customer and keep it there: evaluation you can trust, permissions that mean something, retries that do not repeat a payment, and a handover the receiving team can verify.
These are engineering pieces. Most work through one decision with a small, inspectable example, and say what the example does and does not prove. This is where the site's Harness Engineering writing lives.
Picked by the editor

An agent evaluation environment must freeze inputs, tools and an independent oracle, or the same message silently grades against two different answers.

Learn to turn one failed agent run into an agent regression dataset that tests recovery without pretending to know the original cause.

AI agent per user credentials means separating who invokes an agent from which account its tools use, so one caller never inherits another's access.

A timed-out tool call leaves you unsure a write happened. Choose an idempotency key, and reconcile the result before retrying anything.

Keep MCP job state durable while connections change. Check authenticated identity and job permissions on each protected request before resuming work.

Learn to write an AI agent handoff checklist that lets a new engineer verify state and evidence instead of trusting a summary.
Courses and chapters
Newest on this shelf

A human approval binds to one data snapshot. Learn why AI approval stale data checks must recheck inputs before acting, not just before asking.
If your application needs a category and one reason, a page of explanation creates extra reading and processing work. Define the output your next step can actually use. For a document-routing exercise, ask for an allowed category, a short supporting reason…

AI tool error handling must distinguish an empty catalog from unavailable data. Use separate result types and a mutation test that catches a swallowed timeout.
The model may not be the slowest part of your AI workflow. Retrieval, tool calls and repeated validation attempts can consume most of the waiting time. For a synthetic support task, record the duration of input preparation, the model request, each tool call…

AI agent tool design should expose effects and permission boundaries. Compare an overloaded inventory function with explicit read and draft tools.
An overnight document-classification job and a live customer conversation have different timing needs. Choose the API workflow around the deadline. For work that can wait, evaluate the Batch API using its current completion-window and pricing documentation…
Learn
Save your progress with a free account.
Checking sign-in…
Cookie duty
The one he did not eat is a measurement cookie. Say yes and the site loads Google Analytics (GA4), which stores an identifier in your browser and lets us count which lessons get read.
Change your mind any time with Privacy choices in the footer. Read the Privacy Policy
Optional · newsletter
That is saved and settled. Separately, and this is marketing rather than measurement: Rod writes a weekly email — one lesson, one field note — sent through Kit. It has nothing to do with cookies, and skipping it costs you nothing.
We will send a confirmation email. Click the link in it and the next lesson finds you.