This example shows how to configure different feedback templates per agent so the Console can render thumbs, numeric sliders, and categorical options.
thumbs- boolean satisfaction signal (thumbs up/down)rating- continuous 1-5 rating sliderissues- categorical issue type selection
- Install dependencies:
pnpm install- Copy the env file and set your keys:
cp .env.example .envUpdate OPENAI_API_KEY, VOLTAGENT_PUBLIC_KEY, and VOLTAGENT_SECRET_KEY in .env.
- Start the server:
pnpm devThe server runs on http://localhost:3141 by default.
Send a message to any agent:
curl -X POST http://localhost:3141/agents/thumbs/chat \
-H "Content-Type: application/json" \
-d '{"input":"Give me a quick summary of VoltAgent."}'curl -X POST http://localhost:3141/agents/rating/chat \
-H "Content-Type: application/json" \
-d '{"input":"Explain vector search in two sentences."}'curl -X POST http://localhost:3141/agents/issues/chat \
-H "Content-Type: application/json" \
-d '{"input":"Draft a short welcome email."}'Open the Console Observability Playground to test the feedback UI on each agent response.