Загрузка видео...

Не удалось загрузить видео

На главную

🤯 this genius stores his entire codebase syntax in a graph database and queries it so provide context to an llm

1,991,499 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля Dan Mac
Dan Mac1 год назад

one day things like this will be standard

Фото профиля Milk Road
Milk Road1 год назад

Wall Street ain't ready for this... Coinbase launched Base ~1 year ago This Layer 2 blockchain has raked in ~$1.2M every week on average Now Wall Street is FOMOing into crypto. Front run them by reading Milk Road. 5 minutes. Every day. For free.

Фото профиля kev
kev1 год назад

@Austen Hey that’s me! I’m currently working on v2 of this app and will be launching a public beta in the near future. Anybody is free to shoot me a DM with questions or follow me if they want to hear when the beta drops.

Фото профиля Dan Mac
Dan Mac1 год назад

@Austen that’s awesome Kev - such a cool idea following and looking forward to hearing more about the project!

Фото профиля Gobie Nanthakumar
Gobie Nanthakumar1 год назад

Isn’t that already part of every IDE…like indexing and referencing function definitions?

Фото профиля joey - e/acc 🇿🇦
joey - e/acc 🇿🇦1 год назад

You can do it for free on mordecai, it’s very very simple to implement, it doesn’t make you a genius, it’s called “RAG” and uses a vector database not a graph database.

Фото профиля Shantanu Goel
Shantanu Goel1 год назад

Guy said AST. Tweeter picks up on "syntax" and says guy stores "codebase syntax in a graph database". 🤦‍♂️

Фото профиля Johannes Schmidt 🌌👾
Johannes Schmidt 🌌👾1 год назад

cursor does this, they create embeddings and use them to look up code

Фото профиля Dan Mac
Dan Mac1 год назад

think that’s a little different though embeddings arent legible to a human, whereas a graph is

Фото профиля Saurabh Suri⚡🥷🏼
Saurabh Suri⚡🥷🏼1 год назад

alright you have my attention @taykv2

Фото профиля Bryce DeFigueiredo
Bryce DeFigueiredo1 год назад

@Austen This project brought to you by Velo nicotine pouches

Похожие видео

THIS MIGHT BE THE #1 OPEN-SOURCE REPO FOR CLAUDE CODE RIGHT NOW. IT GIVES CLAUDE A MEMORY AND SLASHES YOUR TOKEN COST ON EVERY QUESTION The repo is safishamsi/graphify, a free open-source skill that turns any codebase into a knowledge graph Claude Code can read instantly. Instead of grepping through your files every session, Claude gets a map of how everything connects The problem it fixes: Every time you ask Claude Code about a big repo, it does the same thing, greps through dozens of files like a brute-force Ctrl+F, blows through your context window, and sometimes still misses the answer hiding in a file nobody searched. Claude Code has no memory of how your project is structured. Every session starts from zero What it does: It maps your entire codebase into a knowledge graph, capturing not just which files exist, but which functions depend on which, which modules are central, and which files cluster around the same concern. Claude queries the map instead of scanning files How it works, three passes: 1. Code structure, free and local. Tree-sitter parses your files and pulls out classes, functions, imports and call graphs. No LLM, no tokens, just your actual code mapped deterministically 2. Audio and video, if you have them. Transcribed locally and folded into the graph 3. Docs, papers, images. Here an LLM does semantic analysis, figuring out what each document means and where it fits. Only the meaning gets sent up, never your raw source It saves you money: Normally a question about a big repo makes Claude spawn explore agents that scan file after file, eating your context window and your token budget before you get an answer. With the graph already built, Claude queries the map instead of re-reading the codebase every time. Same answer, a fraction of the tokens. The graph only gets built once, then a hook rebuilds it after each commit for free, so you never pay that scanning cost again. The bigger the repo, the bigger the gap The best parts: it's a skill, so once installed Claude knows when to use it without you memorizing commands. It works on non-code folders too, point it at docs or notes and it can spin up an Obsidian vault How to add it to your Claude: 1. Install Claude Code if you haven't: npm install -g Paul Jankura-ai/claude-code 2. Add the skill: claude skill add safishamsi/graphify 3. Open your project folder and run /graphify . to build the graph 4. Optional, make it automatic: graphify hook install so the graph rebuilds after every commit That's it. Ask Claude about your repo and it reads the map instead of burning tokens on a file hunt Bookmark this

Yarchi

55,345 просмотров • 1 месяц назад

New short course: LLMs as Operating Systems: Agent Memory, created with Letta, and taught by its founders Charles Packer and Sarah Wooders. An LLM's input context window has limited space. Using a longer input context also costs more and results in slower processing. So, managing what's stored in this context window is important. In the innovative paper MemGPT: Towards LLMs as Operating Systems, its authors (which include the instructors) proposed using an LLM agent to manage this context window. Their system uses a large persistent memory that stores everything that could be included in the input context, and an agent decides what is actually included. Take the example of building a chatbot that needs to remember what's been said earlier in a conversation (perhaps over many days of interaction with a user). As the conversation's length grows, the memory management agent will move information from the input context to a persistent searchable database; summarize information to keep relevant facts in the input context; and restore relevant conversation elements from further back in time. This allows a chatbot to keep what's currently most relevant in its input context memory to generate the next response. When I read the original MemGPT paper, I thought it was an innovative technique for handling memory for LLMs. The open-source Letta framework, which we'll use in this course, makes MemGPT easy to implement. It adds memory to your LLM agents and gives them transparent long-term memory. In detail, you’ll learn: - How to build an agent that can edit its own limited input context memory, using tools and multi-step reasoning - What is a memory hierarchy (an idea from computer operating systems, which use a cache to speed up memory access), and how these ideas apply to managing the LLM input context (where the input context window is a "cache" storing the most relevant information; and an agent decides what to move in and out of this to/from a larger persistent storage system) - How to implement multi-agent collaboration by letting different agents share blocks of memory This course will give you a sophisticated understanding of memory management for LLMs, which is important for chatbots having long conversations, and for complex agentic workflows. Please sign up here!

Andrew Ng

200,788 просмотров • 1 год назад