Skip to content

Agent that can capture feedback from UI - #91

Merged
DidierRLopes merged 3 commits into
mainfrom
feat/agent-feedback
Apr 18, 2026
Merged

Agent that can capture feedback from UI#91
DidierRLopes merged 3 commits into
mainfrom
feat/agent-feedback

Conversation

@DidierRLopes

@DidierRLopes DidierRLopes commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new example agent, 42-vanilla-agent-feedback, that shows how an OpenBB Workspace agent can receive thumbs up/down feedback from the UI and persist it locally.

What changed

  • adds a FastAPI-based example agent with the standard /v1/query endpoint
  • adds a /v1/feedback endpoint to receive Workspace feedback payloads
  • declares "feedback": true in agents.json so Workspace routes feedback to the agent instead of analytics
  • persists feedback entries to a local feedback.json file with a timestamp
  • adds tests covering the agent manifest, feedback persistence, and query endpoint
  • adds a README with payload format, endpoints, and local run instructions

Why

This provides a minimal reference implementation for agents that need to capture end-user feedback directly from the Workspace UI.

Notes

  • feedback is stored locally in feedback.json
  • the PR includes sample feedback data to show the stored payload shape

@DidierRLopes
DidierRLopes requested a review from piiq April 13, 2026 02:24
The poetry.lock file was regenerated with updated tool version and
dependency changes, and a blank line was added to the README for better
formatting.
@DidierRLopes
DidierRLopes merged commit 62f09a5 into main Apr 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants