adk-web
adk-web copied to clipboard
It would be helpful to have an optional, built-in feedback control (thumbs-up / thumbs-down)
'adk web' provides a great development UI and evaluation traces for agent responses. It would be helpful to have an optional, built-in feedback control (thumbs-up / thumbs-down) shown after agent replies so end users and testers can submit quick satisfaction signals.
Proposal
- Add an optional toggle in the adk-web configuration to show a feedback control (👍 / 👎) after each agent message.
- When feedback is submitted, record an event in the session trace (so evaluators can filter messages by feedback) and emit an HTTP call to a configurable endpoint so deployments can persist feedback.
- For 👎, show an optional short text box for a reason.
Benefits
- Faster human feedback loop for improving agents
- Easier to flag low-quality replies in evaluation workflows
Implementation notes
- UI should be opt-in via config (so devs can disable for certain runs).
- Add server endpoint
/adk/feedback(or plumb through existing session event API) that writes afeedbackevent into session trace. - Minimal design: two icons + thank-you confirmation.
For richer human feedback beyond thumbs-up/down, onUI lets users annotate specific elements on any webpage via a browser extension, and AI agents can query those annotations through a local MCP server. Could complement a simple satisfaction signal with spatially-grounded, element-level feedback.