HomeTutorials › Approval & Safety
Approval & Safety

Approve Always & Reject With Reason

#062 0:24 Part of the Rysh video series

Approve once and forever, or reject with a reason the agent can learn from.

Approve Always & Reject With Reason — 0:24 walkthrough

What you'll see

  1. In prompt mode, ask the agent to create a file so an approval prompt appears.
  2. Press capital Y to approve always -- Rysh remembers the decision and won't re-ask for that action.
  3. Trigger a second, riskier action (e.g. "delete that file").
  4. Press capital N to reject with a reason, type the reason, and press Enter -- the agent adapts.
  5. Recap the keys: y approve, Y approve-always, n reject, N reject-with-reason, Esc reject silently.

Commands shown

rysh
create a file notes.txt with a short todo list
Y
now delete notes.txt
N
keep the file, just empty it instead

Keys used

EnterEscape

Transcript

0:00Approve once and forever, or reject with a reason the agent can learn from.

0:03Start rysh and switch into prompt mode to talk to the agent.

0:08Ask the agent to create a file. file_write is a gated tool, so an approval prompt appears in the footer.

0:16Press capital Y to approve always. Rysh remembers this decision so the same kind of action won't ask again.

0:26Now ask for something risky. Press capital N to reject with a reason -- type why, and the agent adapts.

0:38y approves, capital Y always approves, n rejects, capital N rejects with a reason, and Escape rejects silently.

Key takeaway
Approval is fast and expressive -- remember a yes, or reject with feedback the agent uses to change course.