Skip to content

Collections.

Papers, articles and stacks, each read section by section. Under every section are the problems that make you build what it describes.

collections
21
problems
94
projects
11

Papers 9

Read the paper, then build each part of it.

  1. Paper · 20220 of 9ReActYao et al. · arXiv 2210.03629Interleave a thought, an action and the observation it returns, and let each one decide the next.Read the paper (opens in a new tab)
  2. Paper · 20220 of 6Self-ConsistencyWang et al. · arXiv 2203.11171Sample several reasoning paths and keep the answer most of them reach.Read the paper (opens in a new tab)
  3. Paper · 20230 of 6Lost in the MiddleLiu et al. · arXiv 2307.03172Models use what is at the start and the end of a long context best, and miss what is in the middle.Read the paper (opens in a new tab)
  4. Paper · 20230 of 6FrugalGPTChen, Zaharia and Zou · arXiv 2305.05176Most queries do not need the biggest model. Spend on the ones that do.Read the paper (opens in a new tab)
  5. Paper · 20200 of 7Retrieval-Augmented GenerationLewis et al. · arXiv 2005.11401Give a generator a retriever over a document index, and let it condition on what comes back.Read the paper (opens in a new tab)
  6. Paper · 20230 of 6Self-RAGAsai et al. · arXiv 2310.11511Retrieve only when it helps, and check that each part of the answer is backed by what was retrieved.Read the paper (opens in a new tab)
  7. Paper · 20230 of 5Indirect Prompt InjectionGreshake et al. · arXiv 2302.12173Text an application retrieves can carry instructions, and the model may follow them.Read the paper (opens in a new tab)
  8. Paper · 20230 of 7MemGPTPacker et al. · arXiv 2310.08560Treat the context window like main memory, and page what does not fit out to storage the agent manages itself.Read the paper (opens in a new tab)
  9. Paper · 20230 of 6LLM-as-a-JudgeZheng et al. · arXiv 2306.05685A strong model can grade answers about as well as people agree with each other.Read the paper (opens in a new tab)

Articles 7

Essays on building agents, read the same way.

  1. Article · 20240 of 16Building effective agentsAnthropicStart with the simplest thing that works. Most problems need a workflow, not an agent.Read the article (opens in a new tab)
  2. Article · 20240 of 9Contextual RetrievalAnthropicA chunk loses its context when it is cut out. Put the context back before you index, and search with BM25 as well as embeddings.Read the article (opens in a new tab)
  3. Article · 20250 of 10Effective context engineeringAnthropicContext is a finite budget. Find the smallest set of high-signal tokens that gets the outcome.Read the article (opens in a new tab)
  4. Article · 20250 of 8Writing effective tools for agentsAnthropicA tool is a contract between deterministic code and a non-deterministic agent. Design it for the agent.Read the article (opens in a new tab)
  5. Article · 20250 of 9A multi-agent research systemAnthropicA lead agent plans, runs subagents that search in parallel, and condenses what they find.Read the article (opens in a new tab)
  6. Article · 20250 of 6The lethal trifectaSimon WillisonAn agent with private data, untrusted content and a way to send data out can be made to leak. Take one of the three away.Read the post (opens in a new tab)
  7. Article · 20250 of 4RalphGeoffrey HuntleyRun the same prompt in a loop until the work is done, and when it goes wrong, fix the prompt.Read the post (opens in a new tab)

Stacks 5

Our own: one system, in the order data flows through it.

  1. Stack0 of 42All the RAGs35 problems · 7 projectsEvery way to build retrieval-augmented generation, one method a section: from the plain pipeline through HyDE, RAG-Fusion, CRAG, RAPTOR and GraphRAG, to the projects that build whole systems.22 sections
  2. Stack0 of 12RAG, from chunk to citation10 problems · 2 projectsEvery stage of a RAG system in the order data flows through it, ending in an answer that cites its sources.8 sections
  3. Stack0 of 7Hybrid search6 problems · 1 projectKeyword search and vector search fail on different queries. Run both, fuse them, rerank.7 sections
  4. Stack0 of 7When RAG goes wrong7 problemsThe ways a working RAG system still gives a bad answer, and the fix for each.5 sections
  5. Stack0 of 5MCP, from the wire up5 problemsThe Model Context Protocol one message at a time: the handshake, a tool call, the client, and when not to trust a server.5 sections