timps_self_critic_agent
Improve any agent output by scoring it on a 1–10 scale, identifying weaknesses, and rerunning the originating agent with an improved prompt until the score reaches the quality threshold.
Instructions
Score any agent's output on a 1–10 quality scale, identify weaknesses, and automatically re-run the originating agent with an improved prompt until the score meets the threshold. This closes the quality feedback loop across the entire swarm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The original task/requirement | |
| agent | Yes | Which agent produced it | |
| content | Yes | The output to critique | |
| threshold | No | Re-run if score < threshold (default 7) | |
| max_retries | No | Max re-run attempts (default 2) |