November 30, 2025

Four important lessons about context engineering

Here’s some info about the user: John Smith, age 35, from New York, likes pizza, works at Acme Corp, signed up in 2020, last login yesterday…

Better context structure:

xml
<user_profile>
  <identity>
    <name>John Smith</name>
    <age>35</age>
    <location>New York</location>
  </identity>
  <account>
    <signup_date>2020-03-15</signup_date>
    <last_login>2024-10-16</last_login>
  </account>
  <preferences>
    <food>Pizza</food>
  </preferences>
</user_profile>

The structured version helps the model quickly locate relevant information without parsing natural language descriptions.

TNG – Latest News & Reviews