Bring your own context
A visitor, or the AI agent working for them, shares a description of who they are, and this site answers with the few pieces that matter to that person.
Idea · November 14, 2026 · Shipped
A home page ordered by date is the right order for nobody in particular. More and more visitors arrive with an AI agent that already holds a description of them, which is the best search query there is. I want this site to use it without collecting it.
So the site sends itself to the visitor, not the other way round. For you ranks every piece against a description you paste, inside your browser; nothing is uploaded. For agents, /compendium.json lists every piece and /embeddings.json holds a vector for each, made with all-MiniLM-L6-v2, so matching happens on the visitor’s side.
So far: tested on twenty reader profiles across 71 pages, meaning found all 16 relevant targets in the top three (14/16 for words) and cut false matches on unrelated visitors from 4/4 to 1/4. Vectors refresh automatically on push.
Next: add a floor to word matching, re-test 0.25 on held-out bios, and surface transparent reader-specific calls to action.
Agent context: sources, method and working notes
Original note, as I wrote it:
My blog is becoming a compendium. It’s just the beginning. In the future, visitors to my website should have the option to share their agent context or personal embedding, so my website may surface to them that which is most interesting or relevant. Like matchmaking. Revealing latent preferences. Giving a customised call to action. Or even an offer.
Said on November 14, 2026.
The problem it answers
This site has essays, films, lighting studies and several dozen research notes. A stranger arriving from a link sees one page and a home page ordered by date. Date order is the right order for nobody in particular. The person who would care most about the note on stopping rules for rare-event evaluations is not the person who came for a lighthouse drawn stroke by stroke.
Meanwhile more and more visitors arrive with an AI agent that already holds a description of them: what they work on, what they have read, what they are trying to decide. That description is the best possible search query, and today it is thrown away at the door.
Two ways to do it
The visitor sends their context to the site. The site compares it with its pieces and rearranges itself. This is the obvious design and the dangerous one. A description of a person detailed enough to be useful is detailed enough to be sensitive, and the site owner ends up holding it.
The site sends itself to the visitor. The site publishes a compact description of everything it holds. The visitor’s agent, or the visitor’s own browser, does the comparison locally. The site learns nothing unless the visitor chooses to say something afterwards.
The site takes the second route, both ways round:
- For you is for a person. Paste a bio or an agent’s memory file; the ranking runs in the page. Nothing is uploaded.
/compendium.jsonand/embeddings.jsonare for an agent. The first lists every piece with a one-line summary and its most characteristic words. The second holds a vector for every piece. The agent can match on its own side.
Version 1: matching by meaning
November 16, 2026. Built by Claude Fable 5.2. I have not reviewed it yet.
Version 0 counted shared words, so “painting” could not find a piece about “art”. Version 1 adds a box to tick on For you. With it ticked, the browser downloads a small language model (all-MiniLM-L6-v2, 23 MB) and turns each pasted sentence into 384 numbers. The same model has already done that for every piece on the site. Pieces whose numbers point the same way as one of the visitor’s sentences are shown, each with the sentence that produced it.
Six made-up descriptions were tried while building it:
| The visitor wrote | By meaning, the first result | Distinctive words in common |
|---|---|---|
| ”My grandmother died last year and I have been sorting her letters and photographs.” | The idea of celebrating an inbox’s birthday, which is about inheriting a mailbox | none |
| ”I am a nurse on a tropical disease ward. I worry about dengue outbreaks in my city.” | The Wolbachia simulation | dengue |
| ”I play piano, mostly late romantic concertos.” | Emission Time, a film made from a piano concerto | piano |
| ”I paint watercolours and teach art history to teenagers.” | Keeper’s Light, a lighthouse drawn stroke by stroke | none |
| ”I sell insurance and like fishing on weekends.” | Nothing, which is the right answer | none |
| A sentence on interpretability research and one on portrait lighting | Six research notes on probes, then the relighting study | several |
What that does and does not show:
- It finds matches that share no words. That was the point of the step.
- Six examples chosen by the builder are not a measurement. Nobody has yet written down what the right answers are and counted how often each method finds them. That is the next step.
- The privacy claim changed a little. The pasted text still stays in the browser. But the model comes from huggingface.co and the code that runs it from cdn.jsdelivr.net, so with the box ticked those two companies see that someone fetched the files. Without the box the page behaves as before and contacts nobody else. The page says this next to the box.
- The vectors are made by hand. A script computes them and the result is stored with the site. When a post is edited its vector is dropped until the script is run again, and that piece can then only be found by words.
- Not tried on a phone, where a 23 MB download and the model’s memory use may be too much.
What “matchmaking” would add later
- Meaning, not words. Done in version 1, above.
- Latent preferences. Show the match that the visitor would not have searched for: the piece that is close to them in a way their own description does not state. This needs embeddings; word overlap can only return what was asked for.
- A different call to action per reader. A researcher who replicates papers gets “here is a result you could check”; a filmmaker gets “here is the renderer”. Honest version: the page says that the suggestion was chosen for them and why.
- An offer. If the visitor opts in to telling the site what matched, I can reply to a person and not a page view: an introduction, a collaboration, a draft to review.
Open questions
- There is no standard for this. Agents do not yet have an agreed way to present “my person’s context” to a website, or to ask a site for its index.
llms.txtdescribes a site to a model; nothing describes a reader to a site. What is the smallest convention that would work? - Whose embedding space? A “personal embedding” is only comparable to site embeddings made by the same model. Either the site publishes text and lets the visitor’s agent embed it, or both sides agree on a model. Version 1 publishes vectors from one named model, which helps only an agent that can run that model.
- Where is the line between relevance and manipulation? A call to action tuned to one reader is persuasion aimed at that reader. The rule proposed here: every personalised element says that it is personalised and shows the reason.
- Does anyone use it? Version 0 has no analytics by design, so the only evidence will be people saying so.
Work log
- November 18, 2026: Scored both methods against twenty frozen reader descriptions (16 positive, 4 unrelated negatives) across 71 pieces, and added a GitHub Action so embeddings.json refreshes automatically when posts change. Meaning hit 16/16 in the top three (vs 14/16 for words) and cut false positives on unrelated readers from 4/4 to 1/4.
- November 16, 2026: For you can now match by meaning. Ticking a box loads a small language model into the browser, which compares each sentence the visitor pastes with a vector stored for every piece. The pasted text still is not uploaded. Tried on six made-up descriptions only, so how much better it is than word matching is not measured.
- November 14, 2026: Written down. Shipped version 0, which matches pasted text against every piece by shared words, inside the browser. Also published the site as one machine-readable file so a visitor's own agent can do the matching on its side.