---
title: "Discussion on \"Human-in-the-Loop Approvals for AI Agents in React (AI SDK)\" | Hashnode"
description: "Discussion on \"Human-in-the-Loop Approvals for AI Agents in React (AI SDK)\". Make an AI agent ask before it refunds, sends or deletes. Tool approvals with the AI SDK in React: three small changes, with a live demo."
url: "https://hashnode.com/posts/human-in-the-loop-approvals-for-ai-agents-in-react-ai-sdk/6b12feb1f38c49215455aa00"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Human-in-the-Loop Approvals for AI Agents in React (AI SDK)](https://code-x2.hashnode.dev/human-in-the-loop-approvals-for-ai-agents-in-react-ai-sdk?utm_source=hashnode&utm_medium=feed)

Make an AI agent ask before it refunds, sends or deletes. Tool approvals with the AI SDK in React: three small changes, with a live demo.

1d ago · 4 min read · code-x2.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#ai](https://hashnode.com/tag/ai)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Deepak Sharma](https://hashnode.com/@nextgendev1)

@nextgendev1

  
[View profile](https://hashnode.com/@nextgendev1)

Code. Learn. Share. Empowering my journey, one line at a time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
