{"exhaustive":{"nbHits":false,"typo":false},"exhaustiveNbHits":false,"exhaustiveTypo":false,"hits":[{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"T-A"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"The Secret Sauce behind 100K <em>context</em> <em>window</em> in <em>LLMs</em>: all tricks in one place"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"https://blog.gopenai.com/how-to-speed-up-<em>llms</em>-and-use-100k-<em>context</em>-<em>window</em>-all-tricks-in-one-place-ffd40577b4c"}},"_tags":["story","author_T-A","story_36374936"],"author":"T-A","children":[36375344,36375362,36375472,36375548,36375567,36375594,36375708,36375956,36376098,36376576,36376656,36377030,36377192,36377956,36378771,36379003,36379068],"created_at":"2023-06-17T21:40:33Z","created_at_i":1687038033,"num_comments":99,"objectID":"36374936","points":474,"story_id":36374936,"title":"The Secret Sauce behind 100K context window in LLMs: all tricks in one place","updated_at":"2024-09-20T14:26:53Z","url":"https://blog.gopenai.com/how-to-speed-up-llms-and-use-100k-context-window-all-tricks-in-one-place-ffd40577b4c"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"alagagbar"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"Show HN: Long <em>context</em> <em>window</em> for <em>LLMs</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://colab.research.google.com/drive/1oJ7HRjKr8lr15UN9SQ_V8LiblaVBUy3o?usp=sharing"}},"_tags":["story","author_alagagbar","story_38853000","show_hn"],"author":"alagagbar","children":[38854582],"created_at":"2024-01-03T11:42:07Z","created_at_i":1704282127,"num_comments":2,"objectID":"38853000","points":6,"story_id":38853000,"title":"Show HN: Long context window for LLMs","updated_at":"2024-09-20T16:03:24Z","url":"https://colab.research.google.com/drive/1oJ7HRjKr8lr15UN9SQ_V8LiblaVBUy3o?usp=sharing"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"gandalfgeek"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"Do large <em>context</em> <em>windows</em> for <em>LLMs</em> help?"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://www.youtube.com/watch?v=NIzXx1FugFw"}},"_tags":["story","author_gandalfgeek","story_36669169"],"author":"gandalfgeek","created_at":"2023-07-10T16:57:22Z","created_at_i":1689008242,"num_comments":0,"objectID":"36669169","points":2,"story_id":36669169,"title":"Do large context windows for LLMs help?","updated_at":"2024-09-20T14:37:49Z","url":"https://www.youtube.com/watch?v=NIzXx1FugFw"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"vmath20"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"GitRead is an open-source developer tool that utilizes recent advances in large <em>context</em> <em>window</em> <em>LLMs</em> to automatically generate README files.<p>You can input any public GitHub repository, and it will automatically generate a README file for the codebase within 1-2 minutes.<p>I created this because I would often spend 1-2 hours writing up a perfect README file for each of my projects, and I thought generating them using an AI tool would make the process smoother.<p>I was inspired to create this project by GitIngest as well as the recent success of other tools like GitDiagram and DeepWiki."},"title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: Automatically generate a README file for your GitHub repository"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://www.gitread.dev/"}},"_tags":["story","author_vmath20","story_44007335","show_hn"],"author":"vmath20","created_at":"2025-05-16T16:30:32Z","created_at_i":1747413032,"num_comments":0,"objectID":"44007335","points":3,"story_id":44007335,"story_text":"GitRead is an open-source developer tool that utilizes recent advances in large context window LLMs to automatically generate README files.<p>You can input any public GitHub repository, and it will automatically generate a README file for the codebase within 1-2 minutes.<p>I created this because I would often spend 1-2 hours writing up a perfect README file for each of my projects, and I thought generating them using an AI tool would make the process smoother.<p>I was inspired to create this project by GitIngest as well as the recent success of other tools like GitDiagram and DeepWiki.","title":"Show HN: Automatically generate a README file for your GitHub repository","updated_at":"2025-05-19T09:03:30Z","url":"https://www.gitread.dev/"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"MediaSquirrel"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"Transform any GitHub repo or folder on your Mac into a simple text file so that you can upload it to an <em>LLM</em> (Claude, ChatGPT, etc.) to reason over the whole thing in the <em>context</em> <em>window</em>.<p><em>LLMs</em> like ChatGPT and Claude let you upload files, but they limit how many you can upload at once. When you're dealing with large codebases that have tons of files, you can't just upload them directly to an <em>LLM</em>. You end up having to use RAG (retrieval augmented generation) techniques, which in my experience aren't as effective as uploading everything into the full <em>context</em> <em>window</em> - especially when you need to reason about architecture or understand the entire system.<p>Flatty is simple to use.<p>Navigate to your project directory in the Terminal and then type &quot;flatty&quot; - that's it.<p>The script will output your GitHub repo as a text file (or series of text files in case of large repos) into a folder called &quot;flattened&quot; in your home directory.<p>I hope you find this tool useful in your own work!"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm"],"value":"Show HN: Flatty \u2013 Dead Simple Codebase-to-Text for <em>LLMs</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/mattmireles/Flatty"}},"_tags":["story","author_MediaSquirrel","story_42660498","show_hn"],"author":"MediaSquirrel","children":[42665823],"created_at":"2025-01-10T21:31:53Z","created_at_i":1736544713,"num_comments":1,"objectID":"42660498","points":1,"story_id":42660498,"story_text":"Transform any GitHub repo or folder on your Mac into a simple text file so that you can upload it to an LLM (Claude, ChatGPT, etc.) to reason over the whole thing in the context window.<p>LLMs like ChatGPT and Claude let you upload files, but they limit how many you can upload at once. When you&#x27;re dealing with large codebases that have tons of files, you can&#x27;t just upload them directly to an LLM. You end up having to use RAG (retrieval augmented generation) techniques, which in my experience aren&#x27;t as effective as uploading everything into the full context window - especially when you need to reason about architecture or understand the entire system.<p>Flatty is simple to use.<p>Navigate to your project directory in the Terminal and then type &quot;flatty&quot; - that&#x27;s it.<p>The script will output your GitHub repo as a text file (or series of text files in case of large repos) into a folder called &quot;flattened&quot; in your home directory.<p>I hope you find this tool useful in your own work!","title":"Show HN: Flatty \u2013 Dead Simple Codebase-to-Text for LLMs","updated_at":"2025-01-11T13:46:42Z","url":"https://github.com/mattmireles/Flatty"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"crush_robo_1536"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"<a href=\"https://rockyai.me/\" rel=\"nofollow\">https://rockyai.me/</a> now supports chatting with webpages that have content that exceeds the <em>context</em> <em>window</em> of <em>LLM</em>.<p>For example, on the recent HN: Who is hiring thread for Feb 2025[0], you can ask questions like &quot;list product management roles posted here&quot;, &quot;are there any machine learning engineer roles here&quot;, etc. You can also chat with pdfs on <a href=\"https://arxiv.org/\" rel=\"nofollow\">https://arxiv.org/</a> similarly without having to manually upload the pdf into chat gpt.<p>[0] <a href=\"https://news.ycombinator.com/item?id=42919502\">https://news.ycombinator.com/item?id=42919502</a>"},"title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: In browser RAG on HN Who is hiring threads (and any other webpage)"}},"_tags":["story","author_crush_robo_1536","story_43075933","show_hn"],"author":"crush_robo_1536","created_at":"2025-02-17T06:43:27Z","created_at_i":1739774607,"num_comments":0,"objectID":"43075933","points":1,"story_id":43075933,"story_text":"<a href=\"https:&#x2F;&#x2F;rockyai.me&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;rockyai.me&#x2F;</a> now supports chatting with webpages that have content that exceeds the context window of LLM.<p>For example, on the recent HN: Who is hiring thread for Feb 2025[0], you can ask questions like &quot;list product management roles posted here&quot;, &quot;are there any machine learning engineer roles here&quot;, etc. You can also chat with pdfs on <a href=\"https:&#x2F;&#x2F;arxiv.org&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;arxiv.org&#x2F;</a> similarly without having to manually upload the pdf into chat gpt.<p>[0] <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42919502\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42919502</a>","title":"Show HN: In browser RAG on HN Who is hiring threads (and any other webpage)","updated_at":"2025-07-24T19:12:50Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"CShorten"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"Hey everyone! I am SUPER excited to publish our 73rd Weaviate Podcast with Charles Packer from UC Berkeley, the lead author of MemGPT!!<p>MemGPT is the Operating System for <em>LLMs</em>! This is one of the most exciting recent ideas in Large Language Model Applications that draws connections between Virtual <em>Context</em> Management in Operating Systems and the limited <em>context</em> <em>windows</em> of <em>LLMs</em>! One of the key ideas in MemGPT is to explicitly prompt the model that it has a limited token <em>window</em> and give it tools to self-edit its own <em>context</em>!!<p>This was such a fun discussion covering all things from the origin of the research, connections between operating systems and <em>LLMs</em>, details of the paper such as inference cost, explicit <em>context</em> annotation, recall and archival storage, and many more!<p>We also concluded the podcast with discussions around Creativity in AI and what directions from Multi-Agent Role Playing or Evolutionary methods will achieve truly creative, novel outputs from Generative AI systems!<p>I hope you enjoy the podcast! As always, more than happy to answer any questions or discuss any ideas about the content in the podcast!<p>https://www.youtube.com/watch?v=rxjsbUiuOFo"},"title":{"matchLevel":"none","matchedWords":[],"value":"Charles Packer on MemGPT"}},"_tags":["story","author_CShorten","story_38113392","ask_hn"],"author":"CShorten","created_at":"2023-11-02T13:42:30Z","created_at_i":1698932550,"num_comments":0,"objectID":"38113392","points":1,"story_id":38113392,"story_text":"Hey everyone! I am SUPER excited to publish our 73rd Weaviate Podcast with Charles Packer from UC Berkeley, the lead author of MemGPT!!<p>MemGPT is the Operating System for LLMs! This is one of the most exciting recent ideas in Large Language Model Applications that draws connections between Virtual Context Management in Operating Systems and the limited context windows of LLMs! One of the key ideas in MemGPT is to explicitly prompt the model that it has a limited token window and give it tools to self-edit its own context!!<p>This was such a fun discussion covering all things from the origin of the research, connections between operating systems and LLMs, details of the paper such as inference cost, explicit context annotation, recall and archival storage, and many more!<p>We also concluded the podcast with discussions around Creativity in AI and what directions from Multi-Agent Role Playing or Evolutionary methods will achieve truly creative, novel outputs from Generative AI systems!<p>I hope you enjoy the podcast! As always, more than happy to answer any questions or discuss any ideas about the content in the podcast!<p>https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rxjsbUiuOFo","title":"Charles Packer on MemGPT","updated_at":"2024-09-20T15:32:54Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ragall"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"You're wrong on every count: given the small <em>context</em> <em>window</em> of <em>LLMs</em>, the need for interfaces and scehmas is even greater."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Protobuf has LSP support"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://buf.build/blog/protobuf-lsp"}},"_tags":["comment","author_ragall","story_49322573"],"author":"ragall","comment_text":"You&#x27;re wrong on every count: given the small context window of LLMs, the need for interfaces and scehmas is even greater.","created_at":"2026-08-17T05:34:26Z","created_at_i":1786944866,"objectID":"49326885","parent_id":49322885,"story_id":49322573,"story_title":"Protobuf has LSP support","story_url":"https://buf.build/blog/protobuf-lsp","updated_at":"2026-08-17T14:05:31Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"Aurornis"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"AI completely broke some of the signals management used as proxies for team competence. In the past, teams that moved quickly and had a proof of concept to show management were valued for the speed of their execution. Usually a team that could execute quickly had some competent developers who could also quickly execute on the challenges of the implementation when it scaled up to real world problems.<p>Now anyone with enough <em>LLM</em> tokens can move quickly and have a pretty proof of concept in front of management in days or maybe hours. There's a land grab to get things in front of management so you can stake your claim on something. The implementation details are assumed to be solvable by enough Claude sessions and ChatGPT prompts.<p>Where this falls apart is that the real difficult problems don't scale well with <em>LLM</em> brute force techniques. You need people who understand the problem and know how to drive the <em>LLM</em> agents around properly, as well as when to set them aside and go look at the code and data themselves.<p>The teams who try to brute force everything with <em>LLM</em> tokens can get a little farther every few months, but for complex problems I've seen enough variations of teams hitting a wall of complexity and tech debt with a team that doesn't know much about how their system works because they've just been asking agents to solve every problem as it comes up. With each iteration it takes a little longer for the agents to come to a solution and the system becomes a little more brittle. Even with our current mega-<em>context</em>-<em>window</em> LLMs you can reach a point where every other change to your big ball of code breaks something else, which requires another agent session to diagnose and fix, which might then break another thing down the line. The refactors to try to clean things up end up breaking even more. Having a zillion tests starts to backfire when the team can't tell which tests are testing valid results and which are baking in incorrect results.<p>Maybe there's an end game where agents get so good that none of this matters, but I think it's more likely that we're going to have to build up better intuitions about what good execution looks like. The old signals of moving fast are meaningly and potentially even negative now."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"The New AI Superpowers: Focus and Followthrough"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and"}},"_tags":["comment","author_Aurornis","story_49057877"],"author":"Aurornis","children":[49065621,49066162,49068996],"comment_text":"AI completely broke some of the signals management used as proxies for team competence. In the past, teams that moved quickly and had a proof of concept to show management were valued for the speed of their execution. Usually a team that could execute quickly had some competent developers who could also quickly execute on the challenges of the implementation when it scaled up to real world problems.<p>Now anyone with enough LLM tokens can move quickly and have a pretty proof of concept in front of management in days or maybe hours. There&#x27;s a land grab to get things in front of management so you can stake your claim on something. The implementation details are assumed to be solvable by enough Claude sessions and ChatGPT prompts.<p>Where this falls apart is that the real difficult problems don&#x27;t scale well with LLM brute force techniques. You need people who understand the problem and know how to drive the LLM agents around properly, as well as when to set them aside and go look at the code and data themselves.<p>The teams who try to brute force everything with LLM tokens can get a little farther every few months, but for complex problems I&#x27;ve seen enough variations of teams hitting a wall of complexity and tech debt with a team that doesn&#x27;t know much about how their system works because they&#x27;ve just been asking agents to solve every problem as it comes up. With each iteration it takes a little longer for the agents to come to a solution and the system becomes a little more brittle. Even with our current mega-context-window LLMs you can reach a point where every other change to your big ball of code breaks something else, which requires another agent session to diagnose and fix, which might then break another thing down the line. The refactors to try to clean things up end up breaking even more. Having a zillion tests starts to backfire when the team can&#x27;t tell which tests are testing valid results and which are baking in incorrect results.<p>Maybe there&#x27;s an end game where agents get so good that none of this matters, but I think it&#x27;s more likely that we&#x27;re going to have to build up better intuitions about what good execution looks like. The old signals of moving fast are meaningly and potentially even negative now.","created_at":"2026-07-27T05:38:20Z","created_at_i":1785130700,"objectID":"49065530","parent_id":49061112,"story_id":49057877,"story_title":"The New AI Superpowers: Focus and Followthrough","story_url":"https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and","updated_at":"2026-07-28T00:22:20Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"SyneRyder"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"<i>&gt;Problem 3: &quot;you'll hit the 200k token limit...&quot; ... Suggestion: use 1 million <em>context</em> <em>window</em> <em>LLMs</em>.</i><p>Yes, if the model someone is using only has 200k token limit, that would immediately suggest to me that it really isn't a sophisticated enough model.<p>Most of my coding sessions end up being about 350k tokens long when I finish, it wouldn't even fit in a 200k <em>context</em>. And that isn't counting the cache-reads by subagents, etc.<p>It's worth spending some time with the best Opus / GPT model, to at least get a sense of what the frontier is like."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"AI coding is a nightmare. Am I the only one experiencing this?"}},"_tags":["comment","author_SyneRyder","story_48770319"],"author":"SyneRyder","children":[48773221],"comment_text":"<i>&gt;Problem 3: &quot;you&#x27;ll hit the 200k token limit...&quot; ... Suggestion: use 1 million context window LLMs.</i><p>Yes, if the model someone is using only has 200k token limit, that would immediately suggest to me that it really isn&#x27;t a sophisticated enough model.<p>Most of my coding sessions end up being about 350k tokens long when I finish, it wouldn&#x27;t even fit in a 200k context. And that isn&#x27;t counting the cache-reads by subagents, etc.<p>It&#x27;s worth spending some time with the best Opus &#x2F; GPT model, to at least get a sense of what the frontier is like.","created_at":"2026-07-03T09:56:13Z","created_at_i":1783072573,"objectID":"48773101","parent_id":48772685,"story_id":48770319,"story_title":"AI coding is a nightmare. Am I the only one experiencing this?","updated_at":"2026-07-03T12:09:22Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"bel8"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"Yes I've experienced everything you stated. Here's what helped me:<p>Problem 1: &quot;Obsessed with reinventing the wheel&quot; &quot; three duplicate functions&quot;:<p>Suggestion: plan then implement.<p>Tell <em>LLM</em> to scan your project and crete markdown file plan to solve the task first. DO NOT try to selve tasks in a single shot without planning. Review the plan file then, IN A NEW SESSION with clean <em>context</em>, tell <em>LLM</em> to read the implementation plan file and implement the plan according to the file.<p>---<p>Problem 2: &quot;hyper-focuses on the current task and couldn't care less if its changes break other parts of the system&quot;<p>Suggestion: add instructions to AGENTS.md file teaching LLMs how to run unit tests and other kinds of tests so it can make sure nothing broke. And also add to AGENTS.md that LLMs MUST run tests before marking the task done.<p>---<p>Problem 3: &quot;you'll hit the 200k token limit in no time&quot; &quot;Long <em>context</em> = instant brain damage&quot;<p>Suggestion: use 1 million <em>context</em> <em>window</em> LLMs. Also plan then implement will keep your <em>context</em> shorter.<p>If you can, use better <em>LLM</em> services which offer 1million <em>context</em> <em>window</em>. If you can't afford Anthropic or OpenAI, use DeepSeek V4 Flash or MiMo 2.5 for example. A $10/mo OpenCode Go subscription plan offers $60 in <em>LLM</em> credits which is A LOT for these cheap LLMs.<p>Also, planning phase is when the <em>LLM</em> has to scan the entire project to understand what needs changing. This is where the <em>context</em> bloat comes from. If you split tasks into planning + implementation, the scanning phase is condensed into a single markdown file which keeps <em>context</em> lean.<p>Bonus tip: Tell LLMs to use subagents when doing exploration.<p>---<p>Problem 4: The longer the <em>context</em>, the more incoherent its responses.<p>Suggestion: yeah, LLMs get dumber as their working memory fills up (just like me). If your session reaches 200k+ tokens, it's usually a sign you could have planned the feature better or split it up. It might be worth restarting with more clarification."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"AI coding is a nightmare. Am I the only one experiencing this?"}},"_tags":["comment","author_bel8","story_48770319"],"author":"bel8","children":[48773101],"comment_text":"Yes I&#x27;ve experienced everything you stated. Here&#x27;s what helped me:<p>Problem 1: &quot;Obsessed with reinventing the wheel&quot; &quot; three duplicate functions&quot;:<p>Suggestion: plan then implement.<p>Tell LLM to scan your project and crete markdown file plan to solve the task first. DO NOT try to selve tasks in a single shot without planning. Review the plan file then, IN A NEW SESSION with clean context, tell LLM to read the implementation plan file and implement the plan according to the file.<p>---<p>Problem 2: &quot;hyper-focuses on the current task and couldn&#x27;t care less if its changes break other parts of the system&quot;<p>Suggestion: add instructions to AGENTS.md file teaching LLMs how to run unit tests and other kinds of tests so it can make sure nothing broke. And also add to AGENTS.md that LLMs MUST run tests before marking the task done.<p>---<p>Problem 3: &quot;you&#x27;ll hit the 200k token limit in no time&quot; &quot;Long context = instant brain damage&quot;<p>Suggestion: use 1 million context window LLMs. Also plan then implement will keep your context shorter.<p>If you can, use better LLM services which offer 1million context window. If you can&#x27;t afford Anthropic or OpenAI, use DeepSeek V4 Flash or MiMo 2.5 for example. A $10&#x2F;mo OpenCode Go subscription plan offers $60 in LLM credits which is A LOT for these cheap LLMs.<p>Also, planning phase is when the LLM has to scan the entire project to understand what needs changing. This is where the context bloat comes from. If you split tasks into planning + implementation, the scanning phase is condensed into a single markdown file which keeps context lean.<p>Bonus tip: Tell LLMs to use subagents when doing exploration.<p>---<p>Problem 4: The longer the context, the more incoherent its responses.<p>Suggestion: yeah, LLMs get dumber as their working memory fills up (just like me). If your session reaches 200k+ tokens, it&#x27;s usually a sign you could have planned the feature better or split it up. It might be worth restarting with more clarification.","created_at":"2026-07-03T09:04:47Z","created_at_i":1783069487,"objectID":"48772685","parent_id":48770319,"story_id":48770319,"story_title":"AI coding is a nightmare. Am I the only one experiencing this?","updated_at":"2026-07-03T21:39:09Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"jstanley"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"The most interesting thing in here is <a href=\"https://github.com/smhanov/laconic\" rel=\"nofollow\">https://github.com/smhanov/laconic</a> which is the author's &quot;agentic research orchestrator for Go that is optimized to use free search &amp; low-cost limited <em>context</em> <em>window</em> <em>llms</em>&quot;.<p>I have been doing this kind of thing with Cursor and Codex subscriptions, but they do have annoying rate limits, and Cursor on the Auto model seems to perform poorly if you ask it to do too much work, so I am keen to try out laconic on my local GPU.<p>EDIT:<p>Having tried it out, this may be a false economy.<p>The way it works is it has a bunch of different prompts for the <em>LLMs</em> (Planner, Synthesizer, Finalizer).<p>The &quot;Planner&quot; is given your input question and the &quot;scratchpad&quot; and has to come up with DuckDuckGo search terms.<p>Then the harness runs the DuckDuckGo search and gives the question, results, and scratchpad to the Synthesizer. The Synthesizer updates the scratchpad with new information that is learnt.<p>This continues in a loop, with the Planner coming up with new search queries and the Synthesizer updating the scratchpad, until eventually the Planner decides to give a final answer, at which point the Finalizer summarises the information in a user-friendly final answer.<p>That is a pretty clever design! It allows you to do relatively complex research with only a very small amount of <em>context</em> <em>window</em>. So I love that.<p>However I have found that the Synthesizer step is extremely slow on my RTX3060, and also I think it would cost me about \u00a31/day extra to run the RTX3060 flat out vs idle. For the amount of work laconic can do in a day (not a lot!), I think I am better off just sending the money to OpenAI and getting the results more quickly.<p>But I still love the design, this is a very creative way to use a very small <em>context</em> <em>window</em>. And has the obvious privacy  and freedom advantages over depending on OpenAI."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"I run multiple $10K MRR companies on a $20/month tech stack"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://stevehanov.ca/blog/how-i-run-multiple-10k-mrr-companies-on-a-20month-tech-stack"}},"_tags":["comment","author_jstanley","story_47736555"],"author":"jstanley","children":[47737616],"comment_text":"The most interesting thing in here is <a href=\"https:&#x2F;&#x2F;github.com&#x2F;smhanov&#x2F;laconic\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;smhanov&#x2F;laconic</a> which is the author&#x27;s &quot;agentic research orchestrator for Go that is optimized to use free search &amp; low-cost limited context window llms&quot;.<p>I have been doing this kind of thing with Cursor and Codex subscriptions, but they do have annoying rate limits, and Cursor on the Auto model seems to perform poorly if you ask it to do too much work, so I am keen to try out laconic on my local GPU.<p>EDIT:<p>Having tried it out, this may be a false economy.<p>The way it works is it has a bunch of different prompts for the LLMs (Planner, Synthesizer, Finalizer).<p>The &quot;Planner&quot; is given your input question and the &quot;scratchpad&quot; and has to come up with DuckDuckGo search terms.<p>Then the harness runs the DuckDuckGo search and gives the question, results, and scratchpad to the Synthesizer. The Synthesizer updates the scratchpad with new information that is learnt.<p>This continues in a loop, with the Planner coming up with new search queries and the Synthesizer updating the scratchpad, until eventually the Planner decides to give a final answer, at which point the Finalizer summarises the information in a user-friendly final answer.<p>That is a pretty clever design! It allows you to do relatively complex research with only a very small amount of context window. So I love that.<p>However I have found that the Synthesizer step is extremely slow on my RTX3060, and also I think it would cost me about \u00a31&#x2F;day extra to run the RTX3060 flat out vs idle. For the amount of work laconic can do in a day (not a lot!), I think I am better off just sending the money to OpenAI and getting the results more quickly.<p>But I still love the design, this is a very creative way to use a very small context window. And has the obvious privacy  and freedom advantages over depending on OpenAI.","created_at":"2026-04-12T08:09:12Z","created_at_i":1775981352,"objectID":"47737193","parent_id":47736555,"story_id":47736555,"story_title":"I run multiple $10K MRR companies on a $20/month tech stack","story_url":"https://stevehanov.ca/blog/how-i-run-multiple-10k-mrr-companies-on-a-20month-tech-stack","updated_at":"2026-04-12T16:49:30Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"loehnsberg"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"I think if we want to build on what we have, instead of compaction at the end of the <em>context</em> <em>window</em>, the <em>LLM</em> would have to 'sleep', i.e. adjust its weights, then wake up with the last bits of the old <em>context</em> <em>window</em> in the new one, and have a 'feel' for what it did before through the change in weights. I just sense it's not that simple to get there, because simply updating the weights based on a single <em>context</em> sample risks degrading the weights of the whole network.<p>I like the idea of using small local model (or several) for tackling this problem, like low rank adaptation, but with current tech, I still have to piece this together or the small local models will forget old memories."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"OpenClaw\u2019s memory is unreliable, and you don\u2019t know when it will break"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://blog.nishantsoni.com/p/ive-seen-a-thousand-openclaw-deploys"}},"_tags":["comment","author_loehnsberg","story_47721955"],"author":"loehnsberg","children":[47729193,47733121],"comment_text":"I think if we want to build on what we have, instead of compaction at the end of the context window, the LLM would have to &#x27;sleep&#x27;, i.e. adjust its weights, then wake up with the last bits of the old context window in the new one, and have a &#x27;feel&#x27; for what it did before through the change in weights. I just sense it&#x27;s not that simple to get there, because simply updating the weights based on a single context sample risks degrading the weights of the whole network.<p>I like the idea of using small local model (or several) for tackling this problem, like low rank adaptation, but with current tech, I still have to piece this together or the small local models will forget old memories.","created_at":"2026-04-11T09:17:30Z","created_at_i":1775899050,"objectID":"47728946","parent_id":47728494,"story_id":47721955,"story_title":"OpenClaw\u2019s memory is unreliable, and you don\u2019t know when it will break","story_url":"https://blog.nishantsoni.com/p/ive-seen-a-thousand-openclaw-deploys","updated_at":"2026-04-11T21:46:56Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"andychen32"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"I agree! my instincts tell me most enterprises will hop onto this in the coming months (late stave startups first, then bigger companies)\nuntil we get to 100m token <em>context</em> <em>window</em> <em>LLMs</em>, this is probably the final pattern"},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["context"],"value":"The Enterprise <em>Context</em> Layer"},"story_url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["context"],"value":"https://andychen32.substack.com/p/the-enterprise-<em>context</em>-layer"}},"_tags":["comment","author_andychen32","story_47324448"],"author":"andychen32","comment_text":"I agree! my instincts tell me most enterprises will hop onto this in the coming months (late stave startups first, then bigger companies)\nuntil we get to 100m token context window LLMs, this is probably the final pattern","created_at":"2026-03-17T15:01:24Z","created_at_i":1773759684,"objectID":"47413659","parent_id":47327942,"story_id":47324448,"story_title":"The Enterprise Context Layer","story_url":"https://andychen32.substack.com/p/the-enterprise-context-layer","updated_at":"2026-05-22T19:41:13Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"rirze"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"At this point, I feel like MCP servers are just not feasible at the current level of <em>context</em> <em>windows</em> and <em>LLMs</em>. Good idea, but we're way too early."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["context"],"value":"Apideck CLI \u2013 An AI-agent interface with much lower <em>context</em> consumption than MCP"},"story_url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["context","window"],"value":"https://www.apideck.com/blog/mcp-server-eating-<em>context</em>-<em>window</em>-cli-alternative"}},"_tags":["comment","author_rirze","story_47400261"],"author":"rirze","comment_text":"At this point, I feel like MCP servers are just not feasible at the current level of context windows and LLMs. Good idea, but we&#x27;re way too early.","created_at":"2026-03-16T15:45:44Z","created_at_i":1773675944,"objectID":"47400549","parent_id":47400261,"story_id":47400261,"story_title":"Apideck CLI \u2013 An AI-agent interface with much lower context consumption than MCP","story_url":"https://www.apideck.com/blog/mcp-server-eating-context-window-cli-alternative","updated_at":"2026-03-17T18:06:28Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"freehorse"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"No, I don't trust an encyclopedia generated by AI. Projects with much narrower scopes are not comparable.<p>edit: I am not very excited by AI-generated documentations either. I think that <em>LLMs</em> are very useful tools, but I see a potential problem when the sources of information that their usefulness is largely based on is also <em>LLM</em>-generated. I am afraid that this will inevitably result in drop in quality that will also affect the <em>LLMs</em> themselves downstream. I think we underestimate the importance that intentionality in human-written text plays in being in the training sets/<em>context</em> <em>windows</em> of <em>LLMs</em> for them to give relevant/useful output."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Elon Musk pushes out more xAI founders as AI coding effort falters"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.ft.com/content/e5fbc6c2-d5a6-4b97-a105-6a96ea849de5"}},"_tags":["comment","author_freehorse","story_47366666"],"author":"freehorse","comment_text":"No, I don&#x27;t trust an encyclopedia generated by AI. Projects with much narrower scopes are not comparable.<p>edit: I am not very excited by AI-generated documentations either. I think that LLMs are very useful tools, but I see a potential problem when the sources of information that their usefulness is largely based on is also LLM-generated. I am afraid that this will inevitably result in drop in quality that will also affect the LLMs themselves downstream. I think we underestimate the importance that intentionality in human-written text plays in being in the training sets&#x2F;context windows of LLMs for them to give relevant&#x2F;useful output.","created_at":"2026-03-13T22:12:57Z","created_at_i":1773439977,"objectID":"47370667","parent_id":47370494,"story_id":47366666,"story_title":"Elon Musk pushes out more xAI founders as AI coding effort falters","story_url":"https://www.ft.com/content/e5fbc6c2-d5a6-4b97-a105-6a96ea849de5","updated_at":"2026-03-24T09:26:09Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"reverius42"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"Not sure that matters when the entire language spec is expected to be part of every <em>context</em> <em>window</em>? The <em>LLM</em> should be capable of using the language spec to express intended precedence."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: The Mog Programming Language"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://moglang.org"}},"_tags":["comment","author_reverius42","story_47312728"],"author":"reverius42","comment_text":"Not sure that matters when the entire language spec is expected to be part of every context window? The LLM should be capable of using the language spec to express intended precedence.","created_at":"2026-03-09T23:31:04Z","created_at_i":1773099064,"objectID":"47317214","parent_id":47315306,"story_id":47312728,"story_title":"Show HN: The Mog Programming Language","story_url":"https://moglang.org","updated_at":"2026-03-09T23:32:56Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"vb7132"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"<p><pre><code>  IMO, the writer is overzealous with their comments on <em>LLMs</em>. As a coder, it feels like an outsider trying out a product that was amazed me over and over so many times.\n\n  &gt; They aren\u2019t perfect, but the kind of analysis the program is able to do is past the point where technology looks like magic.\n\n  But as you use this product over a long period of time, there are many obvious gaps - hallucinations / repeated tool calls / out of <em>context</em> outputs / etc.\n\n  To me, refine.ink sounds like a company that has built heavy tooling around some super high <em>context</em> <em>window</em> <em>LLMs</em> and then some very good prompts. Their claim is to compare it against any good off-the-shelf <em>LLM</em> with any prompt. But when you are spending bunch of money to build a whole ecosystem around <em>LLMs</em>, it's obvious that it's not going to beat their output. \n\n  I won't be surprised if the next version of an <em>LLM</em> within the next few months completely outperforms their output -- that's usually the case with all the coding tools and scaffoldings. They are rendered useless by a superior <em>LLM</em>.</code></pre>"},"story_title":{"matchLevel":"none","matchedWords":[],"value":"I don't know how you get here from \u201cpredict the next word\u201d"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.grumpy-economist.com/p/refine"}},"_tags":["comment","author_vb7132","story_47162059"],"author":"vb7132","comment_text":"<p><pre><code>  IMO, the writer is overzealous with their comments on LLMs. As a coder, it feels like an outsider trying out a product that was amazed me over and over so many times.\n\n  &gt; They aren\u2019t perfect, but the kind of analysis the program is able to do is past the point where technology looks like magic.\n\n  But as you use this product over a long period of time, there are many obvious gaps - hallucinations &#x2F; repeated tool calls &#x2F; out of context outputs &#x2F; etc.\n\n  To me, refine.ink sounds like a company that has built heavy tooling around some super high context window LLMs and then some very good prompts. Their claim is to compare it against any good off-the-shelf LLM with any prompt. But when you are spending bunch of money to build a whole ecosystem around LLMs, it&#x27;s obvious that it&#x27;s not going to beat their output. \n\n  I won&#x27;t be surprised if the next version of an LLM within the next few months completely outperforms their output -- that&#x27;s usually the case with all the coding tools and scaffoldings. They are rendered useless by a superior LLM.</code></pre>","created_at":"2026-02-26T11:56:18Z","created_at_i":1772106978,"objectID":"47164872","parent_id":47162059,"story_id":47162059,"story_title":"I don't know how you get here from \u201cpredict the next word\u201d","story_url":"https://www.grumpy-economist.com/p/refine","updated_at":"2026-03-05T23:37:43Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"rstuart4133"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"&gt; I think my question at this point is what about this is specific to <em>LLMs</em>. Humans should not be forced to wade through reams of garbage output either.<p>Beware I'm a complete AI layman.  All this is from background reading of popular articles.  It may well be wrong.  It's definitely out of date.<p>It has to do with how the attention heads work.  The attention heads (the idea originated from the &quot;Attention is all you need&quot; paper, arguably the single most important AI paper to date), direct the <em>LLM</em> to work on the most relevant parts of the conversation.  If you want a human analogue, it's your attention heads that are tacking the interesting points in a conversation.<p>The original attention heads output a relevance score for every pair of words in the <em>context</em> <em>window</em>.  Thus in &quot;Time flies like an arrow&quot;, it's the attention heads that spot the word &quot;Time&quot; is very relevant to &quot;arrow&quot;, but not &quot;flies&quot;.  The implication of this is an attention head does O(N*N) work.  It does not scale well to large <em>context</em> windows.<p>Nonetheless, you see claims of &quot;large&quot; <em>context</em> windows the <em>LLMs</em> marketing.  (Large is in quotes, because even a 1M <em>context</em> <em>window</em> begins to feel very cramped in a write / test / fix loop.)  But a 1M <em>context</em>-<em>window</em> would require a attention head requiring a 1 trillion element matrix.  That isn't feasible.  The industry even has a name for the size of the <em>window</em> they give in their marketing: the Effective <em>Context</em> <em>Window</em>.  Internally they have another metric that measures the real amount of compute they throw at attention: the Physical <em>Context</em> <em>Window</em>.  The bridge between the two is some proprietary magic that discards tokens in the <em>context</em> <em>window</em> that are likely to be irrelevant.  In my experience, that bridge is pretty good at doing that, where &quot;pretty good&quot; is up to human standards.<p>But eventually (actually quickly in my experience), you fill up even the marketed size of the <em>context</em> <em>window</em> because it is remembering every word said, in the order they were said.  If it reads code it's written to debug it, it appears twice in the <em>context</em> <em>window</em>.  All compiler and test output also ends up there.  Once the <em>context</em> <em>window</em> fills up they take drastic action, because it like letting malloc fail.  Even reporting a malloc failure is hard because it usually needs more malloc to do the reporting.  Anthropic calls it compacting.  It throws away 90% of your tokens.  It turns your helpful <em>LLM</em> into a goldfish with dementia.  It is nowhere near as good as human is at remembering what happened.  Not even close."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm"],"value":"<em>LLM</em>=True"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://blog.codemine.be/posts/2026/20260222-be-quiet/"}},"_tags":["comment","author_rstuart4133","story_47149151"],"author":"rstuart4133","comment_text":"&gt; I think my question at this point is what about this is specific to LLMs. Humans should not be forced to wade through reams of garbage output either.<p>Beware I&#x27;m a complete AI layman.  All this is from background reading of popular articles.  It may well be wrong.  It&#x27;s definitely out of date.<p>It has to do with how the attention heads work.  The attention heads (the idea originated from the &quot;Attention is all you need&quot; paper, arguably the single most important AI paper to date), direct the LLM to work on the most relevant parts of the conversation.  If you want a human analogue, it&#x27;s your attention heads that are tacking the interesting points in a conversation.<p>The original attention heads output a relevance score for every pair of words in the context window.  Thus in &quot;Time flies like an arrow&quot;, it&#x27;s the attention heads that spot the word &quot;Time&quot; is very relevant to &quot;arrow&quot;, but not &quot;flies&quot;.  The implication of this is an attention head does O(N*N) work.  It does not scale well to large context windows.<p>Nonetheless, you see claims of &quot;large&quot; context windows the LLMs marketing.  (Large is in quotes, because even a 1M context window begins to feel very cramped in a write &#x2F; test &#x2F; fix loop.)  But a 1M context-window would require a attention head requiring a 1 trillion element matrix.  That isn&#x27;t feasible.  The industry even has a name for the size of the window they give in their marketing: the Effective Context Window.  Internally they have another metric that measures the real amount of compute they throw at attention: the Physical Context Window.  The bridge between the two is some proprietary magic that discards tokens in the context window that are likely to be irrelevant.  In my experience, that bridge is pretty good at doing that, where &quot;pretty good&quot; is up to human standards.<p>But eventually (actually quickly in my experience), you fill up even the marketed size of the context window because it is remembering every word said, in the order they were said.  If it reads code it&#x27;s written to debug it, it appears twice in the context window.  All compiler and test output also ends up there.  Once the context window fills up they take drastic action, because it like letting malloc fail.  Even reporting a malloc failure is hard because it usually needs more malloc to do the reporting.  Anthropic calls it compacting.  It throws away 90% of your tokens.  It turns your helpful LLM into a goldfish with dementia.  It is nowhere near as good as human is at remembering what happened.  Not even close.","created_at":"2026-02-26T02:25:57Z","created_at_i":1772072757,"objectID":"47161027","parent_id":47150870,"story_id":47149151,"story_title":"LLM=True","story_url":"https://blog.codemine.be/posts/2026/20260222-be-quiet/","updated_at":"2026-03-05T23:37:34Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"burnerToBetOut"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["context","window","llm"],"value":"The answer, my friendow, is blowing in the <em>context</em> <em>window</em> [1]\u2026<p>_______<p>\u2026<i><em>LLMs</em> already &quot;know&quot; these books deeply, but without a structured prompt scaffold they apply that knowledge inconsistently and at low confidence. Giving the model a explicit lens \u2014 &quot;review this as if you're checking against Clean Code heuristics C1\u2013C36&quot; \u2014 concentrates attention and dramatically reduces hallucinated or off-topic feedback</i>\u2026<p>\u2026<p><i>Where I'd push back or warn you</i>:<p><i><em>Context</em> collapse is your #1 enemy. Clean Code was written for Java in 2008. DDIA is about distributed systems at scale. If you apply the Clean Code reviewer to a 50-line Python script, you'll get pedantic nonsense about function length when the actual problem might be that the data model is wrong. Your skill selection logic needs to be domain-aware, not just &quot;throw all skills at every file&quot;</i>\u2026<p>\u2026<p>_______<p>[1] <a href=\"https://g2ww.short.gy/ZLStasQ1\" rel=\"nofollow\">https://g2ww.short.gy/ZLStasQ1</a>"},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: Using classic dev books to guide AI agents"}},"_tags":["comment","author_burnerToBetOut","story_47098555"],"author":"burnerToBetOut","comment_text":"The answer, my friendow, is blowing in the context window [1]\u2026<p>_______<p>\u2026<i>LLMs already &quot;know&quot; these books deeply, but without a structured prompt scaffold they apply that knowledge inconsistently and at low confidence. Giving the model a explicit lens \u2014 &quot;review this as if you&#x27;re checking against Clean Code heuristics C1\u2013C36&quot; \u2014 concentrates attention and dramatically reduces hallucinated or off-topic feedback</i>\u2026<p>\u2026<p><i>Where I&#x27;d push back or warn you</i>:<p><i>Context collapse is your #1 enemy. Clean Code was written for Java in 2008. DDIA is about distributed systems at scale. If you apply the Clean Code reviewer to a 50-line Python script, you&#x27;ll get pedantic nonsense about function length when the actual problem might be that the data model is wrong. Your skill selection logic needs to be domain-aware, not just &quot;throw all skills at every file&quot;</i>\u2026<p>\u2026<p>_______<p>[1] <a href=\"https:&#x2F;&#x2F;g2ww.short.gy&#x2F;ZLStasQ1\" rel=\"nofollow\">https:&#x2F;&#x2F;g2ww.short.gy&#x2F;ZLStasQ1</a>","created_at":"2026-02-21T11:01:04Z","created_at_i":1771671664,"objectID":"47099583","parent_id":47098555,"story_id":47098555,"story_title":"Show HN: Using classic dev books to guide AI agents","updated_at":"2026-03-05T23:37:00Z"}],"hitsPerPage":20,"nbHits":4776,"nbPages":50,"page":0,"params":"query=context+window+LLM&advancedSyntax=true&analyticsTags=backend","processingTimeMS":32,"processingTimingsMS":{"_request":{"roundTrip":14},"afterFetch":{"format":{"highlighting":1,"total":1},"merge":{"mergeLoop":{"prepareNextHit":4,"total":4},"total":5},"total":5},"fetch":{"query":6,"scanning":18,"total":25},"total":32},"query":"context window LLM","serverTimeMS":33}
