How agents work
3
Context and tokens
Teaching Gemma to Code
Why this handbook
How agents work
1
The agent loop
2
Tools
3
Context and tokens
4
Prompts and skills
Measuring
5
Evaluation
6
Error analysis
Making it better
7
First failing test
8
Running Gemma locally
9
Fine-tuning with LoRA
Looking back
10
Results
Appendices
Experiment log
Glossary
Table of contents
3.1
What I want to understand
3.2
What I tried
3.3
What I learned
3.4
Sources
Edit this page
Report an issue
How agents work
3
Context and tokens
3
Context and tokens
Note
Status: not started
3.1
What I want to understand
What fits in Gemma 4’s context window, and what should stay out?
Why do agents lose track halfway through a task?
3.2
What I tried
3.3
What I learned
3.4
Sources
2
Tools
4
Prompts and skills