Agent with custom tools, evaluation and reflection
Agent built around custom tools and a thought-action-observation prompt, then evaluated and hardened.
What it does
Custom tools and an agent prompt implement the thought, action, observation and response loop, alongside CrewAI and LangGraph versions of multi-step workflows. Agents are evaluated on tool selection, response quality and their backstories, task definitions and rules, and plan-and-execute and reflection patterns are added to handle failures.
What was built
- 01
Custom tools are written and described to the model for selection.
- 02
Agent prompt drives a thought, action, observation and response loop.
- 03
Evaluation checks tool selection, answer quality and agent backstories, tasks and rules.
- 04
Plan-and-execute and reflection agents are built to address failure cases.
The pipeline, layer by layer
Four layers, one pipeline.
L1Prompt
- Agent prompt
L2Loop
- Thought-action-observation loop
L3Tools
- Custom tools
L4Quality
- Agent evaluation
- Plan-and-execute
- Reflection