Repository navigation
Mapping four guardrail habits onto Agno's confirmation, tool_hooks and tool_call_limit (free MIT) #11595
stackyardweekstart
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Disclosure: this is our repo (Stackyard), a free MIT pack of small guardrail habits for agents that touch real systems. A few line up with hooks Agno already has:
requires_confirmation=Trueon a tool already pauses for a person. The pack's must-ask list (moving money, deletes, anything you can't undo, sending to someone new, changing access) is a quick way to decide which tools get it.tool_hooksfunction, look up a key built from the tool name and arguments before callingfunc(**args), so a retried write returns the saved result instead of running twice.tool_call_limitwith a hard token ceiling per run that stops with a plain message.Patterns to adapt, not a package: https://github.com/stackyardweekstart/weekstart-starter-pack
What do people put in their tool hooks?
All reactions