The levers
1. Prompt
Change the Agent’s role or system prompt. Effective for:- Missing behaviors (“always cite sources”).
- Wrong tone or format.
- Handling of edge cases the current prompt doesn’t mention.
2. Tool description
Refine what tools promise. Effective when:- Agent picks the wrong tool.
- Agent picks the right tool with wrong arguments.
- Agent doesn’t call a tool it should.
3. Tool implementation
Change what a tool actually does or how it returns data. Effective when:- Tool response is misleading (returns success on partial data).
- Tool doesn’t include a field the Agent needs.
- Tool is too permissive (allows an operation that should be gated).
4. Retrieval preset
Change the retrieval config (weights, filters, top-K, boosts). Effective when:- Right chunks are indexed but not retrieved.
- Chunks retrieved but in wrong order.
- Too many low-relevance chunks flooding context.
5. Data source
Add, tag, supersede, or restructure knowledge. Effective when:- The answer isn’t in the knowledge at all (add).
- The answer is there but outdated (supersede).
- The answer is there but wrongly tagged (retag).
6. Memory rules
Add a procedural rule. Effective when:- The Agent needs a standing behavior (“always X before Y”).
- A specific correction should apply to all future runs.
7. Causal graph
Add/adjust an edge or variable. Effective when:- Verification is misfiring (graph is wrong).
- Verification isn’t catching real errors (graph is missing edges).
8. Routing
Add a Router to send different intents to different Agents. Effective when:- A single Agent tries to do too many things and does none well.
- Cost profile differs sharply by intent (route cheap intents to cheap model).
9. Guardrail / approval
Add a guardrail or approval gate for a specific action. Effective when:- The Agent is making decisions that should have human review.
- Certain outputs need to be blocked outright.
10. Model swap
Change the model used by an Agent (or use a fallback). Effective when:- Consistent failures indicate the model can’t handle the domain.
- Cost/quality tradeoffs point to a different model on the Pareto frontier.
Nora’s lever choice
For each root cause category, Nora prefers certain levers:- Retrieval issue → retrieval preset > data source > prompt.
- Prompt issue → prompt > memory rule > tool description.
- Tool issue → tool description > tool implementation > prompt.
- Data issue → data source (add/tag/supersede) > nothing else fixes it.
- Memory issue → memory rule > scope config > new memory space.
- Grounding issue → causal graph > data source.
- Model issue → model swap > prompt tightening.