I Stopped Using Grep and My Agent Got 10x Faster ![rw-book-cover](https://img.youtube.com/vi/gPeWb4_DMok/maxresdefault.jpg) ๐Ÿ”— **Source:** [I Stopped Using Grep and My Agent Got 10x Faster](https://www.youtube.com/watch?v=gPeWb4_DMok) > [!note]+ Document Notes > tags: #ai-coding-agents #vector-databases #mcp-servers #code-indexing #claude-context #zilliz > author: AI Jason > source: YouTube > reference: https://www.youtube.com/watch?v=gPeWb4_DMok > date created: 2024-12-19 10:30 > > # ๐Ÿท๏ธ Title: I Stopped Using Grep and My Agent Got 10x Faster > <!-- deep-read:sections start --> ## ๐Ÿงฐ Action Inbox - [H1] Test Claude Context on average-size codebases (20-30k lines) โ€” better cost/benefit ratio than large repos #ai-coding-agents - [H2] Set up Zilliz Cloud serverless cluster for production use โ€” avoid free tier timeout issues #vector-databases - [H3] Compare MCP server performance against traditional grep/glob searches โ€” measure tokens and response time #mcp-servers ## ๐Ÿงญ Table of Contents - [[#๐Ÿ“ Summary]] - [[#๐Ÿ“– Main Content]] - [[#๐Ÿ—’๏ธ Notes]] - [[#๐Ÿ“š References]] - [[#๐Ÿ—ฃ๏ธ Paraphrase]] - [[#๐Ÿ“ฐ Newsletter]] - [[#โœ… Action Items]] - [[#๐Ÿงช Hypotheses]] - [[#๐Ÿ“Š Methodology]] - [[#โ“ Questions]] - [[#๐Ÿ”ฎ Future Research]] - [[#๐Ÿ’ก Implications]] - [[#๐Ÿง  Learning Styles Assessment]] - [[#๐Ÿ“Š Accessibility Assessment]] - [[#๐ŸŒ DEIB Assessment]] - [[#โœ… Logical Validity]] - [[#๐Ÿ›ก๏ธ DARVO Analysis]] - [[#๐ŸŽฏ Conclusion]] ### ๐Ÿ”— References - [Claude Context MCP Server](https://github.com/zilliztech/claude-context) - [Zilliz Cloud Platform](https://cloud.zilliz.com/) ## ๐Ÿ“ Summary - Claude Context MCP plugin indexes entire codebases into vector databases, enabling AI agents to find relevant code faster than grep/glob searches - The system uses Tree-sitter parsing, Merkle DAG hashing, and hybrid search (semantic vectors + keyword matching) to achieve 40% context reduction - Testing on VS Code's 1.5M line codebase showed mixed results: better detail and accuracy but not always faster than traditional methods - Setup requires Zilliz Cloud account and OpenAI API for embeddings, with costs ranging from cents for small repos to ~$1 for massive codebases - Most effective for average-size codebases (20-30k lines) where indexing is quick and performance gains are clear ## ๐Ÿ“– Main Content Claude Context is an MCP (Model Context Protocol) server developed by Zilliz that transforms how AI coding agents search through codebases. Instead of relying on grep or glob pattern matching, it creates a searchable vector database of your entire codebase. The system employs three sophisticated techniques: Tree-sitter parsing to create semantic chunks of functions and classes across nine programming languages, Merkle DAG hashing for incremental indexing (only re-processing changed files), and hybrid search combining vector similarity with BM25 keyword matching. Testing revealed nuanced performance characteristics. On VS Code's massive 1.5 million line codebase, Claude Context provided significantly more detailed and contextual responses but wasn't consistently faster than traditional methods. For broad architectural questions, it excelled at providing structured, comprehensive overviews with specific file references and line numbers. The cost structure involves both Zilliz Cloud hosting (serverless plans recommended over free tier) and OpenAI embedding fees. A 23,000-line codebase cost about 1 cent to index, while VS Code's full repository required $1.06 in embedding costs. ## ๐Ÿ—’๏ธ Notes #### โฑ๏ธ [00:00](https://youtu.be/gPeWb4_DMok?t=0) โ€” [H1] Claude Context Overview - Key idea: MCP plugin indexes entire codebase into vector database for faster AI agent searches - Evidence: "uses 40% less context" and eliminates "guessing using grep or glob" #### โฑ๏ธ [01:15](https://youtu.be/gPeWb4_DMok?t=75) โ€” [H2] Technical Architecture - Key idea: Three-layer system with Tree-sitter parsing, Merkle DAG hashing, and hybrid search - Evidence: "supports nine languages including TypeScript, Python, Rust, and Go" #### โฑ๏ธ [02:30](https://youtu.be/gPeWb4_DMok?t=150) โ€” [H2] Hybrid Search Implementation - Key idea: Combines semantic vector search with BM25 keyword matching for better accuracy - Evidence: "results in an up to 40% context reduction, which is a lot for large code bases" #### โฑ๏ธ [03:45](https://youtu.be/gPeWb4_DMok?t=225) โ€” [H3] Setup Requirements - Key idea: Requires Zilliz Cloud account and OpenAI API key even when using Claude - Evidence: "I did try to use the free one first, but I kept on getting timeout issues" #### โฑ๏ธ [05:00](https://youtu.be/gPeWb4_DMok?t=300) โ€” [H2] Indexing Performance - Key idea: Initial indexing takes significant time for large codebases - Evidence: "after about 50 minutes, the indexing is complete" for VS Code's 1.5M lines #### โฑ๏ธ [06:30](https://youtu.be/gPeWb4_DMok?t=390) โ€” [H3] Cost Analysis - Key idea: Embedding costs scale with codebase size - Evidence: "23,000 lines of code has about 1,000 lines of entries" and "we've gone from 1 cent to $1.06" #### โฑ๏ธ [07:15](https://youtu.be/gPeWb4_DMok?t=435) โ€” [H2] Speed Comparison Test 1 - Key idea: Simple queries don't always favor Claude Context - Evidence: "using just regular GLM is a lot faster" at 14 seconds vs 19 seconds #### โฑ๏ธ [08:30](https://youtu.be/gPeWb4_DMok?t=510) โ€” [H2] Detailed Query Performance - Key idea: Claude Context excels at providing comprehensive code context and references - Evidence: "gives way more information showing the code and other files related to opening the editor" #### โฑ๏ธ [10:00](https://youtu.be/gPeWb4_DMok?t=600) โ€” [H1] Architectural Analysis Strength - Key idea: Provides structured, detailed architectural overviews with specific file references - Evidence: "giving the layered architecture and even some information about the Electron app and the processes" #### โฑ๏ธ [11:45](https://youtu.be/gPeWb4_DMok?t=705) โ€” [H2] Follow-up Query Excellence - Key idea: Excels at detailed follow-up questions with comprehensive file mapping - Evidence: "boot sequence and then phase one... app.ts line 185, and we could keep going on and on" #### โฑ๏ธ [13:00](https://youtu.be/gPeWb4_DMok?t=780) โ€” [H3] Traditional Method Limitations - Key idea: Non-MCP approaches use multiple sub-agents and more time for similar results - Evidence: "after about 5 minutes Open Code responds... but this isn't as much as what Claude Context provided" #### โฑ๏ธ [14:30](https://youtu.be/gPeWb4_DMok?t=870) โ€” [H1] Optimal Use Cases - Key idea: Most effective for average-size codebases rather than massive repositories - Evidence: "for average-size code bases, so 20 to 30,000 lines of code, the indexing time is really quick" #### โฑ๏ธ [15:45](https://youtu.be/gPeWb4_DMok?t=945) โ€” [H2] Practical Adoption Decision - Key idea: Worth adopting despite setup complexity for regular open-source code exploration - Evidence: "As someone who regularly goes through open-source code bases and asks questions, I think this is a tool I'm going to be using a lot more" ## ๐Ÿ“š References - [Zilliz Cloud](https://cloud.zilliz.com/) - [Milvus Vector Database](https://milvus.io/) - [Tree-sitter Parser](https://tree-sitter.github.io/) - [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) ## ๐Ÿ—ฃ๏ธ Paraphrase - Claude Context creates searchable vector databases of codebases, enabling AI agents to find relevant code through semantic understanding rather than text pattern matching - The system uses advanced parsing and hashing techniques to efficiently index code and only update changed files, combined with hybrid search for better accuracy - Performance testing shows Claude Context provides superior detail and context for complex queries but isn't universally faster, with sweet spot being medium-sized codebases ## ๐Ÿ“ฐ Newsletter **AI Coding Gets Smarter with Vector-Powered Code Search** Claude Context is revolutionizing how AI coding agents understand and navigate codebases. Instead of hoping grep finds the right files, this MCP server creates a searchable vector database of your entire project. **Key Benefits:** - 40% reduction in context usage through semantic search - Hybrid approach combining vectors with keyword matching - Incremental indexing that only processes changed files - Works with any MCP-compatible AI agent **Perfect For:** Teams working with medium-sized codebases (20-30k lines) who want their AI assistants to provide more contextual, accurate code suggestions and architectural insights. **Getting Started:** Requires Zilliz Cloud account and supports nine programming languages including TypeScript, Python, and Rust. Resources: [Claude Context GitHub](https://github.com/zilliztech/claude-context), [Zilliz Cloud](https://cloud.zilliz.com/), [MCP Documentation](https://modelcontextprotocol.io/) ## โœ… Action Items #### DevRel - Developer advocacy: Create demos showing Claude Context vs traditional grep performance on real projects - Education: Workshop on MCP server setup and vector database concepts for coding agents - Developer experience: Document optimal codebase sizes and cost expectations - Developer marketing: Case studies with popular open-source repositories - Community management: Gather feedback on embedding costs and indexing performance #### OSPO - Software Inventory: Evaluate Claude Context for internal code discovery and documentation - Developer Support: Training on vector-based code search vs traditional tooling - Community Engagement: Assess impact on open-source contribution workflows - Strategic Alignment: KPIs for AI-assisted code comprehension and developer productivity #### Community - Maintainers: Templates for setting up Claude Context on popular repository structures - Contributors: Onboarding guides using AI-assisted code exploration - Ecosystem: Cross-project coordination on MCP server adoption patterns #### WordPress - Core: Evaluate Claude Context for WordPress Core codebase navigation and contribution onboarding - Core Performance: Test vector search impact on identifying performance-critical code paths - Core Program Team: Assess MCP integration for cross-team code coordination - Documentation: Use Claude Context for generating contextual code examples in DevHub - Plugins: Security review assistance through better code context understanding - Meta: Evaluate for .org codebase exploration and contributor onboarding ## ๐Ÿงช Hypotheses - Vector-based code search provides superior context for architectural understanding compared to text-based search methods - MCP servers will become standard infrastructure for AI coding agents across development environments - Hybrid search approaches (semantic + keyword) outperform pure vector or pure text search for code discovery - Cost-effectiveness of vector code indexing improves significantly for repositories between 20k-100k lines ### ๐Ÿ“Š Methodology - Comparative study measuring response quality, token usage, and time-to-answer across different codebase sizes - A/B testing with developers using Claude Context vs traditional search methods for code comprehension tasks - Cost analysis tracking embedding expenses vs productivity gains across various project scales ### โ“ Questions - How does Claude Context performance scale with different programming languages and code complexity? - What's the optimal balance between local vector storage and cloud-based indexing for enterprise adoption? - How might vector-based code search evolve to include runtime behavior and test coverage information? ### ๐Ÿ”ฎ Future Research - Integration patterns for MCP servers in enterprise development environments - Hybrid approaches combining static analysis with vector-based semantic search - Real-time vector index updates for active development workflows ### ๐Ÿ’ก Implications - Practice: Developers may shift from grep-based code exploration to vector-semantic approaches - Policy: Engineering teams need guidelines for AI-assisted code discovery and embedding data privacy - Security: Vector databases containing code embeddings require secure handling and access controls - Education: Developer training must include vector database concepts and MCP server architecture - Funding: Development tool budgets should account for vector database hosting and embedding API costs ### ๐Ÿง  Learning Styles Assessment Reading level estimate: 12th Grade (technical content with specialized terminology) #### ๐Ÿ‘€ Visual learners - Present: Code comparisons, performance timing displays, cluster dashboard screenshots - Improve: Architecture diagrams showing Tree-sitter โ†’ Merkle DAG โ†’ Vector DB flow, search result visualizations #### ๐Ÿ”Š Aural learners - Present: Video demonstration with narrated setup and testing process - Improve: Audio summary explaining vector search concepts and cost trade-offs #### ๐Ÿ—ฃ๏ธ Verbal learners - Present: Clear explanations of technical terms like "Merkle DAG" and "BM25" - Improve: More analogies comparing vector search to traditional file searching #### ๐Ÿงฉ Kinesthetic learners - Present: Step-by-step setup instructions, live coding demonstrations - Improve: Hands-on checklist for evaluating Claude Context on different codebase sizes #### ๐Ÿง  Logical learners - Present: Performance comparisons with specific timing and token usage data - Improve: Decision matrix for when to use Claude Context vs traditional search methods #### ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Social learners - Present: Discussion of community adoption and developer experiences - Improve: Forum discussions about MCP server best practices and cost optimization #### ๐Ÿง˜โ€โ™€๏ธ Solitary learners - Present: Individual testing methodology and personal evaluation criteria - Improve: Self-assessment questions for determining optimal use cases #### ๐ŸŒฟ Naturalistic learners - Present: Ecosystem thinking about MCP servers and AI agent environments - Improve: Connections to broader patterns in developer tool evolution ### ๐Ÿ“Š Accessibility Assessment #### Screen reader semantics - Present: Descriptive headings and structured content flow - Improve: Alt text for code screenshots and performance comparison visuals #### Keyboard navigation - Present: Standard video player controls accessible via keyboard - Improve: Timestamped transcripts with keyboard-navigable sections #### Contrast and readability - Present: High contrast text in video overlays and code examples - Improve: Ensure code syntax highlighting maintains sufficient contrast ratios #### Text resizing and reflow - Present: Responsive text layout in description and comments - Improve: Ensure code examples remain readable at 200% zoom #### Media and captions - Present: Full transcript provided for accessibility - Improve: Time-synchronized captions in video player #### Forms and interactions - Present: Clear video controls and chapter navigation - Improve: Keyboard shortcuts for jumping between demonstration sections #### Standards reference - Meets WCAG 2.2 AA for text content; video content needs caption timing improvements ### ๐ŸŒ DEIB Assessment #### Cultural breadth - Present: Focus on universally applicable development tools and practices - Improve: Examples from diverse programming communities and languages #### Inclusive language - Present: Technical language appropriate for developer audience - Improve: Define specialized terms like "MCP" and "vector embeddings" for broader accessibility #### Neurodiversity support - Present: Structured content with clear section breaks and logical flow - Improve: Consistent heading frequency and summary sections for complex topics #### Representation - Present: Focus on technical content rather than individual representation - Improve: Include diverse developer perspectives on tool adoption costs and benefits #### Psychological safety - Present: Objective technical evaluation without judgment of different approaches - Improve: Acknowledge that different solutions work for different team contexts ### โœ… Logical Validity #### Strong reasoning - Deductive strength: Strong logical flow from vector search principles to performance outcomes - Inductive strength: Good generalization from specific VS Code testing to broader codebase patterns - Causal reasoning: Clear causal links between indexing approach and search performance - Analogical strength: Effective comparisons between traditional grep and vector-based search #### Fallacies - Hasty generalization: Concluding optimal use for "average-size codebases" from limited testing, needs broader validation - False dilemma: Presenting --- ## Full Transcript [00:00] So, there's this MCP plugin called<br>[00:03] Claude Context that indexes your entire<br>[00:05] code base into a vector database,<br>[00:07] meaning your coding agent can get the<br>[00:09] exact code it needs quickly without<br>[00:11] [music] guessing using grep or glob and<br>[00:13] hoping it finds the right file. It even<br>[00:15] passes your code with ASTs and uses a<br>[00:18] hybrid search approach combining<br>[00:20] semantic vectors with keyword matching,<br>[00:22] which ends up using 40% less context.<br>[00:24] But, it does need a Zilliz Cloud account<br>[00:26] and an OpenAI key for embeddings even if<br>[00:29] you use Claude Code. So, is the extra<br>[00:31] effort and cost worth the token savings?<br>[00:33] Hit subscribe and let's find out.<br>[00:39] Okay, so Claude Context, not sure about<br>[00:41] the name, is made by Zilliz, which is a<br>[00:43] company created by the founders of<br>[00:45] Milvus, a very performant vector<br>[00:47] database. It connects to your agent by<br>[00:49] MCP, so this means it can work with any<br>[00:51] agent harness and not just Claude Code.<br>[00:53] But, it does three pretty complex things<br>[00:56] to make your code easily findable.<br>[00:58] First, it uses Tree-sitter to pass<br>[01:00] through all of the code creating chunks<br>[01:02] of functions and classes, and this<br>[01:04] supports nine languages including<br>[01:06] TypeScript, Python, Rust, and Go. Then,<br>[01:08] it uses a custom Merkle DAG to hash each<br>[01:11] file with JSON snapshots, meaning it<br>[01:14] only re-indexes the files that have<br>[01:16] changed and not the whole code base. And<br>[01:18] then, when you actually want to search<br>[01:19] through the code, it does two different<br>[01:21] types of searches at the same time. A<br>[01:23] vector search to find the semantic<br>[01:26] meaning of the code and a BM25 index<br>[01:29] search for exact keyword matching. This<br>[01:31] all results in an up to 40% context<br>[01:34] reduction, which is a lot for large code<br>[01:36] bases. In fact, let's see it in action<br>[01:38] by testing it against the VS Code code<br>[01:41] base, which has around 1.5 million lines<br>[01:44] of code. So, inside the current VS Code<br>[01:46] repo, I'm going to be using Open Code<br>[01:48] with GLM-5 Turbo because I don't want to<br>[01:50] burn through my Claude Pro weekly<br>[01:52] limits. And in order to get the MCP<br>[01:55] server set up, which you can see over<br>[01:56] here, I've already added the relevant<br>[01:58] information to my Open Code JSON file.<br>[02:01] And for this information over here, you<br>[02:03] could run Milvus locally, but I've used<br>[02:05] Zilliz Cloud. So, I've got my API key<br>[02:07] from over here and I created a cluster,<br>[02:10] so this is an AWS cluster, and got the<br>[02:13] public endpoint from here. Now, while<br>[02:15] we're on clusters, I did try to use the<br>[02:17] free one first, but I kept on getting<br>[02:19] timeout issues. So, I have to get a<br>[02:21] serverless one, which does cost money,<br>[02:23] but did work a lot better. Now, once you<br>[02:25] have set up the MCP server, make sure<br>[02:27] you're running a version of Node below<br>[02:29] 24, but above or equal to 20. I'm<br>[02:31] currently using version 22 just for this<br>[02:33] project, and that will give you access<br>[02:35] to four MCP tools: index code, search<br>[02:37] code, clear index, and get index status.<br>[02:40] Now, the first thing you have to do is<br>[02:41] index the code base. And we can do that<br>[02:43] with this prompt. But, before we hit<br>[02:44] enter, let's take a look at how much<br>[02:46] money we've already spent on embeddings<br>[02:48] from OpenAI, which is just 1 cent and<br>[02:50] was for me testing a 23,000 line code<br>[02:53] base. We can also see in our cluster we<br>[02:55] already have information from the code<br>[02:56] base that was indexed. So, now if we<br>[02:58] index this code base, it does take some<br>[03:00] time and starts the indexing in the<br>[03:02] background. At this point, I don't<br>[03:04] recommend doing any searches. Now,<br>[03:05] because this is a large code base, it<br>[03:07] will take a while to index, so I'll come<br>[03:09] back later when the indexing is done.<br>[03:11] And after about 50 minutes, the indexing<br>[03:13] is complete. And we can see we have a<br>[03:15] new chunk in our cluster with over<br>[03:17] 223,000<br>[03:19] loaded entries. And for reference, the<br>[03:22] code that I was testing with that had<br>[03:24] 23,000 lines of code has about 1,000<br>[03:28] lines of entries and took less than 1<br>[03:31] minute to index. And with our OpenAI<br>[03:32] usage, we've gone from 1 cent to $1.06,<br>[03:36] which is a lot, but I don't imagine<br>[03:38] going through 1.5 million lines of code<br>[03:41] is something people will do regularly.<br>[03:43] Okay, let's see how fast it is to make a<br>[03:44] search. Here we have one instance of<br>[03:46] Open Code using the Claude Context MCP<br>[03:48] server, and here we have one with no MCP<br>[03:51] server. So, it'll be using the regular<br>[03:53] grep and glob tools to search through<br>[03:55] the code. And we'll give it a prompt of<br>[03:57] use Claude Context to find the entry<br>[03:59] point of when this project starts up.<br>[04:01] Let's see how long this takes. Okay, so<br>[04:03] it's using the index tool, and now it's<br>[04:04] using the search tool, and the whole<br>[04:06] thing took about 19 seconds to search<br>[04:08] through this whole project and find the<br>[04:10] main.ts file. And now we're going to<br>[04:12] give this Open Code a similar prompt,<br>[04:14] and it finds a response in 14 seconds.<br>[04:16] So, it's like for this query, using just<br>[04:18] regular GLM is a lot faster. Let's start<br>[04:20] a new session, and then I'm going to<br>[04:22] give it a new prompt of what function<br>[04:23] opens a new untitled document. This one<br>[04:26] took a bit longer at 40 seconds and<br>[04:28] found the main function with a line<br>[04:30] number and used about 23K tokens. And<br>[04:32] the other instance did it in 12 seconds<br>[04:34] and used 18K tokens, but it looks like<br>[04:37] it found a different file. In fact,<br>[04:39] Claude Context gives way more<br>[04:40] information showing the code and other<br>[04:43] files related to opening the editor. So,<br>[04:45] I'm going to ask them both to show me<br>[04:46] the exact code, and at this point Claude<br>[04:48] Context responds in 23 seconds with the<br>[04:51] code, and the non-Claude Context Open<br>[04:53] Code responds in 49 seconds, almost<br>[04:55] double the amount of time. And it gives<br>[04:57] you the exact same code as Claude<br>[04:58] Context did, which gives me an idea. I'm<br>[05:00] going to give it a more broad<br>[05:02] generalized prompt of look through the<br>[05:03] code and tell me how this project works.<br>[05:06] Claude Context finishes in 49 seconds<br>[05:08] using 41K tokens, and the other instance<br>[05:11] finishes faster and uses less tokens.<br>[05:13] But, if we have a look at the output<br>[05:15] produced, we can see there's much more<br>[05:16] detail from Claude Context giving the<br>[05:18] layered architecture and even some<br>[05:20] information about the Electron app and<br>[05:22] the processes it uses. And the<br>[05:23] non-Claude Context option does also give<br>[05:26] some architectural information, but it's<br>[05:28] not as detailed as the other one. In<br>[05:30] fact, I know it doesn't look like it,<br>[05:31] but I would say Claude Context is very<br>[05:33] good at getting code information up<br>[05:35] front quickly in lots of detail. I mean,<br>[05:37] take a look at this. So, from this<br>[05:39] prompt I asked a follow-up prompt to<br>[05:41] tell me more information about the main<br>[05:43] process in the Electron app, which it<br>[05:45] stated up here. So, after I asked this<br>[05:47] prompt, it took about 1 minute and 47<br>[05:51] seconds, but look at all that detail.<br>[05:53] So, it started out with the boot<br>[05:55] sequence and then phase one, so the<br>[05:57] service creation and service<br>[05:59] initialization. And we've got so much<br>[06:01] more from phase two, the code<br>[06:02] application app with all the references<br>[06:04] to the relevant files. So, we've got<br>[06:06] app.ts line 185, and we could keep going<br>[06:09] on and on. Whereas, without Claude<br>[06:10] Context, Open Code is still going<br>[06:12] through all the files using multiple<br>[06:15] sub-agents, and this is a bit deceiving<br>[06:17] because we can't see exactly how many<br>[06:19] tokens each sub-agent is using. But, if<br>[06:22] we wait for a bit and come back, we can<br>[06:23] see after about 5 minutes Open Code<br>[06:26] responds with a lot of information about<br>[06:28] the Electron process, but this isn't as<br>[06:30] much as what Claude Context provided,<br>[06:32] and it did take five times longer. Now,<br>[06:35] yes, maybe if I used a smarter model<br>[06:37] like Opus 4.7 with high effort, it would<br>[06:40] get more information, but it would still<br>[06:41] take a long time and use a lot of<br>[06:43] tokens. And these are the kind of<br>[06:45] differences, so 5 minutes and 1 minute,<br>[06:47] that I was seeing when I was testing<br>[06:48] before recording with the 23K line code<br>[06:51] base. So, in the end, it's difficult to<br>[06:52] say who is the clear winner. I mean,<br>[06:55] Claude Context did always provide more<br>[06:57] detail, but it wasn't always the fastest<br>[06:59] and the most token efficient. And for<br>[07:01] large code bases, it did take a very<br>[07:03] long time to index. However, for<br>[07:05] average-size code bases, so 20 to 30,000<br>[07:08] lines of code, the indexing time is<br>[07:10] really quick, and the difference in<br>[07:12] detail when it comes to results is very<br>[07:14] apparent. In fact, I would say I would<br>[07:16] much rather use Claude Context for<br>[07:19] average-size code bases than use it on<br>[07:21] large code bases. So, that's something<br>[07:23] to think about. But, to be honest, this<br>[07:24] is more of a great sales tool for Zilliz<br>[07:26] because before using Claude Context, I<br>[07:28] had never heard of them, and now they<br>[07:30] have a new paying customer. But, even<br>[07:32] though it did take a while to set up and<br>[07:34] indexing large code bases took a very<br>[07:36] long while. As someone who regularly<br>[07:38] goes through open-source code bases and<br>[07:41] asks questions, I think this is a tool<br>[07:43] I'm going to be using a lot more. I<br>[07:44] mean, for an average-size code base, the<br>[07:46] serverless plan isn't too expensive as<br>[07:49] the OpenAI embeddings don't cost too<br>[07:51] much either. So, I'm happy to take the<br>[07:52] hit. Speaking of data retrieval and AI,<br>[07:55] if you want to learn how to build a<br>[07:56] really good rag system from scratch that<br>[07:59] actually works, then check out this<br>[08:01] video from Andras. And if you're a Star<br>[08:03] Wars fan, you're especially going to<br>[08:04] like this video. <!-- deep-read:sections end --> ๐Ÿ“„ **Full text:** ![[Full Document Contents/Articles/I Stopped Using Grep and My Agent Got 10x Faster.md|I Stopped Using Grep and My Agent Got 10x Faster by YouTube]] ## Highlights - number and used about 23K tokens. And the other instance did it in 12 seconds and used 18K tokens, but it looks like it found a different file. In fact, Claude Context gives way more information showing the code and other files related to opening the editor. So, I'm going to ask them both to show me the exact code, and at this point Claude Context responds in 23 seconds with the code, and the non-Claude Context Open Code responds in 49 seconds, almost double the amount of time. And it gives you the exact same code as Claude Context did, which gives me an idea. I'm ([View Highlight](https://read.readwise.io/read/01kq2r9sr60w568797y3pkrmzv)) - Tags: ๐Ÿ‘ป ai highlighted - have a new paying customer. But, even though it did take a while to set up and indexing large code bases took a very long while. As someone who regularly goes through open-source code bases and asks questions, I think this is a tool I'm going to be using a lot more. I mean, for an average-size code base, the serverless plan isn't too expensive as the OpenAI embeddings don't cost too much either. So, I'm happy to take the hit. Speaking of data retrieval and AI, if you want to learn how to build a really good rag system from scratch that actually works, then check out this ([View Highlight](https://read.readwise.io/read/01kq2r9ss6grvxe61pkp19va5m)) - Tags: ๐Ÿ‘ป ai highlighted