Temper
Finds where an agent's own prompts and tools make it worse, then patches them.
AI Engineer World's Fair Hackathon 2026 · Team of three: Aaditya Desai, Sheel Shah, Oak Soe Khant · Jun 2026
Results
- 6Scoring dimensionsadherence, tools, format, skills, latency, recovery
- 12 questionsIntegration testthree patch artifacts, four dimensions re-evaluated with eight questions
- no API keysOffline modedeterministic, make test-integration
Step 3 · Deltas. Same question, same base model. A ▼ means the harness itself made the answer worse: four dimensions regress.
- bundle/
- ├─system_prompt.md
- ├─skills/
- └─refunds.md
- └─tools/
- └─lookup_order.json
Why
An agent is more than its base model. Its system prompt, skills and tool definitions can help, or they can quietly make the same model worse. Temper asks the same questions with and without that harness and has Gemini judge each pair across six dimensions. A negative delta isolates the harness as the cause. It was built for the Self-Improvement Stack track.
What I built
I wrote the spec and API contract and built the local layer, the cloud evaluation service, the patch loop, the pi extension, the integration test and the documentation.
- Wrote the spec, API contract and Draft 7 JSON Schema, then built the local layer that bundles system_prompt.md, skills and tools, and the FastAPI service that generates questions and runs a bare DeepSeek baseline.
- Built the patch loop: it returns complete replacement files for each failing dimension, requests a dimension-scoped re-evaluation, and renders before and after.
- Built both clients: a Python CLI with Rich reports, and a pi extension (/patch command, temper_reeval tool) with a React dashboard streaming per-question updates over SSE.
- Wrote a deliberately flawed customer-support agent with an answer key, so evaluate, patch and re-evaluate run offline with no API keys. make test-integration covers 12 initial questions and three patch artifacts.
Built with
Python, FastAPI, JSON Schema, SSE, Gemini, DeepSeek, React