> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/9.-improve-tune-the-system.md).

# 9. Improve — tune the system

- [Improve (workflow)](https://docs.layerlens.ai/9.-improve-tune-the-system/workflow.md): Stage 5 — Improve. Tune prompts, judges, and configurations. Re-run.
- [Premium surfaces](https://docs.layerlens.ai/9.-improve-tune-the-system/premium-surfaces.md)
- [Judge Optimization (GEPA)](https://docs.layerlens.ai/9.-improve-tune-the-system/judge-optimization.md): GEPA judge optimization — automatically tune your judge rubric to match labeled ground truth.
- [Tutorials](https://docs.layerlens.ai/9.-improve-tune-the-system/tutorials.md)
- [Tutorial 5: Optimize a judge with GEPA](https://docs.layerlens.ai/9.-improve-tune-the-system/05-gepa-optimize.md): Tutorial 5 — Optimize a judge with GEPA so its verdicts match your team's labels.
- [Cookbook](https://docs.layerlens.ai/9.-improve-tune-the-system/cookbook.md)
- [GEPA basics](https://docs.layerlens.ai/9.-improve-tune-the-system/gepa-basics.md): Recipe — judge optimization basics. Pointer to the SDK judge\_optimization sample.
- [GEPA holdout](https://docs.layerlens.ai/9.-improve-tune-the-system/gepa-holdout.md): Recipe — held-out validation when running judge optimization, to detect over-fit.
- [GEPA iterative labeling](https://docs.layerlens.ai/9.-improve-tune-the-system/gepa-iterative-labeling.md): Recipe — iteratively label examples and re-optimize judges as your bar evolves.
- [Daily smoke eval](https://docs.layerlens.ai/9.-improve-tune-the-system/daily-smoke-eval.md): Recipe — daily smoke evaluation against a representative trace set, scheduled by your own cron.
- [Quarterly rebench](https://docs.layerlens.ai/9.-improve-tune-the-system/quarterly-rebench.md): Recipe — quarterly model re-evaluation as the frontier moves.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.layerlens.ai/9.-improve-tune-the-system.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
