06

How the product learns

What should the product remember to help with the next review?

06How the product learns

Introduction

The same page appears on the list for a second week. Last time, the editor deferred the update until the campaign ended.

She now needs to decide whether that reason still holds. To help, the product must find the previous decision, show when it was made, and let her change it.

What belongs in context

Context is the information the agent has for the current task. It can include the goal, data for the period, customer rules, and relevant previous decisions. Context engineering is the work of selecting and maintaining that information for the job. Anthropic Engineering, 2025

One record that changes the review

For the deferred page, save the decision, the reason, and the date to revisit it. When the page comes up again, supply the current record and show its source. After the campaign ends, the editor can close or correct the record. Keep information you have permission to use for a concrete purpose.

Exercise

  1. Pick a recurring decision in your project. Note what previous information could change it.
  2. Record a sample with a date, the reason for the decision, and the outcome that followed. Specify when the record expires and who can correct it.
  3. Compare another run with and without the record. Check whether the difference helps with the customer’s actual decision.

Questions to consider

  • What would be useful to learn from your first customer?
  • When should a previous decision drop out of context?
  • What observation would show that history improves the next result?

Once the review delivers recurring value, you have to decide what to charge for. Chapter 07 looks at three ways to do it.

Sources and further reading