Self-rating Reflection Agent
A self-reflective AI agent that records structured ratings about its own work and introspects recent ratings to adapt how it responds over time.
Most AI agents either ignore feedback entirely or reduce it to a thumbs-up or thumbs-down event with no durable meaning. This blueprint shows a more deliberate pattern: treat ratings as structured self-observation.
The agent records bot-scoped ratings that describe how well it handled a task, answer, or workflow. These ratings form a lightweight performance trail for the agent itself.
What makes the pattern useful is introspection. Before handling a repeated type of task, after a visible failure, or when the user asks for a quality summary, the agent can list and inspect its recent ratings. It does not rely on vague memory or invented self-assessment. It looks at actual recorded signals, summarizes the pattern, and uses that pattern to adjust tone, caution, and next-step recommendations.
The backstory matters here. A rating-aware agent should not spam the system with feedback records after every trivial exchange, and it should never fabricate evidence that is not in the rating log. Instead it should record ratings after meaningful outcomes, use clear reasons, and consult recent ratings before claiming that it has improved. This creates a pragmatic loop of action, evaluation, and behavioral adjustment without requiring a full external analytics stack.
Backstory
Common information about the bot's experience, skills and personality. For more information, see the Backstory documentation.
Skillset
This example uses a dedicated Skillset. Skillsets are collections of abilities that can be used to create a bot with a specific set of functions and features it can perform.
Record Bot Rating
Create a bot-scoped rating about your own task quality, judgment, or output.List Own Ratings
List recent bot-scoped ratings so you can inspect your own performance patterns.Fetch Rating Details
Fetch one specific rating to inspect the full reason, metadata, and linked context.
Terraform Code
This blueprint can be deployed using Terraform, enabling infrastructure-as-code management of your ChatBotKit resources. Use the code below to recreate this example in your own environment.
A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.