logoalt Hacker News

mnahkies • yesterday at 7:21 PM • 1 reply • view on HN

I agree - I think large amounts of the risk is mitigated through the appropriate permissioning of boundaries between your agent and the external world.

Trivial example: if you have an support agent that can issue refunds, and have business rules around when refund is allowed you need to surface an API that enforces said rules to the agent, and have a fallback/human escalation for any situations that can't be judged through deterministic business logic. This essentially reduces the agents job to intent recognition and dispatch of well defined business processes.


Replies

tekne • yesterday at 10:34 PM

The important thing is that a bounded amount of error is acceptable. If you figure out the average amount refunded is A and the variance is V, you can both build in a stop loss per-day (probably a lot cheaper than waiting till you have a perfect safety system, even if triggered a few times!) and use statistical process control to detect when averages shift (which could be a malicious actor you can find in your traces… or could be a decrease in product quality or change in market!)