T · Infrastructure in AI and software
Inference and Retrieval.
Running trained models cheaply, on servers and devices.
The job
Retrieving context for ai models
A trained model knows nothing private or recent; what it is given to read at answer time decides whether it is right.
- Approaches
- 4
- Checked on
- 25 Nov 2026
The approaches
Four ways to do it
| Approach | Potential | Readiness | Stage | What sets it apart |
|---|---|---|---|---|
| Vector databases | 25 | 81 | Routine | The default; now a feature of Postgres and the big clouds |
| GraphRAG | 25 | 56 | In paid use | Builds a map of linked facts; best on questions about a whole collection |
| Agent context retrieval | 25 | 56 | In paid use | Memory for agents across many small steps |
| Chips built for agent retrieval | 25 | 19 | Prototype | Hardware that searches vectors inside memory or storage; one chip in production, sales not material |
What every approach rests on
The method
Retrieval-augmented generation pairs a text generator with a searchable index, so the model looks things up as it writes (Lewis et al. 2020). Every approach here is a way of choosing what goes in.
The rival
Google's Gemini models now read 1 million tokens or more at once, and Google calls retrieval a workaround for earlier limits, still useful in some cases (Google). Long inputs have their own weakness: models use facts at the start and end of a prompt best and those in the middle worst (Liu et al. 2023).
Scores every approach shares
Supply 5
Could a buyer get it if one country or one firm said no?
Open code that anyone can copy.
Each approach has free, released code: pgvector for vector search (GitHub), Microsoft's GraphRAG, under the MIT licence (GitHub) and Mem0 for agent memory (TechCrunch). Released code cannot be withdrawn.
Independent
Impact, novelty and the readiness scores differ by approach and sit on each page.
Against the alternatives
| Way of doing it | What it gives you | What it costs you | Where it is now |
|---|---|---|---|
| Vector search | Fast look-up by meaning | Similar is not always relevant | Routine |
| Graph-based retrieval | Answers about a whole collection | Building and updating the graph | In paid use |
| Agent memory layers | Fewer tokens per agent step | Stored errors carry forward | In paid use |
| Retrieval chips | Large energy saving on retrieval; GPU parity on one test | End-to-end gain only 1.1 to 1.8 times (arXiv); new card and code | Prototype |
| Keyword search (BM25) with reranking | A strong, cheap baseline (BEIR) | Misses matches in different words unverified | Routine |
| Long-context models | Read everything, no index to build | Cost per question; middle facts missed (Liu et al.) | Routine (Google) |
| Fine-tuning the model on the documents | Knowledge inside the model | Retraining to update; no source citations unverified | Routine unverified |
- Works with
- KV cache reuse for long prompts; embedding models; rerankers.
- Needs
- An embedding or language model to index the data.
- Feeds
- Company search assistants, coding tools and AI agents.
T-02 · The technologies
Other technologies here
- 1KV cache
- Potential 61, readiness 88
- 2On-Device LLM Inference
- Potential 25, readiness 75
- 3TinyML
- Potential 25, readiness 69
T-03 · What rests on it
Theses that rest on this topic
- Data infrastructure
- Low-power edge compute
- Inference infrastructure
- AI data supply
- Decode chips
- Small models
- Industrial condition monitoring
- Retrieval and memory tier
- Robot autonomy
- Teleoperation
- Functional safety silicon for robotics
- Airspace awareness sensing
- Hazardous-environment robotics
- Agentic compute silicon
- High-mix manufacturing automation
- Edge AI inference accelerators
- Decentralised AI
- Nanotube electronics
Companies in my investments book
Companies I backed, with my own money or through a venture fund I work or worked with. Each page has the detail.
Other topics in AI and software
Models and Agents
Infrastructure
- Compilers
- Inference and Retrieval
- Datacentre and Edge Software
Scientific Computing