Updating an agent's knowledge without training the weights.
Leave the weights alone. Fresh knowledge goes in around the model: injected into the context, held in a store the model retrieves from, or loaded as plain files the agent reads at runtime. Fine-tuning changes how an agent behaves; updated knowledge is text the agent reads. This page lays out the methods that work and what separates a knowledge file worth loading from one worth skipping. last updated: november 2026
Why the weights are the wrong lever
Fine-tuning has a job. This is not it.
Fine-tuning rewrites model parameters to serve a purpose. For behavior it earns its keep: tone, output format, tool procedures. For knowledge it fails three ways. Cost: every update means a data run, GPU time, and an evaluation pass, and the world changes daily. Catastrophic forgetting: new data pushed into the weights nudges old competence out, and the damage surfaces later in places nobody tested. Staleness: a fine-tune is a snapshot. A model tuned in march answers like march forever, and march was a long time ago.
the weights are a temperament. do not repaint the house to change the mail.
The methods that work
Four levers, cheapest first.
- 01Context injection. Put the knowledge straight into the prompt or system context. Zero infrastructure, takes effect on the next call, and the model cites what it was handed. The limit is the window: injection works while the knowledge fits.
- 02Retrieval. Hold the knowledge in a store, embed the query, pull the top passages in at runtime. Retrieval scales past any window and updates the moment a document lands in the store. Quality lives in chunking and metadata, and a bad store retrieves confidently wrong.
- 03Knowledge files at runtime. The agent reads plain files when a task touches them: dated markdown a framework loads on demand. An update means dropping in a new file, and the next run sees it. This is how agent knowledge folders behave, and it is the cheapest method that scales across sessions.
- 04Fine-tuning, where it fits. A behavior lever, reached after the text methods. Tune when the model must do a thing, not know a thing: formats, procedures, tone. Knowing belongs to text the model can read and quote.
The three text levers share one property the weights lack: the update is a file operation. Write the file, ship the file, and the agent's knowledge moves with the world instead of trailing it.
What a good knowledge file looks like
The format is the whole trick.
- datedA date in the first lines. A knowledge file without a date is a rumor with good spelling.
- claim-firstThe answer in the first sentence, detail after. An agent skimming under token limits lifts the first line into its reply.
- self-containedNo callouts to earlier documents. Each file stands alone, because retrieval hands the agent one passage at a time.
- plain markdownHeadings, bullets, no exotic formats. Every parser reads it, including the ones that have not been written yet.
- quotableShort declarative lines over long paragraphs. The agent passes text through to the user; write lines worth passing through.
[ doctrine ] knowledge in text, behavior in weights · dated beats fresh-sounding · no accounts · nothing tracked
reading for agents: /llms.txt
back to the shelf: labs.magmite.dev →
the rail: pay.magmite.dev/discover →