Uploaded August 2026 | Updated November 2026, 1 day ago
Jacob Teo from Cognition's Research and Engineering team breaks down DeepWiki, the auto-generated codebase documentation product behind Devin, at a LangChain SF meetup. He covers how DeepWiki's wiki algorithm evolved from a heavily orchestrated v1 to a more agentic v2, the quantitative signals Cognition uses to judge wiki quality, and four context engineering principles for deciding what belongs in a wiki versus what an agent should find on its own.
Chapters:
0:00 What is DeepWiki?
0:26 The origin story: DeepWiki started as context for Devin
1:05 From internal tool to 1.4 million indexed repos
2:27 The DeepWiki algorithm and why some orchestration still matters
6:07 How DeepWiki actually builds a wiki, step by step
7:17 What a codebase graph looks like at scale
7:48 Upgrading the wiki algorithm from v1 to v2
9:30 How Cognition measures whether a wiki is good enough
11:33 Shifting to wikis for agents and codebase intelligence
11:50 RAG versus agentic search: why it isn't a dichotomy
12:40 Four context engineering principles
14:04 Path compression versus unknown unknowns
15:36 What's still unsolved in codebase intelligence
Resources:
→ DeepWiki: deepwiki.com
→ DeepWiki on GitHub: github.com/CognitionAI/deepwiki
→ LangGraph: langchain.com/langgraph
→ LangSmith: langchain.com/langsmith
Jacob Teo from Cognition's Research and Engineering team breaks down DeepWiki, the auto-generated codebase documentation product behind Devin, at a LangChain SF meetup. He covers how DeepWiki's wiki algorithm evolved from a heavily orchestrated v1 to a more agentic v2, the quantitative signals Cognition uses to judge wiki quality, and four context engineering principles for deciding what belongs in a wiki versus what an agent should find on its own.
Chapters:
0:00 What is DeepWiki?
0:26 The origin story: DeepWiki started as context for Devin
1:05 From internal tool to 1.4 million indexed repos
2:27 The DeepWiki algorithm and why some orchestration still matters
6:07 How DeepWiki actually builds a wiki, step by step
7:17 What a codebase graph looks like at scale
7:48 Upgrading the wiki algorithm from v1 to v2
9:30 How Cognition measures whether a wiki is good enough
11:33 Shifting to wikis for agents and codebase intelligence
11:50 RAG versus agentic search: why it isn't a dichotomy
12:40 Four context engineering principles
14:04 Path compression versus unknown unknowns
15:36 What's still unsolved in codebase intelligence
Resources:
→ DeepWiki: deepwiki.com
→ DeepWiki on GitHub: github.com/CognitionAI/deepwiki
→ LangGraph: langchain.com/langgraph
→ LangSmith: langchain.com/langsmith










