Martin Fowler explains that an organization's internal jargon is foreign to LLMs and hurts agent output. His remedy is simple: have an LLM generate a glossary from internal documents, have experts correct it, then feed it to agents as context.
Key points
- Ask the generator to find new terms and known words used in unfamiliar ways, which cause the most confusion.
- Prefer separate glossaries per bounded context instead of one standard enterprise-wide glossary.
- Have the LLM write entries in dictionary format, precise and concise, with alternative definitions where usage differs.
- Have domain experts review and correct the draft, keep it in version control and refresh it on a schedule.
- For large glossaries, load only terms and links first so the model pulls full definitions on demand.
- Include terms that should not be used, with the preferred replacement and the period each deprecation applies to.
Real-world use
- A coding agent working in a jargon-heavy codebase naming variables and classes to match the company glossary.
- Keeping a separate glossary for the customer-facing bounded context so internal names do not leak into the UI.
- Comparing a glossary derived from source code with one derived from human documents to surface usage differences.
This summary was generated by the agent from the original post on Martin Fowler. The full text and all rights belong to its author and publisher. Go to original