Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Building Agents with Claude and eve

Free · sign in to start and track progress

1 · Harnesses

  • 1Choosing a harness
  • 2The Claude Agent SDK
  • 3Agents as files with eve

2 · Composition and control

  • 4Skills and subagents
  • 5Human approval for high-stakes actions

    Exercise answers

    • Answer: A solicitor-approved send in eve
    • Answer: The same gate in the Agent SDK
  • 6Shipping agents
CapstoneA drafting agent with human approval in eveReference implementation

Module 2 · Composition and control · Lesson 5

Human approval for high-stakes actions

Decide which agent actions a human expert must approve, then build approval checkpoints that pause durably, show the right evidence, check who may approve, and survive multi-tenant deployment, in eve and the Claude Agent SDK.

75 min 1 video 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodeNode.js, pnpm and TypeScriptDurable agents with eveGet an OpenRouter keyLocal models with Ollama

By the end of this lesson you can

  • Classify an agent's actions by reversibility and external effect, and choose the approval level for each
  • Implement an eve tool with an approval request policy, a custom prompt and a response policy that restricts who may approve
  • Implement the equivalent gate in the Claude Agent SDK with always_ask and canUseTool, and explain why allowedTools alone would bypass it
  • Explain why approval is neither authorization nor deduplication, and add the missing controls
  • Estimate the reviewer workload of different approval granularities and design against approval fatigue

On this page

  • Which actions need a human?
  • What a good checkpoint looks like
  • Worked example: approval granularity
  • Approvals in eve
  • What happens while it waits
  • Multi-tenant approvals
  • Approvals in the Claude Agent SDK
  • The pattern that needs no approval tool
  • Misconceptions and limits
  • How this connects
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Which actions need a human?
  2. 02What a good checkpoint looks like
  3. 03Worked example: approval granularity
  4. 04Approvals in eve
  5. 05Approvals in the Claude Agent SDK
  6. 06The pattern that needs no approval tool
  7. 07Misconceptions and limits
  8. 08How this connects
  9. 09Summary

Sources & further reading

  • Building effective agentsLab research · Erik Schluntz, Barry Zhang · Anthropic · 2024Read the passages on agents pausing for human feedback at checkpoints and on sandboxed testing with guardrails. The rationale for designing checkpoints in, not bolting them on.
  • Human-in-the-LoopDocs · VercelThe core reference. Read Approvals (helpers, custom policies, ApprovalStatus), Authorizing approval responses, and How pause and resume works.
  • Multi-Tenant ApprovalsDocs · VercelHow to resolve approval policy per tenant, why execute must still enforce the tenant, and how to stop one tenant answering another's approvals.
  • Handle approvals and user inputDocs · AnthropiccanUseTool in depth, including approve-with-changes, the warning that auto-approved tools never reach the callback, and the defer pattern for approvals that take longer than a process should wait.
  • The Law Society Conveyancing ProtocolDocs · The Law SocietyThe stages of a residential transaction and who does what at each. Stage B, step 15 (additional enquiries) and the reporting and exchange steps tell you which actions carry professional responsibility.
  • Risk Outlook report: The use of artificial intelligence in the legal marketDocs · Solicitors Regulation AuthorityThe regulator's position that firms remain accountable for AI outputs and must supervise them. The reason approval checkpoints are a compliance requirement, not a UX choice.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 9 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks