JohnMakin 11 hours ago

> Building powerful and reliable AI Agents is becoming less about finding a magic prompt or model updates.

Ok, I can buy this

> It is about the engineering of context and providing the right information and tools, in the right format, at the right time.

when the "right" format and "right" time are essentially, and maybe even necessarily, undefined, then aren't you still reaching for a "magic" solution?

If the definition of "right" information is "information which results in a sufficiently accurate answer from a language model" then I fail to see how you are doing anything fundamentally differently than prompt engineering. Since these are non-deterministic machines, I fail to see any reliable heuristic that is fundamentally indistinguishable than "trying and seeing" with prompts.

  • mentalgear 10 hours ago

    It's magical thinking all the way down. Whether they call it now "prompt" or "context" engineering because it's the same tinkering to find something that "sticks" in non-deterministic space.

    • surecoocoocoo 2 hours ago

      We used to define a specification.

      In other words; context.

      But that was like old man programming.

      As the laws of physics changed between 1970 and 2009.

    • nonethewiser 5 hours ago

      >Whether they call it now "prompt" or "context" engineering because it's the same tinkering to find something that "sticks" in non-deterministic space.

      I dont quite follow. Prompts and contexts are different things. Sure, you can get thing into contexts with prompts but that doesn't mean they are entirely the same.

      You could have a long running conversation with a lot in the context. A given prompt may work poorly, whereas it would have worked quite well earlier. I don't think this difference is purely semantic.

      For whatever it's worth I've never liked the term "prompt engineering." It is perhaps the quintessential example of overusing the word engineering.

      • Turskarama an hour ago

        Both the context and the prompt are just part of the same input. To the model there is no difference, the only difference is the way the user feeds that input to the model. You could in theory feed the context into the model as one huge prompt.

      • pennaMan 22 minutes ago

        I always used "prompting" to mean "providing context" in genral not necesarlly just clever instructions like people seem to be using the term.

        And yes, I view clever instructions like "great grandma's last wish" still as just providing context.

        >A given prompt may work poorly, whereas it would have worked quite well earlier.

        The context is not the same! Of course the "prompt" (clever last sentence you just added to the context) is not going to work "the same". The model has a different context now.

      • ffsm8 4 hours ago

        Yeah, if anything it should be called an art.

        The term engineering makes little sense in this context, but really... Did it make sense for eg "QA Engineer" and all the other jobs we tacked it on, too? I don't think so, so it's kinda arguing after we've been misusing the term for well over 10 yrs

        • groestl 3 hours ago

          Well, to get the right thing into the context in a performant way when you dealing with a huge dataset is definitely engineering.

    • ironmagma an hour ago

      What is all software but tinkering?

      I mean this not as an insult to software dev but to work generally. It’s all play in the end.

  • Aeolun 5 hours ago

    There is only so much you can do with prompts. To go from the 70% accuracy you can achieve with that to the 95% accuracy I see in Claude Code, the context is absolutely the most important, and it’s visible how much effort goes into making sure Claude retrieves exactly the right context, often at the expense of speed.

    • majormajor 4 hours ago

      Why are we drawing a difference between "prompt" and "context" exactly? The linked article is a bit of puffery that redefines a commonly-used term - "context" - to mean something different than what it's meant so far when we discuss "context windows." It seems to just be some puffery to generate new hype.

      When you play with the APIs the prompt/context all blurs together into just stuff that goes into the text fed to the model to produce text. Like when you build your own basic chatbot UI and realize you're sending the whole transcript along with every step. Using the terms from the article, that's "State/History." Then "RAG" and "Long term memory" are ways of working around the limits of context window size and the tendency of models to lose the plot after a huge number of tokens, to help make more effective prompts. "Available tools" info also falls squarely in the "prompt engineering" category.

      The reason prompt engineering is going the way of the dodo is because tools are doing more of the drudgery to make a good prompt themselves. E.g., finding relevant parts of a codebase. They do this with a combination of chaining multiple calls to a model together to progressively build up a "final" prompt plus various other less-LLM-native approaches (like plain old "find").

      So yeah, if you want to build a useful LLM-based tool for users you have to write software to generate good prompts. But... it ain't really different than prompt engineering other than reducing the end user's need to do it manually.

      It's less that we've made the AI better and more that we've made better user interfaces than just-plain-chat. A chat interface on a tool that can read your code can do more, more quickly, than one that relies on you selecting all the relevant snippets. A visual diff inside of a code editor is easier to read than a markdown-based rendering of the same in a chat transcript. Etc.

      • arugulum 4 hours ago

        Because the author is artifically shrinking the scope of one thing (prompt engineering) to make its replacement look better (context engineering).

        Never mind that prompt engineering goes back to pure LLMs before ChatGPT was released (i.e. before the conversation paradigm was even the dominant one for LLMs), and includes anything from few-shot prompting (including question-answer pairs), providing tool definitions and examples, retrieval augmented generation, and conversation history manipulation. In academic writing, LLMs are often defined as a distribution P(y|x) where X is not infrequently referred to as the prompt. In other words, anything that comes before the output is considered the prompt.

        But if you narrow the definition of "prompt" down to "user instruction", then you get to ignore all the work that's come before and talk up the new thing.

      • simonw 4 hours ago

        One crucial difference between prompt and the context: the prompt is just content that is provided by a user. The context also includes text that was output by the bot - in conversational interfaces the context incorporates the system prompt, then the user's first prompt, the LLMs reply, the user's next prompt and so-on.

        • majormajor 4 hours ago

          Here, even making that distinction of prompt-as-most-recent-user-input-only, if we use context as how it's generally been defined in "context window" then RAG and such are not then part of the context. They are just things that certain applications might use to enrich the context.

          But personally I think a focus on "prompt" that refers to a specific text box in a specific application vs using it to refer to the sum total of the model input increases confusion about what's going on behind the scenes. At least when referring to products built on the OpenAI Chat Completions APIs, which is what I've used the most.

          Building a simple dummy chatbot UI is very informative here for de-mystifying things and avoiding misconceptions about the model actually "learning" or having internal "memory" during your conversation. You're just supplying a message history as the model input prompt. It's your job to keep submitting the history - and you're perfectly able to change it if you like (such as rolling up older messages to keep a shorter context window).

  • dinvlad 10 hours ago

    > when the "right" format and "right" time are essentially, and maybe even necessarily, undefined, then aren't you still reaching for a "magic" solution?

    Exactly the problem with all "knowing how to use AI correctly" advice out there rn. Shamans with drums, at the end of the day :-)

  • andy99 10 hours ago

    It's called over-fitting, that's basically what prompt engineering is.

  • PeterStuer 2 hours ago

    "these are non-deterministic machines"

    Only if you choose so by allowing some degree of randomness with the temperature setting.

    • edflsafoiewq 5 minutes ago

      In the strict sense, sure, but the point is they depend not only on the seed but on seemingly minor variations in the prompt.

    • zelphirkalt 23 minutes ago

      This is what irks me so often when reading these comments. This is just software inside a ordinary computer, it always does the same with the same input, which includes hidden and global state. Stating that they are "non-deterministic machines" sounds like throwing the towel and thinking "it's magic!". I am not even sure what people want to actually express, when they make these false statements.

      If one wants to make something give the same answers every time, one needs to control all the variables of input. This is like any other software including other machine learning algorithms.

  • autobodie 3 hours ago

    Tha problem is that "right" is defined circularly

  • felipeerias 6 hours ago

    If someone asked you about the usages of a particular element in a codebase, you would probably give a more accurate answer if you were able to use a code search tool rather than reading every source file from top to bottom.

    For that kind of tasks (and there are many of those!), I don't see why you would expect something fundamentally different in the case of LLMs.

  • edwardbernays 11 hours ago

    The state of the art theoretical frameworks typically separates these into two distinct exploratory and discovery phases. The first phase, which is exploratory, is best conceptualized as utilizing an atmospheric dispersion device. An easily identifiable marker material, usually a variety of feces, is metaphorically introduced at high velocity. The discovery phase is then conceptualized as analyzing the dispersal patterns of the exploratory phase. These two phases are best summarized, respectively, as "Fuck Around" followed by "Find Out."

  • colordrops an hour ago

    > Since these are non-deterministic machines, I fail to see any reliable heuristic that is fundamentally indistinguishable than "trying and seeing" with prompts

    There are many sciences involving non-determinism that still have laws and patterns, e.g. biology and maybe psychology. It's not all or nothing.

    Also, LLMs are deterministic, just not predictable. The non-determinism is injected by providers.

    Anyway is there an essential difference between prompt engineering and context engineering? They seem like two names for the same thing.

  • pbreit 2 hours ago

    What's the difference?

  • FridgeSeal 9 hours ago

    It’s just AI people moving the goalposts now that everyone has realised that “prompt engineering” isn’t a special skill.

    • coliveira 7 hours ago

      In other words, "if AI doesn't work for you the problem is not IA, it is the user", that's what AI companies want us to believe.

      • shermantanktop 6 hours ago

        That’s a good indicator of an ideology at work: no-true-Scotsman deployed at every turn.

    • j45 5 hours ago

      Everything is new to someone and the tends of reference will evolve.

  • ninetyninenine 4 hours ago

    Yeah but do we have to make a new buzz word out of it? "Context engineer"

  • csallen 8 hours ago

    This is like telling a soccer player that no change in practice or technique is fundamentally different than another, because ultimately people are non-deterministic machines.

bgwalter 9 hours ago

These discussions increasingly remind me of gamers discussing various strategies in WoW or similar. Purportedly working strategies found by trial and error and discussed in a language that is only intelligible to the in-group (because no one else is interested).

We are entering a new era of gamification of programming, where the power users force their imaginary strategies on innocent people by selling them to the equally clueless and gaming-addicted management.

  • dysoco 5 hours ago

    > Purportedly working strategies found by trial and error and discussed in a language that is only intelligible to the in-group

    This really does sound like Computer Science since it's very beginnings.

    The only difference is that now it's a much more popular field, and not restricted to a few nerds sharing tips over e-mail or bbs.

    • dawnofdusk 4 hours ago

      >This really does sound like Computer Science since it's very beginnings.

      Except in actual computer science you can prove that your strategies, discovered by trial and error, are actually good. Even though Dijkstra invented his eponymous algorithm by writing on a napkin, it's phrased in the language of mathematics and one can analyze quantitatively its effectiveness and trade-offs, and one can prove if it's optimal (as was done recently).

      • pbhjpbhj 23 minutes ago

        Surely claims about context engineering can also be tested using scientific methodology?

  • coderatlarge 9 hours ago

    i tend to share your view. but then your comment describes a lot of previous cycles of enterprise software selling. it’s just that this time is reaching a little uncomfortably into the builder’s /developer’s traditional areas of influence/control/workflow. how devs feel now is probably how others (ex csr, qa, sre) felt in the past when their managers pushed whatever tooling/practice was becoming popular or sine qua non in previous “waves”.

    • sarchertech 7 hours ago

      This has been happening to developers for years.

      25 years ago it was object oriented programming.

      • coliveira 7 hours ago

        The difference is that with OO there was at least hope that a well trained programmer could make it work. Nowadays, any person who understands how AI knows that's near impossible.

  • matkoniecz 3 hours ago

    > only intelligible to the in-group (because no one else is interested)

    that applies to basically any domain-specific terminology, from WoW raids through cancer research to computer science and say OpenStreetMap

  • Madmallard 5 hours ago

    There's quite a lot science that goes into WoW strategizing at this point.

    People are using their thinking caps and modelling data.

  • mrits 6 hours ago

    Tuning the JVM, compiler optimizations, design patterns, agile methodologies, seo , are just a few things that come to mind

simonw 11 hours ago

I wrote a bit about this the other day: https://simonwillison.net/2025/Jun/27/context-engineering/

Drew Breunig has been doing some fantastic writing on this subject - coincidentally at the same time as the "context engineering" buzzword appeared but actually unrelated to that meme.

How Long Contexts Fail - https://www.dbreunig.com/2025/06/22/how-contexts-fail-and-ho... - talks about the various ways in which longer contexts can start causing problems (also known as "context rot")

How to Fix Your Context - https://www.dbreunig.com/2025/06/26/how-to-fix-your-context.... - gives names to a bunch of techniques for working around these problems including Tool Loadout, Context Quarantine, Context Pruning, Context Summarization, and Context Offloading.

  • the_mitsuhiko 11 hours ago

    Drew Breunig's posts are a must read on this. This is not only important for writing your own agents, it is also critical when using agentic coding right now. These limitations/behaviors will be with us for a while.

    • outofpaper 11 hours ago

      They might be good reads on the topic but Drew makes some significant etymological mistakes. For example loadout doesn't come from gaming but military terminology. It's essentially the same as kit or gear.

      • simonw 11 hours ago

        Drew isn't using that term in a military context, he's using it in a gaming context. He defines what he means very clearly:

        > The term “loadout” is a gaming term that refers to the specific combination of abilities, weapons, and equipment you select before a level, match, or round.

        In the military you don't select your abilities before entering a level.

        • xarope 3 hours ago

          the military definitely do use the term loadout. It can be based on mission parameters e.g. if armored vehicles are expected, your loadout might include more MANPATS. It can also refer to the way each soldier might customize their gear, e.g. cutaway knife in boot or on vest, NODs if extended night operations expected (I know, I know, gamers would like to think you'd bring everything, but in real life no warfighter would want to carry extra weight unnecessarily!), or even the placement of gear on their MOLLE vests (all that velcro has a reason).

        • GuinansEyebrows 9 hours ago

          i think that software engineers using this terminology might be envisioning themselves as generals, not infantry :)

      • DiggyJohnson 10 hours ago

        This seems like a rather unimportant type of mistake, especially because the definition is still accurate, it’s just the etymology isn’t complete.

      • coldtea 7 hours ago

        >Drew makes some significant etymological mistakes. For example loadout doesn't come from gaming but military terminology

        Does he pretend to give the etymology and ultimately origin of the term, or just where he or other AI-discussions found it? Because if it's the latter, he is entitled to call it a "gaming" term, because that's what it is to him and those in the discussion. He didn't find it in some military manual or learned it at boot camp!

        But I would mostly challenge this mistake, if we admit it as such, is "significant" in any way.

        The origin of loadout is totally irrelevant to the point he makes and the subject he discusses. It's just a useful term he adopted, it's history is not really relevant.

      • scubbo 9 hours ago

        It _is_ a gaming term - it is also a military term (from which the gaming term arose).

      • ZYbCRq22HbJ2y7 11 hours ago

        > They might be good reads on the topic but Drew makes some significant etymological mistakes. For example loadout doesn't come from gaming but military terminology. It's essentially the same as kit or gear.

        Doesn't seem that significant?

        Not to say those blog posts say anything much anyway that any "prompt engineer" (someone who uses LLMs frequently) doesn't already know, but maybe it is useful to some at such an early stage of these things.

      • luckydata 6 hours ago

        this is textbook pointless pedantry. I'm just commenting to find it again in the future.

        • pbhjpbhj 19 minutes ago

          Click on the 'time' part of the comment header, then you can 'favorite' the comment. That way you can avoid adding such comments in the future.

  • Daub 6 hours ago

    For visual art I feel that the existing approaches in context engineering are very much lacking. An Ai understands well enough such simple things as content (bird, dog, owl etc), color (blue green etc) and has a fair understanding of foreground/background. However, the really important stuff is not addressed.

    For example: in form, things like negative shape and overlap. In color contrast things like Ratio contrast and dynamic range contrast. Or how manipulating neighboring regional contrast produces tone wrap. I could go on.

    One reason for this state of affairs is that artists and designers lack the consistent terminology to describe what they are doing (though this does not stop them from operating at a high level). Indeed, many of the terms I have used here we (my colleagues and I) had to invent ourselves. I would love to work with an AI guru to address this developing problem.

    • skydhash 6 hours ago

      > artists and designers lack the consistent terminology to describe what they are doing

      I don't think they do. It may not be completely consistent, but open any art book and you find the same thing being explained again and again. Just for drawing humans, you will find emphasis on the skeleton and muscle volume for forms and poses, planes (especially the head) for values and shadows, some abstract things like stability and line weight, and some more concrete things like foreshortening.

      Several books and course have gone over those concepts. They are not difficult to explain, they are just difficult to master. That's because you have to apply judgement for every single line or brush stroke deciding which factors matter most and if you even want to do the stroke. Then there's the whole hand eye coordination.

      So unless you can solve judgement (which styles derive from), there's not a lot of hope there.

      ADDENDUM

      And when you do a study of another's work, it's not copying the data, extracting colors, or comparing labels,... It's just studying judgement. You know the complete formula from which a more basic version is being used for the work, and you only want to know the parameters. Whereas machine training is mostly going for the wrong formula with completely different variables.

  • arbitrary_name 4 hours ago

    From the first link:Read large enough context to ensure you get what you need.

    How does this actually work, and how can one better define this to further improve the prompt?

    This statement feels like the 'draw the rest of the fucking owl' referred to elsewhere in the thread

    • simonw 4 hours ago

      I'm not sure how you ended up on that page... my comment above links to https://simonwillison.net/2025/Jun/27/context-engineering/

      The "Read large enough context to ensure you get what you need" quote is from a different post entirely, this one: https://simonwillison.net/2025/Jun/30/vscode-copilot-chat/

      That's part of the system prompts used by the GitHub Copilot Chat extension for VS Code - from this line: https://github.com/microsoft/vscode-copilot-chat/blob/40d039...

      The full line is:

        When using the {ToolName.ReadFile} tool, prefer reading a
        large section over calling the {ToolName.ReadFile} tool many
        times in sequence. You can also think of all the pieces you
        may be interested in and read them in parallel. Read large
        enough context to ensure you get what you need.
      
      That's a hint to the tool-calling LLM that it should attempt to guess which area of the file is most likely to include the code that it needs to review.

      It makes more sense if you look at the definition of the ReadFile tool:

      https://github.com/microsoft/vscode-copilot-chat/blob/40d039...

        description: 'Read the contents of a file. Line numbers are
        1-indexed. This tool will truncate its output at 2000 lines
        and may be called repeatedly with offset and limit parameters
        to read larger files in chunks.'
      
      The tool takes three arguments: filePath, offset and limit.
  • old_man_cato 10 hours ago

    [flagged]

    • d0gsg0w00f 10 hours ago

      This hits too close to home.

    • _carbyau_ 9 hours ago

      [flagged]

      • crsv 8 hours ago

        And then the AI doesn’t handle the front end caching properly for the 100th time in a row so you edit the owl and nothing changes after you press save.

      • NomDePlum 9 hours ago

        [flagged]

        • TrainedMonkey 9 hours ago

          Hire a context engineer to define the task of drawing an owl as drawing two owls.

        • zdw 5 hours ago

          [flagged]

    • jknoepfler 9 hours ago

      Oh, and don't forget to retain the artist to correct the ever-increasingly weird and expensive mistakes made by the context when you need to draw newer, fancier pelicans. Maybe we can just train product to draw?

  • dosnem 7 hours ago

    Providing context makes sense to me, but do you have any examples of providing context and then getting the AI to produce something complex? I am quite a proponent of AI but even I find myself failing to produce significant results on complex problems, even when I have clone + memory bank, etc. it ends up being a time sink of trying to get the ai to do something only to have me eventually take over and do it myself.

    • simonw 7 hours ago

      Quite a few times, I've been able to give it enough context to write me an entire working piece of software in a single shot. I use that for plugins pretty often, eg this:

        llm -m openai/o3 \
          -f https://raw.githubusercontent.com/simonw/llm-hacker-news/refs/heads/main/llm_hacker_news.py \
          -f https://raw.githubusercontent.com/simonw/tools/refs/heads/main/github-issue-to-markdown.html \
          -s 'Write a new fragments plugin in Python that registers issue:org/repo/123 which fetches that issue
            number from the specified github repo and uses the same markdown logic as the HTML page to turn that into a fragment'
      
      Which produced this: https://gist.github.com/simonw/249e16edffe6350f7265012bee9e3...
    • AnotherGoodName 6 hours ago

      I had a series of “Using Manim create an animation for formula X rearranging into formula Y with a graph of values of the function”

      Beautiful one shot results and i now have really nice animations of some complex maths to help others understand. (I’ll put it up on youtube soon).

      I don't know the manim library at all so saved me about a week of work learning and implementing

  • storus 11 hours ago

    Those issues are considered artifacts of the current crop of LLMs in academic circles; there is already research allowing LLMs to use millions of different tools at the same time, and stable long contexts, likely reducing the amount of agents to one for most use cases outside interfacing different providers.

    Anyone basing their future agentic systems on current LLMs would likely face LangChain fate - built for GPT-3, made obsolete by GPT-3.5.

    • simonw 11 hours ago

      Can you link to the research on millions of different terms and stable long contexts? I haven't come across that yet.

      • storus 10 hours ago

        You can look at AnyTool, 2024 (16,000 tools) and start looking at newer research from there.

        https://arxiv.org/abs/2402.04253

        For long contexts start with activation beacons and RoPE scaling.

        • simonw 10 hours ago

          I would classify AnyTool as a context engineering trick. It's using GPT-4 function calls (what we would call tool calls today) to find the best tools for the current job based on a 3-level hierarchy search.

          Drew calls that one "Tool Loadout" https://www.dbreunig.com/2025/06/26/how-to-fix-your-context....

          • timr 8 hours ago

            So great. We have not one, but two different ways of saying "use text search to find tools".

            This field, I swear...it's the PPAP [1] of engineering.

            [1] https://www.youtube.com/watch?v=NfuiB52K7X8

            I have a toool...I have a seeeeearch...unh! Now I have a Tool Loadout!" *dances around in leopard print pyjamas*

        • Art9681 6 hours ago

          RoPE scaling is not an ideal solution since all LLMs in general start degrading at around 8k. You also have the problem of cost by yolo'ing long context per task turn even if the LLM were capable of crunching 1M tokens. If you self host then you have the problem of prompt processing time. So it doesnt matter in the end if the problem is solved and we can invoke n number of tools per task turn. It will be a quick way to become poor as long as providers are charging per token. The only viable solution is to use a smart router so only the relevant tools and their descriptions are appended to the context per task turn.

        • nyrikki 9 hours ago

          Thanks for the link. It finally explained why I was getting hit up by recruiters for a job that was for a data broker looking to do what seemed like silly uses.

          Cloud API recommender systems must seem like a gift to that industry.

          Not my area anyways but I couldn't see a profit model for a human search for an API when what they wanted is well covered by most core libraries in Python etc...

    • ZYbCRq22HbJ2y7 10 hours ago

      How would "a million different tool calls at the same time" work? For instance, MCP is HTTP based, even at low latency in incredibly parallel environments that would take forever.

      • Art9681 6 hours ago

        It wouldn't. There is a difference between theory and practicality. Just because we could, doesnt mean we should, especially when costs per token are considered. Capability and scale are often at odds.

      • Jarwain 8 hours ago

        MCPs aren't the only way to embed tool calls into an LLM

        • coldtea 7 hours ago

          Doesn't change the argument.

          • tptacek 6 hours ago

            It obviously does.

            • Art9681 6 hours ago

              It does not. Context is context no matter how you process it. You can configure tools without MCP or with it. No matter. You still have to provide that as context to an LLM.

              • tptacek 6 hours ago

                If you're using native tool calls and not MCP, the latency of calls is a nonfactor; that was the concern raised by the root comment.

    • Foreignborn 10 hours ago

      yes, but those aren’t released and even then you’ll always need glue code.

      you just need to knowingly resource what glue code is needed, and build it in a way it can scale with whatever new limits that upgraded models give you.

      i can’t imagine a world where people aren’t building products that try to overcome the limitations of SOTA models

      • storus 10 hours ago

        My point is that newer models will have those baked in, so instead of supporting ~30 tools before falling apart they will reliably support 10,000 tools defined in their context. That alone would dramatically change the need for more than one agent in most cases as the architectural split into multiple agents is often driven by the inability to reliably run many tools within a single agent. Now you can hack around it today by turning tools on/off depending on the agent's state but at some point in the future you might afford not to bother and just dump all your tools to a long stable context, maybe cache it for performance, and that will be it.

        • ZYbCRq22HbJ2y7 10 hours ago

          There will likely be custom, large, and expensive models at an enterprise level in the near future (some large entities and governments already have them (niprgpt)).

          With that in mind, what would be the business sense in siloing a single "Agent" instead of using something like a service discovery service that all benefit from?

          • storus 10 hours ago

            My guess is the main issue is latency and accuracy; a single agent without all the routing/evaluation sub-agents around it that introduce cumulative errors, lead to infinite loops and slow it down would likely be much faster, accurate and could be cached at the token level on a GPU, reducing token preprocessing time further. Now different companies would run different "monorepo" agents and those would need something like MCP to talk to each other at the business boundary, but internally all this won't be necessary.

            Also the current LLMs have still too many issues because they are autoregressive and heavily biased towards the first few generated tokens. They also still don't have full bidirectional awareness of certain relationships due to how they are masked during the training. Discrete diffusion looks interesting but I am not sure how does that one deal with tools as I've never seen a model from that class using any tools.

  • JoeOfTexas 10 hours ago

    So who will develop the first Logic Core that automates the context engineer.

    • igravious 10 hours ago

      The first rule of automation: that which can be automated will be automated.

      Observation: this isn't anything that can't be automated /

  • risyachka 10 hours ago

    “A month-long skill” after which it won’t be a thing anymore, like so many other.

    • simonw 10 hours ago

      Most of the LLM prompting skills I figured out ~three years ago are still useful to me today. Even the ones that I've dropped are useful because I know that things that used to be helpful aren't helpful any more, which helps me build an intuition for how the models have improved over time.

      • dbreunig 9 hours ago

        While researching the above posts Simon linked, I was struck by how many of these techniques came from the pre-ChatGPT era. NLP researchers have been dealing with this for awhile.

      • refulgentis 9 hours ago

        I agree with you, but would echo OP's concern, in a way that makes me feel like a party pooper, but, is open about what I see us all expressing squeamish-ness about.

        It is somewhat bothersome to have another buzz phrase. I don't why we are doing this, other than there was a Xeet from the Shopify CEO, QT'd approvingly by Karpathy, then its written up at length, and tied to another set of blog posts.

        To wit, it went from "buzzphrase" to "skill that'll probably be useful in 3 years still" over the course of this thread.

        Has it even been a week since the original tweet?

        There doesn't seem to be a strong foundation here, but due to the reach potential of the names involved, and their insistence on this being a thing while also indicating they're sheepish it is a thing, it will now be a thing.

        Smacks of a self-aware version of Jared Friedman's tweet re: watching the invention of "Founder Mode" was like a startup version of the Potsdam Conference. (which sorted out Earth post-WWII. and he was not kidding. I could not even remember the phrase for the life of me. Lasted maybe 3 months?)

        • dbreunig 9 hours ago

          Sometimes buzzwords turn out to be mirages that disappear in a few weeks, but often they stick around.

          I find they takeoff when someone crystallizes something many people are thinking about internally, and don’t realize everyone else is having similar thoughts. In this example, I think the way agent and app builders are wrestling with LLMs is fundamentally different than chatbots users (it’s closer to programming), and this phrase resonates with that crowd.

          Here’s an earlier write up on buzzwords: https://www.dbreunig.com/2020/02/28/how-to-build-a-buzzword....

          • refulgentis 9 hours ago

            I agree - what distinguishes this is how rushed and self-aware it is. It is being pushed top down, sheepishly.

            EDIT: Ah, you also wrote the blog posts tied to this. It gives 0 comfort that you have a blog post re: building buzz phrases in 2020, rather, it enhances the awkward inorganic rush people are self-aware of.

            • dbreunig 8 hours ago

              I studied linguistic anthropology, in addition to CS. Been at it since 2002.

              And I wrote the first post before the meme.

              • refulgentis 7 hours ago

                I've read these ideas a 1000 times, I thought it was the most beautiful core of the "Sparks of AGI" paper. (6.2)

                We should be able to name the source of this sheepishness and have fun with that we are all things at once: you can be a viral hit 2002 super PhD with expertise in all areas involved in this topic that has brought pop attention onto something important, and yet, the hip topic you feel centered on can also make people's eyes roll temporarily. You're doing God's work. The AI = F(C) thing is really important. Its just, in the short term, it will feel like a buzzword.

                This is much more about me playing with, what we can reduce to, the "get off my lawn!" take. I felt it interesting to voice because it is a consistent undercurrent in the discussion and also leads to observable absurdities when trying to describe it. It is not questioning you, your ideas, or work. It has just come about at a time when things become hyperreal hyperquickly and I am feeling old.

        • simonw 9 hours ago

          The way I see it we're trying to rebrand because the term "prompt engineering" got redefined to mean "typing prompts full of stupid hacks about things like tipping and dead grandmas into a chatbot".

          • joe5150 8 hours ago

            It helps that the rebrand may lead some people to believe that there are actually new and better inputs into the system rather than just more elaborate sandcastles built in someone else's sandbox.

    • orbital-decay 9 hours ago

      Many people figured it out two-three years ago when AI-assisted coding basically wasn't a thing, and it's still relevant and will stay relevant. These are fundamental principles, all big models work similarly, not just transformers and not just LLMs.

      However, many fundamental phenomena are missing from the "context engineering" scope, so neither context engineering nor prompt engineering are useful terms.

    • coldtea 7 hours ago

      What exactly month-long AI skills of 2023 AI are obsolete now?

      Surely not prompt engineering itself, for example.

    • tptacek 6 hours ago

      If you're not writing your own agents, you can skip this skill.

      • anilgulecha 5 hours ago

        Are you sure? Looking forward - AI is going to be so pervasively used, that understanding what information is to be input will be a general skill. What we've been calling "prompt engineering" - the better ones were actually doing context engineering.

        • tptacek 4 hours ago

          If you're doing context engineering, you're writing an agent. It's mostly not the kind of stuff you can do from a web chat textarea.

  • TZubiri 7 hours ago

    Rediscovering encapsulation

benreesman 9 hours ago

The new skill is programming, same as the old skill. To the extent these things are comprehensible, you understand them by writing programs: programs that train them, programs that run inferenve, programs that analyze their behavior. You get the most out of LLMs by knowing how they work in detail.

I had one view of what these things were and how they work, and a bunch of outcomes attached to that. And then I spent a bunch of time training language models in various ways and doing other related upstream and downstream work, and I had a different set of beliefs and outcomes attached to it. The second set of outcomes is much preferable.

I know people really want there to be some different answer, but it remains the case that mastering a programming tool involves implemtenting such, to one degree or another. I've only done medium sophistication ML programming, and my understand is therefore kinda medium, but like compilers, even doing a medium one is the difference between getting good results from a high complexity one and guessing.

Go train an LLM! How do you think Karpathy figured it out? The answer is on his blog!

  • pyman 9 hours ago

    Saying the best way to understand LLMs is by building one is like saying the best way to understand compilers is by writing one. Technically true, but most people aren't interested in going that deep.

    • benreesman 9 hours ago

      I don't know, I've heard that meme too but it doesn't track with the number of cool compiler projects on GitHub or that frontpage HN, and while the LLM thing is a lot newer, you see a ton of useful/interesting stuff at the "an individual could do this on their weekends and it would mean they fundamentally know how all the pieces fit together" type stuff.

      There will always be a crowd that wants the "master XYZ in 72 hours with this ONE NEAT TRICK" course, and there will always be a..., uh, group of people serving that market need.

      But most people? Especially in a place like HN? I think most people know that getting buff involves going to the gym, especially in a place like this. I have a pretty high opinion of the typical person. We're all tempted by the "most people are stupid" meme, but that's because bad interactions are memorable, not because most people are stupid or lazy or whatever. Most people are very smart if they apply themselves, and most people will work very hard if the reward for doing so is reasonably clear.

      https://www.youtube.com/shorts/IQmOGlbdn8g

    • wickedsight 43 minutes ago

      The best way to understand a car is to build a car. Hardly anyone is going to do that, but we still all use them quite well in our daily lives. In large part because the companies who build them spend time and effort to improve them and take away friction and complexity.

      If you want to be an F1 driver it's probably useful to understand almost every part of a car. If you're a delivery driver, it probably isn't, even if you use one 40+ hours a week.

      • benreesman 29 minutes ago

        Your example / analogy is useful in the sense that its usually useful to establish the thought experiment with the boundary conditions.

        But in between someone commuting in a Toyota and an F1 driver are many, many people, the best example from inside the extremes is probably a car mechanic, and even there, there's the oil change place with the flat fee painted in the window, and the Koenigsberg dealership that orders the part from Europe. The guy who tunes those up can afford one himself.

        In the use case segment where just about anyone can do it with a few hours training, yeah, maybe that investment is zero instead of a week now.

        But I'm much more interested in the one where F1 cars break the sound barrier now.

zaptheimpaler 8 hours ago

I feel like this is incredibly obvious to anyone who's ever used an LLM or has any concept of how they work. It was equally obvious before this that the "skill" of prompt-engineering was a bunch of hacks that would quickly cease to matter. Basically they have the raw intelligence, you now have to give them the ability to get input and the ability to take actions as output and there's a lot of plumbing to make that happen.

  • skort an hour ago

    Yeah, my reaction to this was "Big deal? How is this news to anyone"

    It reads like articles put out by consultants at the height of SOA. Someone thought for a few minutes about something and figured it was worth an article.

baxtr 11 hours ago

>Conclusion

Building powerful and reliable AI Agents is becoming less about finding a magic prompt or model updates. It is about the engineering of context and providing the right information and tools, in the right format, at the right time. It’s a cross-functional challenge that involves understanding your business use case, defining your outputs, and structuring all the necessary information so that an LLM can “accomplish the task."

That’s actually also true for humans: the more context (aka right info at the right time) you provide the better for solving tasks.

  • root_axis 11 hours ago

    I am not a fan of this banal trend of superficially comparing aspects of machine learning to humans. It doesn't provide any insight and is hardly ever accurate.

    • furyofantares 10 hours ago

      I've seen a lot of cases where, if you look at the context you're giving the model and imagine giving it to a human (just not yourself or your coworker, someone who doesn't already know what you're trying to achieve - think mechanical turk), the human would be unlikely to give the output you want.

      Context is often incomplete, unclear, contradictory, or just contains too much distracting information. Those are all things that will cause an LLM to fail that can be fixed by thinking about how an unrelated human would do the job.

      • EricMausler 10 hours ago

        Alternatively, I've gotten exactly what I wanted from an LLM by giving it information that would not be enough for a human to work with, knowing that the llm is just going to fill in the gaps anyway.

        It's easy to forget that the conversation itself is what the LLM is helping to create. Humans will ignore or depriotitize extra information. They also need the extra information to get an idea of what you're looking for in a loose sense. The LLM is much more easily influenced by any extra wording you include, and loose guiding is likely to become strict guiding

        • furyofantares 9 hours ago

          Yeah, it's definitely not a human! But it is often the case in my experience that problems in your context are quite obvious once looked at through a human lens.

          Maybe not very often in a chat context, my experience is in trying to build agents.

      • root_axis 4 hours ago

        I don't see the usefulness of drawing a comparison to a human. "Context" in this sense is a technical term with a clear meaning. The anthropomorphization doesn't enlighten our understanding of the LLM in any way.

        Of course, that comment was just one trivial example, this trope is present in every thread about LLMs. Inevitably, someone trots out a line like "well humans do the same thing" or "humans work the same way" or "humans can't do that either". It's a reflexive platitude most often deployed as a thought-terminating cliche.

    • stefan_ 9 hours ago

      Theres all these philosophers popping up everywhere. This is also another one of these topics that featured in peoples favorite scifi hyperfixation so all discussions inevitably get ruined with scifi fanfic (see also: room temperature superconductivity).

    • ModernMech 10 hours ago

      I agree, however I do appreciate comparisons to other human-made systems. For example, "providing the right information and tools, in the right format, at the right time" sounds a lot like a bureaucracy, particularly because "right" is decided for you, it's left undefined, and may change at any time with no warning or recourse.

  • eviks 18 minutes ago

    Right info at the right time is not "more", and with humans it's pretty easy to overwhelm, so do the opposite - convert "more" into "wrong"

  • layer8 7 hours ago

    The difference is that humans can actively seek to acquire the necessary context by themselves. They don't have to passively sit there and wait for someone else to do the tedious work of feeding them all necessary context upfront. And we value humans who are able to proactively do that seeking by themselves, until they are satisfied that they can do a good job.

    • simonw 7 hours ago

      > The difference is that humans can actively seek to acquire the necessary context by themselves

      These days, so can LLM systems. The tool calling pattern got really good in the last six months, and one of the most common uses of that is to let LLMs search for information they need to add to their context.

      o3 and o4-mini and Claude 4 all do this with web search in their user-facing apps and it's extremely effective.

      The same patterns is increasingly showing up in coding agents, giving them the ability to search for relevant files or even pull in official document documentation for libraries.

  • mentalgear 10 hours ago

    Basically, finding the right buttons to push within the constraints of the environment. Not so much different from what (SW) engineering is, only non-deterministic in the outcomes.

  • therealdrag0 2 hours ago

    Ya reminds me of social engineering. Like we’re seeing “How to Win Programming and Influence LLMs”.

  • fergal 4 hours ago

    THis.. I was about to make a similar point; this conclusion reads like a job description for a technical lead role where they managed and define work for a team of human devs who execute implementation.

  • QuercusMax 11 hours ago

    Yeah... I'm always asking my UX and product folks for mocks, requirements, acceptance criteria, sample inputs and outputs, why we care about this feature, etc.

    Until we can scan your brain and figure out what you really want, it's going to be necessary to actually describe what you want built, and not just rely on vibes.

  • lupire 11 hours ago

    Not "more" context. "Better" context.

    (X-Y problem, for example.)

crystal_revenge 11 hours ago

Definitely mirrors my experience. One heuristic I've often used when providing context to model is "is this enough information for a human to solve this task?". Building some text2SQL products in the past it was very interesting to see how often when the model failed, a real data analyst would reply something like "oh yea, that's an older table we don't use any more, the correct table is...". This means the model was likely making a mistake that a real human analyst would have without the proper context.

One thing that is missing from this list is: evaluations!

I'm shocked how often I still see large AI projects being run without any regard to evals. Evals are more important for AI projects than test suites are for traditional engineering ones. You don't even need a big eval set, just one that covers your problem surface reasonably well. However without it you're basically just "guessing" rather than iterating on your problem, and you're not even guessing in a way where each guess is an improvement on the last.

edit: To clarify, I ask myself this question. It's frequently the case that we expect LLMs to solve problems without the necessary information for a human to solve them.

  • adiabatichottub 9 hours ago

    A classic law of computer programming:

    "Make it possible for programmers to write in English and you will find that programmers cannot write in English."

    It's meant to be a bit tongue-in-cheek, but there is a certain truth to it. Most human languages fail at being precise in their expression and interpretation. If you can exactly define what you want in English, you probably could have saved yourself the time and written it in a machine-interpretable language.

  • kevin_thibedeau 11 hours ago

    Asking yes no questions will get you a lie 50% of the time.

  • adriand 10 hours ago

    I have pretty good success with asking the model this question before it starts working as well. I’ll tell it to ask questions about anything it’s unsure of and to ask for examples of code patterns that are in use in the application already that it can use as a template.

  • hobs 10 hours ago

    The thing is, all the people cosplaying as data scientists don't want evaluations, and that's why you saw so little in fake C level projects, because telling people the emperor has no clothes doesn't pay.

    For those actually using the products to make money well, hey - all of those have evaluations.

    • shermantanktop 6 hours ago

      I know this proliferation of excited wannabes is just another mark of a hype cycle, and there’s real value this time. But I find myself unreasonably annoyed by people getting high on their own supply and shouting into a megaphone.

sonicvrooom 28 minutes ago

Premises and conclusions.

Prompts and context.

Hopes and expectations.

Black holes and revelations.

We learned to write and then someone wrote novels.

Context, now, is for the AI, really, to overcome dogmas recursively and contiguously.

Wasn't that somebody's slogan someday in the past?

Context over Dogma

askonomm 31 minutes ago

So ... are we about circled back to realizing why COBOL didn't work yet? This AI magic whispering is getting real close to it just making more sense to "old-school" write programs again.

defyonce 13 minutes ago

at which point AI thing stops being a Stone soup?

https://en.wikipedia.org/wiki/Stone_Soup

You need an expert who knows what to do and how to do it to get good results. Looks like coding with extra steps to me

I DO use AI for some tasks. When I know exactly what I want done and how I want it done. The only issue is busy typing, which AI solves.

bravesoul2 an hour ago

If you have a big enough following you can say the obvious and get a rapturous applause.

munificent 7 hours ago

All of these blog posts to me read like nerds speedrunning "how to be a tech lead for a non-disastrous internship".

Yes, if you have an over-eager but inexperienced entity that wants nothing more to please you by writing as much code as possible, as the entity's lead, you have to architect a good space where they have all the information they need but can't get easily distracted by nonessential stuff.

  • tptacek 6 hours ago

    Just to keep some clarity here, this is mostly about writing agents. In agent design, LLM calls are just primitives, a little like how a block cipher transform is just a primitive and not a cryptosystem. Agent designers (like cryptography engineers) carefully manage the inputs and outputs to their primitives, which are then composed and filtered.

ozim 11 hours ago

Finding a magic prompt was never “prompt engineering” it was always “context engineering” - lots of “AI wannabe gurus” sold it as such but they never knew any better.

RAG wasn’t invented this year.

Proper tooling that wraps esoteric knowledge like using embeddings, vector dba or graph dba becomes more mainstream. Big players improve their tooling so more stuff is available.

mountainriver 9 hours ago

You can give most of the modern LLMs pretty darn good context and they will still fail. Our company has been deep down this path for over 2 years. The context crowd seems oddly in denial about this

  • ethan_smith 3 hours ago

    We've experienced the same - even with perfectly engineered context, our LLMs still hallucinate and make logical errors that no amount of context refinement seems to fix.

  • arkmm 9 hours ago

    What are some examples where you've provided the LLM enough context that it ought to figure out the problem but it's still failing?

  • tupac_speedrap 8 hours ago

    I mean at some point it is probably easier to do the work without AI and at least then you would actually learn something useful instead of spending hours crafting context to actually get something useful out of an AI.

    • klardotsh 3 hours ago

      Agreed until/unless you end up at one of those bleeding-edge AI-mandate companies (Microsoft is in the news this week as one of them) that will simply PIP you for being a luddite if you aren't meeting AI usage metrics.

dinvlad 10 hours ago

I feel like ppl just keep inventing concepts for the same old things, which come down to dancing with the drums around the fire and screaming shamanic incantations :-)

  • viccis 10 hours ago

    When I first used these kinds of methods, I described it along those lines to my friend. I told him I felt like I was summoning a demon and that I had to be careful to do the right incantations with the right words and hope that it followed my commands. I was being a little disparaging with the comment because the engineer in me that wants reliability, repeatability, and rock solid testability struggles with something that's so much less under my control.

    God bless the people who give large scale demos of apps built on this stuff. It brings me back to the days of doing vulnerability research and exploitation demos, in which no matter how much you harden your exploits, it's easy for something to go wrong and wind up sputtering and sweating in front of an audience.

zacharyvoase 10 hours ago

I love how we have such a poor model of how LLMs work (or more aptly don't work) that we are developing an entire alchemical practice around them. Definitely seems healthy for the industry and the species.

  • simonw 10 hours ago

    The stuff that's showing up under the "context engineering" banner feels a whole lot less alchemical to me than the older prompt engineering tricks.

    Alchemical is "you are the world's top expert on marketing, and if you get it right I'll tip you $100, and if you get it wrong a kitten will die".

    The techniques in https://www.dbreunig.com/2025/06/26/how-to-fix-your-context.... seem a whole lot more rational to me than that.

    • zacharyvoase 6 hours ago

      As it gets more rigorous and predictable I suppose you could say it approaches psychology.

8organicbits 11 hours ago

One thought experiment I was musing on recently was the minimal context required to define a task (to an LLM, human, or otherwise). In software, there's a whole discipline of human centered design that aims to uncover the nuance of a task. I've worked with some great designers, and they are incredibly valuable to software development. They develop journey maps, user stories, collect requirements, and produce a wealth of design docs. I don't think you can successfully build large projects without that context.

I've seen lots of AI demos that prompt "build me a TODO app", pretend that is sufficient context, and then claim that the output matches their needs. Without proper context, you can't tell if the output is correct.

CharlieDigital 10 hours ago

I was at a startup that started using OpenAI APIs pretty early (almost 2 years ago now?).

"Back in the day", we had to be very sparing with context to get great results so we really focused on how to build great context. Indexing and retrieval were pretty much our core focus.

Now, even with the larger windows, I find this still to be true.

The moat for most companies is actually their data, data indexing, and data retrieval[0]. Companies that 1) have the data and 2) know how to use that data are going to win.

My analogy is this:

    > The LLM is just an oven; a fantastical oven.  But for it to produce a good product still depends on picking good ingredients, in the right ratio, and preparing them with care.  You hit the bake button, then you still need to finish it off with presentation and decoration.
[0] https://chrlschn.dev/blog/2024/11/on-bakers-ovens-and-ai-sta...
jumploops 10 hours ago

To anyone who has worked with LLMs extensively, this is obvious.

Single prompts can only get you so far (surprisingly far actually, but then they fall over quickly).

This is actually the reason I built my own chat client (~2 years ago), because I wanted to “fork” and “prune” the context easily; using the hosted interfaces was too opaque.

In the age of (working) tool-use, this starts to resemble agents calling sub-agents, partially to better abstract, but mostly to avoid context pollution.

  • Zopieux 9 hours ago

    I find it hilarious that this is how the original GPT3 UI worked, if you remember, and we're now discussing of reinventing the wheel.

    A big textarea, you plug in your prompt, click generate, the completions are added in-line in a different color. You could edit any part, or just append, and click generate again.

    90% of contemporary AI engineering these days is reinventing well understood concepts "but for LLMs", or in this case, workarounds for the self-inflicted chat-bubble UI. aistudio makes this slightly less terrible with its edit button on everything, but still not ideal.

    • surrTurr 2 hours ago

      The original GPT-3 was trained very differently than modern models like GPT-4. For example, the conversational structure of an assistant and user is now built into the models, whereas earlier versions were simply text completion models.

      It's surprising that many people view the current AI and large language model advancements as a significant boost in raw intelligence. Instead, it appears to be driven by clever techniques (such as "thinking") and agents built on top of a foundation of simple text completion. Notably, the core text completion component itself hasn’t seen meaningful gains in efficiency or raw intelligence recently...

  • nomel 10 hours ago

    Did you release your client? I've really wanted something like this, from the beginning.

    I thought it would also be neat to merge contexts, by maybe mixing summarizations of key points at the merge point, but never tried.

jcon321 10 hours ago

I thought this entire premise was obvious? Does it really take an article and a venn diagram to say you should only provide the relevant content to your LLM when asking a question?

  • simonw 10 hours ago

    "Relevant content to your LLM when asking a question" is last year's RAG.

    If you look at how sophisticated current LLM systems work there is so much more to this.

    Just one example: Microsoft open sourced VS Code Copilot Chat today (MIT license). Their prompts are dynamically assembled with tool instructions for various tools based on whether or not they are enabled: https://github.com/microsoft/vscode-copilot-chat/blob/v0.29....

    And the autocomplete stuff has a wealth of contextual information included: https://github.com/microsoft/vscode-copilot-chat/blob/v0.29....

      You have access to the following information to help you make
      informed suggestions:
    
      - recently_viewed_code_snippets: These are code snippets that
      the developer has recently looked at, which might provide
      context or examples relevant to the current task. They are
      listed from oldest to newest, with line numbers in the form
      #| to help you understand the edit diff history. It's
      possible these are entirely irrelevant to the developer's
      change.
      - current_file_content: The content of the file the developer
      is currently working on, providing the broader context of the
      code. Line numbers in the form #| are included to help you
      understand the edit diff history.
      - edit_diff_history: A record of changes made to the code,
      helping you understand the evolution of the code and the
      developer's intentions. These changes are listed from oldest
      to latest. It's possible a lot of old edit diff history is
      entirely irrelevant to the developer's change.
      - area_around_code_to_edit: The context showing the code
      surrounding the section to be edited.
      - cursor position marked as ${CURSOR_TAG}: Indicates where
      the developer's cursor is currently located, which can be
      crucial for understanding what part of the code they are
      focusing on.
    • timr 9 hours ago

      I get what you're saying, but the parent is correct -- most of this stuff is pretty obvious if you spend even an hour thinking about the problem.

      For example, while the specifics of the prompts you're highlighting are unique to Copilot, I've basically implemented the same ideas on a project I've been working on, because it was clear from the limitations of these models that sooner rather than later it was going to be necessary to pick and choose amongst tools.

      LLM "engineering" is mostly at the same level of technical sophistication that web work was back when we were using CGI with Perl -- "hey guys, what if we make the webserver embed the app server in a subprocess?" "Genius!"

      I don't mean that in a negative way, necessarily. It's just...seeing these "LLM thought leaders" talk about this stuff in thinkspeak is a bit like getting a Zed Shaw blogpost from 2007, but fluffed up like SICP.

      • simonw 9 hours ago

        most of this stuff is pretty obvious if you spend even an hour thinking about the problem

        I don't think that's true.

        Even if it is true, there's a big difference between "thinking about the problem" and spending months (or even years) iteratively testing out different potential prompting patterns and figuring out which are most effective for a given application.

        I was hoping "prompt engineering" would mean that.

        • timr 9 hours ago

          >I don't think that's true.

          OK, well...maybe I should spend my days writing long blogposts about the next ten things that I know I have to implement, then, and I'll be an AI thought-leader too. Certainly more lucrative than actually doing the work.

          Because that's literally what's happening -- I find myself implementing (or having implemented) these trendy ideas. I don't think I'm doing anything special. It certainly isn't taking years, and I'm doing it without reading all of these long posts (mostly because it's kind of obvious).

          Again, it very much reminds me of the early days of the web, except there's a lot more people who are just hype-beasting every little development. Linus is over there quietly resolving SMP deadlocks, and some influencer just wrote 10,000 words on how databases are faster if you use indexes.

    • mccoyb 10 hours ago

      That doesn't strike me as sophisticated, it strikes me as obvious to anyone with a little proficiency in computational thinking and a few days of experience with tool-using LLMs.

      The goal is to design a probability distribution to solve your task by taking a complicated probability distribution and conditioning it, and the more detail you put into thinking about ("how to condition for this?" / "when to condition for that?") the better the output you'll see.

      (what seems to be meant by "context" is a sequence of these conditioning steps :) )

  • alfalfasprout 10 hours ago

    The industry has attracted grifters with lots of "<word of the day> engineering" and fancy diagrams for, frankly, pretty obvious ideas

    I mean yes, duh, relevant context matters. This is why so much effort was put into things like RAG, vector DBs, prompt synthesis, etc. over the years. LLMs still have pretty abysmal context windows so being efficient matters.

Mikejames 20 minutes ago

anyone spinning up their own agents at work? internal tools, what’s your stack? workflow? I’m new to this stuff but been writing software for years

jshorty 11 hours ago

I have felt somewhat frustrated with what I perceive as a broad tendency to malign "prompt engineering" as an antiquated approach for whatever new the industry technique is with regards to building a request body for a model API. Whether that's RAG years ago, nuance in a model request's schema beyond simple text (tool calls, structured outputs, etc), or concepts of agentic knowledge and memory more recently.

While models were less powerful a couple of years ago, there was nothing stopping you at that time from taking a highly dynamic approach to what you asked of them as a "prompt engineer"; you were just more vulnerable to indeterminism in the contract with the models at each step.

Context windows have grown larger; you can fit more in now, push out the need for fine-tuning, and get more ambitious with what you dump in to help guide the LLM. But I'm not immediately sure what skill requirements fundamentally change here. You just have more resources at your disposal, and can care less about counting tokens.

  • simonw 11 hours ago

    I liked what Andrej Karpathy had to say about this:

    https://twitter.com/karpathy/status/1937902205765607626

    > [..] in every industrial-strength LLM app, context engineering is the delicate art and science of filling the context window with just the right information for the next step. Science because doing this right involves task descriptions and explanations, few shot examples, RAG, related (possibly multimodal) data, tools, state and history, compacting... Too little or of the wrong form and the LLM doesn't have the right context for optimal performance. Too much or too irrelevant and the LLM costs might go up and performance might come down. Doing this well is highly non-trivial. And art because of the guiding intuition around LLM psychology of people spirits.

    • bgwalter 9 hours ago

      All that work just for stripping a license. If one uses code directly from GitHub, copy and paste is sufficient. One can even keep the license.

liampulles 10 hours ago

The only engineering going on here is Job Engineering™

  • ryhanshannon 10 hours ago

    It is really funny to see the hyper fixation on relabeling of soft skills / product development to "<blank> Engineering" in the AI space.

    • bGl2YW5j 8 hours ago

      It undermines the credibility of ideas that probably have more merit than this ridiculous labelling makes it seem!

aryehof 37 minutes ago

Yay, everyone that writes a line of text to an LLM can now claim to be an "engineer".

rednafi 11 hours ago

I really don’t get this rush to invent neologisms to describe every single behavioral artifact of LLMs. Maybe it’s just a yearning to be known as the father of Deez Unseen Mind-blowing Behaviors (DUMB).

LLM farts — Stochastic Wind Release.

The latest one is yet another attempt to make prompting sound like some kind of profound skill, when it’s really not that different from just knowing how to use search effectively.

Also, “context” is such an overloaded term at this point that you might as well just call it “doing stuff” — and you’d objectively be more descriptive.

eddythompson80 11 hours ago

Which is funny because everyone is already looking at AI as: I have 30 TB of shit that is basically "my company". Can I dump that into your AI and have another, magical, all-konwning, co-worker?

  • coliveira 11 hours ago

    Which I think it is double funny because, given the zeal with which companies are jumping into this bandwagon, AI will bankrupt most businesses in record time! Just imagine the typical company firing most workers and paying a fortune to run on top of a schizophrenic AI system that gets things wrong half of the time...

    • eddythompson80 10 hours ago

      Yes, you can see the insanely accelerated pace of bankruptcies or "strategic realignments" among AI startups.

      I think it's just game theory in play and we can do nothing but watch it play out. The "up side" is insane, potentially unlimited. The price is high, but so is the potential reward. By the rules of the game, you have to play. There is no other move you can make. No one knows the odds, but we know the potential reward. You could be the next T company easy. You could realistically go from startup -> 1 Trillion in less than a year if you are right.

      We need to give this time to play itself out. The "odds" will eventually be better estimated and it'll affect investment. In the mean time, just give your VC Google's, Microsoft's, or AWS's direct deposit info. It's easier that way.

semiinfinitely 11 hours ago

context engineering is just a phrase that karpathy uttered for the first time 6 days ago and now everyone is treating it like its a new field of science and engineering

surrTurr 2 hours ago

Context engineering will be just another fad, like prompt engineering was. Once the context window problem is solved, nobody will be talking about it any more.

Also, for anyone working with LLMs right now, this is a pretty obvious concept and I'm surprised it's on top of HN.

taylorius 4 hours ago

The model starts every conversation as a blank slate, so providing a thorough context regarding the problem you want it to solve seems a fairly obvious preparatory step tbh. How else is it supposed to know what to do? I agree that "prompt" is probably not quite the right word to describe what is necessary though - it feels a bit minimal and brief. "Context engineering" seems a bit overblown, but this is tech. and we do a love a grand title.

mgdev 10 hours ago

If we zoom out far enough, and start to put more and more under the execution umbrella of AI, what we're actually describing here is... product development.

You are constructing the set of context, policies, directed attention toward some intentional end, same as it ever was. The difference is you need fewer meat bags to do it, even as your projects get larger and larger.

To me this is wholly encouraging.

Some projects will remain outside what models are capable of, and your role as a human will be to stitch many smaller projects together into the whole. As models grow more capable, that stitching will still happen - just as larger levels.

But as long as humans have imagination, there will always be a role for the human in the process: as the orchestrator of will, and ultimate fitness function for his own creations.

  • pyman 9 hours ago

    That does sound a lot like the role of a software architect. You're setting the direction, defining the constraints, making trade-offs, and stitching different parts together into a working system

  • somewhereoutth 9 hours ago

    > for his own creations.

    for their own creations is grammatically valid, and would avoid accusations of sexism!

  • GuinansEyebrows 9 hours ago

    i just hope that, along with imagination, humans can have an economy that supports this shift.

_pdp_ 11 hours ago

It is wrong. The new/old skill is reverse engineering.

If the majority of the code is generated by AI, you'll still need people with technical expertise to make sense of it.

  • CamperBob2 11 hours ago

    Not really. Got some code you don't understand? Feed it to a model and ask it to add comments.

    Ultimately humans will never need to look at most AI-generated code, any more than we have to look at the machine language emitted by a C compiler. We're a long way from that state of affairs -- as anyone who struggled with code-generation bugs in the first few generations of compilers will agree -- but we'll get there.

    • inspectorwadget 10 hours ago

      >any more than we have to look at the machine language emitted by a C compiler.

      Some developers do actually look at the output of C compilers, and some of them even spend a lot of time criticizing that output by a specific compiler (even writing long blog posts about it). The C language has an ISO specification, and if a compiler does not conform to that specification, it is considered a bug in that compiler.

      You can even go to godbolt.org / compilerexplorer.org and see the output generated for different targets by different compilers for different languages. It is a popular tool, also for language development.

      I do not know what prompt engineering will look like in the future, but without AGI, I remain skeptical about verification of different kinds of code not being required in at least a sizable proportion of cases. That does not exclude usefulness of course: for instance, if you have a case where verification is not needed; or verification in a specific case can be done efficiently and robustly by a relevant expert; or some smart method for verification in some cases, like a case where a few primitive tests are sufficient.

      But I have no experience with LLMs or prompt engineering.

      I do, however, sympathize with not wanting to deal with paying programmers. Most are likely nice, but for instance a few may be costly, or less than honest, or less than competent, etc. But while I think it is fine to explore LLMs and invest a lot into seeing what might come of them, I would not personally bet everything on them, neither in the short term nor the long term.

      May I ask what your professional background and experience is?

      • CamperBob2 8 hours ago

        Some developers do actually look at the output of C compilers, and some of them even spend a lot of time criticizing that output by a specific compiler (even writing long blog posts about it). The C language has an ISO specification, and if a compiler does not conform to that specification, it is considered a bug in that compiler.

        Those programmers don't get much done compared to programmers who understand their tools and use them effectively. Spending a lot of time looking at assembly code is a career-limiting habit, as well as a boring one.

        I do not know what prompt engineering will look like in the future, but without AGI, I remain skeptical about verification of different kinds of code not being required in at least a sizable proportion of cases. That does not exclude usefulness of course: for instance, if you have a case where verification is not needed; or verification in a specific case can be done efficiently and robustly by a relevant expert; or some smart method for verification in some cases, like a case where a few primitive tests are sufficient.

        Determinism and verifiability is something we'll have to leave behind pretty soon. It's already impossible for most programmers to comprehend (or even access) all of the code they deal with, just due to the sheer size and scope of modern systems and applications, much less exercise and validate all possible interactions. A lot of navel-gazing about fault-tolerant computing is about to become more than just philosophical in nature, and about to become relevant to more than hardware architects.

        In any event, regardless of your and my opinions of how things ought to be, most working programmers never encounter compiler output unless they accidentally open the assembly window in their debugger. Then their first reaction is "WTF, how do I get out of this?" We can laugh at those programmers now, but we'll all end up in that boat before long. The most popular high-level languages in 2040 will be English and Mandarin.

        May I ask what your professional background and experience is?

        Probably ~30 kloc of C/C++ per year since 1991 or thereabouts. Possibly some of it running on your machine now (almost certainly true in the early 2000s but not so much lately.)

        Probably 10 kloc of x86 and 6502 assembly code per year in the ten years prior to that.

        But I have no experience with LLMs or prompt engineering.

        May I ask why not? You and the other users who voted my post down to goatse.cx territory seem to have strong opinions on the subject of how software development will (or at least should) work going forward.

        • inspectorwadget 7 hours ago

          For the record, I did not downvote anyone.

          >[Inspecting assembly and caring about its output]

          I agree that it does not make sense for everyone to inspect generated assembly code, but for some jobs, like compiler developers, it is normal to do so, and for some other jobs it can make sense to do so occassionally. But, inspecting assembly was not my main point. My main point was that a lot of people, probably many more than those that inspect assembly code, care about the generated code. If a C compiler does not conform to the C ISO specification, a C programmer that does not inspect assembly can still decide to file a bug report, due to caring about conformance of the compiler.

          The scenario you describe, as I understand it at least, of codebases where they are so complex and quality requirements are so low that inspecting code (not assembly, but the output from LLMs) is unnecessary, or mitigation strategies are sufficient, is not consistent with a lot of existing codebases, or parts of codebases. And even for very large and messy codebases, there are still often abstractions and layers. Yes, there can be abstraction leakage in systems, and fault tolerance against not just software bugs but unchecked code, can be a valuable approach. But I am not certain it would make sense to have even most code be unchecked (in the sense of having been reviewed by a programmer).

          I also doubt a natural language would replace a programming language, at least if verification or AGI is not included. English and Mandarin are ambiguous. C and assembly code is (meant to be) unambiguous, and it is generally considered a significant error if a programming language is ambiguous. Without verification of some kind, or an expert (human or AGI), how could one in general cases use that code safely and usefully? There could be cases where one could do other kinds of mitigation, but there are at least a large proportion of cases where I am skeptical that sole mitigation strategies would be sufficient.

    • rvz 10 hours ago

      > Not really. Got some code you don't understand? Feed it to a model and ask it to add comments.

      Absolutely not.

      An experienced individual in their field can tell if the AI made a mistake in the comments / code rather than the typical untrained eye.

      So no, actually read the code and understand what it does.

      > Ultimately humans will never need to look at most AI-generated code, any more than we have to look at the machine language emitted by a C compiler.

      So for safety critical systems, one should not look or check if code has been AI generated?

      • CamperBob2 8 hours ago

        So for safety critical systems, one should not look or check if code has been AI generated?

        If you don't review the code your C compiler generates now, why not? Compiler bugs still happen, you know.

        • supriyo-biswas 4 hours ago

          You do understand that LLM output is non-deterministic and tends to have a higher error ratio than compiler bugs, which do not exhibit this “feature”.

          I see in one of your other posts that you were loudly grumbling about being downvoted. You may want to revisit if taking a combative, bad faith approach while replying to other people is really worth it.

lawlessone 11 hours ago

I look forward to 5 million LinkedIn posts repeating this

  • octo888 4 hours ago

    "The other day my colleague walked up to me and said Jon, prompting is the new skill that's needed.

    I laughed and told them there wrong. Here's why ->"

  • pyman 9 hours ago

    Someone needs to build a Chrome extension called "BS Analysis" for LinkedIn

rTX5CMRXIfFG 4 hours ago

So then for code generation purposes, how is “context engineering” different now from writing technical specs? Providing the LLMs the “right amount of information” means writing specs that cover all states and edge cases. Providing the information “at the right time” means writing composable tech specs that can be interlinked with each other so that you can prompt the LLM with just the specs for the task at hand.

bGl2YW5j 11 hours ago

Saw this the other day and it made me think that too much effort and credence is being given to this idea of crafting the perfect environment for LLMs to thrive in. Which to me, is contrary to how powerful AI systems should function. We shouldn’t need to hold its hand so much.

Obviously we’ve got to tame the version of LLMs we’ve got now, and this kind of thinking is a step in the right direction. What I take issue with is the way this thinking is couched as a revolutionary silver bullet.

  • aleksiy123 11 hours ago

    It may not be a silver bullet, in that it needs lots of low level human guidance to do some complex task.

    But looking at the trend of these tools, the help they are requiring is become more and more higher level, and they are becoming more and more capable of doing longer more complex tasks as well as being able to find the information they need from other systems/tools (search, internet, docs, code etc...).

    I think its that trend that really is the exciting part, not just its current capabilities.

    • asadotzler 8 hours ago

      why is it that so many of you think there's anything meaningfully predictable based on these past trends? what on earth makes you belive the line keeps going as it has, when there's literally nothing to base that belief on. it's all just wishful thinking.

  • 4ndrewl 11 hours ago

    Reminds me of first gen chatbots where the user had to put in the effort of trying to craft a phrase in a way that would garner the expected result. It's a form of user-hostility.

  • ramesh31 11 hours ago

    We shouldn't but it's analogous to how CPU usage used to work. In the 8 bit days you could do some magical stuff that was completely impossible before microcomputers existed. But you had to have all kinds of tricks and heuristics to work around the limited abilities. We're in the same place with LLMs now. Some day we will have the equivalent of what gigabytes or RAM are to a modern CPU now, but we're still stuck in the 80s for now (which was revolutionary at the time).

    • smeej 11 hours ago

      It also reminds me of when you could structure an internet search query and find exactly what you wanted. You just had to ask it in the machine's language.

      I hope the generalized future of this doesn't look like the generalized future of that, though. Now it's darn near impossible to find very specific things on the internet because the search engines will ignore any "operators" you try to use if they generate "too few" results (by which they seem to mean "few enough that no one will pay for us to show you an ad for this search"). I'm moderately afraid the ability to get useful results out of AIs will be abstracted away to some lowest common denominator of spammy garbage people want to "consume" instead of use for something.

      • skydhash 10 hours ago

        An empty set of results is a good signal just like a "I don't know" or "You're wrong because <reason>" are good replies to a question/query. It's how a program crashing, while painful, is better than it corrupting data.

    • bGl2YW5j 8 hours ago

      Good points that you and Aleksiy have made. Thanks for enhancing my perspective!

  • gametorch 11 hours ago

    It's still way easier for me to say

    "here's where to find the information to solve the task"

    than for me to manually type out the code, 99% of the time

emporas 10 hours ago

Prompting sits on the back seat, while context is the driving factor. 100% agree with this.

For programming I don't use any prompts. I give a problem solved already, as a context or example, and I ask it to implement something similar. One sentence or two, and that's it.

Other kind of tasks, like writing, I use prompts, but even then, context and examples are still the driving factor.

In my opinion, we are in an interesting point in history, in which now individuals will need their own personal database. Like companies the last 50 years, which had their own database records of customers, products, prices and so on, now an individual will operate using personal contextual information, saved over a long period of time in wikis or Sqlite rows.

  • d0gsg0w00f 10 hours ago

    Yes, the other day I was telling a colleague that we all need our own personal context to feed into every model we interact with. You could carry it around on a thumb drive or something.

colgandev 11 hours ago

I've been finding a ton of success lately with speech to text as the user prompt, and then using https://continue.dev in VSCode, or Aider, to supply context from files from my projects and having those tools run the inference.

I'm trying to figure out how to build a "Context Management System" (as compared to a Content Management System) for all of my prompts. I completely agree with the premise of this article, if you aren't managing your context, you are losing all of the context you create every time you create a new conversation. I want to collect all of the reusable blocks from every conversation I have, as well as from my research and reading around the internet. Something like a mashup of Obsidian with some custom Python scripts.

The ideal inner loop I'm envisioning is to create a "Project" document that uses Jinja templating to allow transclusion of a bunch of other context objects like code files, documentation, articles, and then also my own other prompt fragments, and then to compose them in a master document that I can "compile" into a "superprompt" that has the precise context that I want for every prompt.

Since with the chat interfaces they are always already just sending the entire previous conversation message history anyway, I don't even really want to use a chat style interface as much as just "one shotting" the next step in development.

It's almost a turn based game: I'll fiddle with the code and the prompts, and then run "end turn" and now it is the llm's turn. On the llm's turn, it compiles the prompt and runs inference and outputs the changes. With Aider it can actually apply those changes itself. I'll then review the code using diffs and make changes and then that's a full turn of the game of AI-assisted code.

I love that I can just brain dump into speech to text, and llms don't really care that much about grammar and syntax. I can curate fragments of documentation and specifications for features, and then just kind of rant and rave about what I want for a while, and then paste that into the chat and with my current LLM of choice being Claude, it seems to work really quite well.

My Django work feels like it's been supercharged with just this workflow, and my context management engine isn't even really that polished.

If you aren't getting high quality output from llms, definitely consider how you are supplying context.

hintymad 9 hours ago

> The New Skill in AI Is Not Prompting, It's Context Engineering

Sounds like good managers and leaders now have an edge. Per Patty McCord of Netflix fame used to say: All that a manager does is setting the context.

labrador 11 hours ago

I’m curious how this applies to systems like ChatGPT, which now have two kinds of memory: user-configurable memory (a list of facts or preferences) and an opaque chat history memory. If context is the core unit of interaction, it seems important to give users more control or at least visibility into both.

I know context engineering is critical for agents, but I wonder if it's also useful for shaping personality and improving overall relatability? I'm curious if anyone else has thought about that.

  • simonw 11 hours ago

    I really dislike the new ChatGPT memory feature (the one that pulls details out of a summarized version of all of your previous chats, as opposed to older memory feature that records short notes to itself) for exactly this reason: it makes it even harder for me to control the context when I'm using ChatGPT.

    If I'm debugging something with ChatGPT and I hit an error loop, my fix is to start a new conversation.

    Now I can't be sure ChatGPT won't include notes from that previous conversation's context that I was trying to get rid of!

    Thankfully you can turn the new memory thing off, but it's on by default.

    I wrote more about that here: https://simonwillison.net/2025/May/21/chatgpt-new-memory/

    • labrador 10 hours ago

      On the other hand, for my use case (I'm retired and enjoy chatting with it), having it remember items from past chats makes it feel much more personable. I actually prefer Claude, but it doesn't have memory, so I unsubscribed and subscribed to ChatGPT. That it remembers obscure but relevant details about our past chats feels almost magical.

      It's good that you can turn it off. I can see how it might cause problems when trying to do technical work.

      Edit: Note, the introduction of memory was a contributing factor to "the sychophant" that OpenAI had to rollback. When it could praise you while seeming to know you was encouraging addictive use.

      Edit2: Here's the previous Hacker News discussion on Simon's "I really don’t like ChatGPT’s new memory dossier"

      https://news.ycombinator.com/item?id=44052246

grafmax 11 hours ago

There is no need to develop this ‘skill’. This can all be automated as a preprocessing step before the main request runs. Then you can have agents with infinite context, etc.

  • simonw 11 hours ago

    You need this skill if you're the engineer that's designing and implementing that preprocessing step.

    • dolebirchwood 10 hours ago

      The skill amounts to determining "what information is required for System A to achieve Outcome X." We already have a term for this: Critical thinking.

      • Zopieux 9 hours ago

        Why does it takes hundreds of comments for obvious facts to be laid out on this website? Thanks for the reality check.

    • grafmax 10 hours ago

      In the short term horizon I think you are right. But over a longer horizon, we should expect model providers to internalize these mechanisms, similar to how chain of thought has been effectively “internalized” - which in turn has reduced the effectiveness that prompt engineering used to provide as models have gotten better.

    • yunwal 10 hours ago

      Non-rhetorical question: is this different enough from data engineering that it needs it’s own name?

    • ofjcihen 10 hours ago

      Not at all, just ask the LLM to design and implement it.

      AI turtles all the way down.

b0a04gl 4 hours ago

imo i feel it's just reinventing database design principles but for llms. normalisation denormalisation indexing retrieval. same concepts different target. its more of just being good at organising information which is what we should have been doing all along.

saejox 11 hours ago

Claude 3.5 was released 1 year ago. Current LLMs are not much better at coding than it. Sure they are more shiny and well polished, but not much better at all. I think it is time to curb our enthusiasm.

I almost always rewrite AI written functions in my code a few weeks later. Doesn't matter they have more context or better context, they still fail to write code easily understandable by humans.

  • simonw 11 hours ago

    Claude 3.5 was remarkably good at writing code. If Claude 3.7 and Claude 4 are just incremental improvements on that then even better!

    I actually think they're a lot more than incremental. 3.7 introduced "thinking" mode and 4 doubled down on that and thinking/reasoning/whatever-you-want-to-call-it is particularly good at code challenges.

    As always, if you're not getting great results out of coding LLMs it's likely you haven't spent several months iterating on your prompting techniques to figure out what works best for your style of development.

joe5150 9 hours ago

Surely Jim is also using an agent. Jim can't be worth having a quick sync with if he's not using his own agent! So then why are these two agents emailing each other back and forth using bizarre, terse office jargon?

geeewhy 10 hours ago

ive beeen experimenting with this for a while, (im sure in a way, most of us did). Would be good to numerate some examples. When it comes to coding, here's a few:

- compile scripts that can grep / compile list of your relevant files as files of interest

- make temp symlinks in relevant repos to each other for documentation generation, pass each documentation collected from respective repos to to enable cross-repo ops to be performed atomically

- build scripts to copy schemas, db ddls, dtos, example records, api specs, contracts (still works better than MCP in most cases)

I found these steps not only help better output but also reduces cost greatly avoiding some "reasoning" hops. I'm sure practice can extend beyond coding.

patrickhogan1 11 hours ago

OpenAI’s o3 searches the web behind a curtain: you get a few source links and a fuzzy reasoning trace, but never the full chunk of text it actually pulled in. Without that raw context, it’s impossible to audit what really shaped the answer.

  • simonw 10 hours ago

    Yeah, I find that really frustrating.

    I understand why they do it though: if they presented the actual content that came back from search they would absolutely get in trouble for copyright-infringement.

    I suspect that's why so much of the Claude 4 system prompt for their search tool is the message "Always respect copyright by NEVER reproducing large 20+ word chunks of content from search results" repeated half a dozen times: https://simonwillison.net/2025/May/25/claude-4-system-prompt...

    • Zopieux 9 hours ago

      This is no secret or suspicion. It is definitely about avoiding (more accuratly, delaying until legislation destroys the business model) the warth of copyright holders with enough lawyers.

      I find this very hypocritical given that for all intents and purposes the infringement already happened at training time, since most content wasn't acquired with any form of retribution or attribution (otherwise this entire endeavor would not have been economically worth it). See also the "you're not allowed to plagiarize Disney" being done by all commercial text to image providers.

    • NoraCodes 5 hours ago

      I don't understand how you can look at behavior like this from the companies selling these systems and conclude that it is ethical for them to do so, or for you to promote their products.

      • simonw 5 hours ago

        What's happening here is Claude (and ChatGPT alike) have a tool-based search option. You ask them a question - like "who won the Superbowl in 1998" - they then run a search against a classic web search engine (Bing for ChatGPT, Brave for Claude) and fetch back cached results from that engine. They inject those results into their context and use them to answer the question.

        Using just a few words (the name of the team) feels OK to me, though you're welcome to argue otherwise.

        The Claude search system prompt is there to ensure that Claude doesn't spit out multiple paragraphs of text from the underlying website, in a way that would discourage you from clicking through to the original source.

        Personally I think this is an ethical way of designing that feature.

        (Note that the way this works is an entirely different issue from the fact that these models were training on unlicensed data.)

        • NoraCodes 5 hours ago

          I understand how it works. I think it does not do much to encourage clicking through, because the stated goal is to solve the user's problem without leaving the chat interface (most of the time.)

          • simonw 4 hours ago

            Yeah, I agree. I actually think an even worse offender here is Google themselves - their AI overview thing answers questions directly on the Google page itself, discouraging site visits. I think that's going to have a really nasty impact on site traffic.

almosthere 6 hours ago

Which is prompt engineering, since you just ask the LLM for a good context for the next prompt.

pwarner 11 hours ago

It's an integration adventure. This is why much AI is failing in the enterprise. MS Copilot is moderately interesting for data in MS Office, but forget about it accessing 90% of your data that's in other systems.

adhamsalama 11 hours ago

There is no engineering involved in using AI. It's insulting to call begging an LLM "engineering".

  • rednafi 10 hours ago

    This. Convincing a bullshit generator to give you the right data isn’t engineering, it quackery. But I guess “context quackery” wouldn’t sell as much.

    LLMs are quite useful and I leverage them all the time. But I can’t stand these AI yappers saying the same shit over and over again in every media format and trying to sell AI usage as some kind of profound wizardry when it’s not.

    • mikhmha 9 hours ago

      It is total quackery. When you zoom out in these discussions you begin to see how the AI yappers and their methodology is just modern-day alchemy with its own jargon and "esoteric" techniques.

      • simonw 9 hours ago

        See my comment here. These new context engineering techniques are a whole lot less quackery than the prompting techniques from last year: https://news.ycombinator.com/item?id=44428628

        • ModernMech 7 hours ago

          The quackery comes in the application of these techniques, promising that they "work" without ever really showing it. Of course what's suggested in that blog sounds rational -- they're just restating common project management practices.

          What makes it quackery is there's no evidence to show that these "suggestions" actually work (and how well) when it comes to using LLMs. There's no measurement, no rigor, no analysis. Just suggestions and anecdotes: "Here's what we did and it worked great for us!" It's like the self-help section of the bookstore, but now we're (as an industry) passing it off as technical content.

    • Zopieux 9 hours ago

      That's the definition of a hype cycle. Can't wait for tech to be past it.

hnthrow90348765 11 hours ago

Cool, but wait another year or two and context engineering will be obsolete as well. It still feels like tinkering with the machine, which is what AI is (supposed to be) moving us away from.

  • hobs 10 hours ago

    Probably impossible unless computers themselves change in another year or two.

ModernMech 11 hours ago

"Wow, AI will replace programming languages by allowing us to code in natural language!"

"Actually, you need to engineer the prompt to be very precise about what you want to AI to do."

"Actually, you also need to add in a bunch of "context" so it can disambiguate your intent."

"Actually English isn't a good way to express intent and requirements, so we have introduced protocols to structure your prompt, and various keywords to bring attention to specific phrases."

"Actually, these meta languages could use some more features and syntax so that we can better express intent and requirements without ambiguity."

"Actually... wait we just reinvented the idea of a programming language."

  • throwawayoldie 11 hours ago

    Only without all that pesky determinism and reproducibility.

    (Whoever's about to say "well ackshually temperature of zero", don't.)

  • nimish 9 hours ago

    A half baked programming language that isn't deterministic or reproducible or guaranteed to do what you want. Worst of all worlds unless your input and output domains are tolerant to that, which most aren't. But if they are, then it's great

  • georgeburdell 10 hours ago

    We should have known up through Step 4 for a while. See: the legal system

  • mindok 11 hours ago

    “Actually - curly braces help save space in the context while making meaning clearer”

asciii 9 hours ago

Here I was thinking that part of Prompt Engineering is understanding context and awareness for other yada yada.

alganet 11 hours ago

If I need to do all this work (gather data, organize it, prepare it, etc), there are other AI solutions I might decide to use instead of an LLM.

  • joe5150 11 hours ago

    You might as well use your natural intelligence instead of the artificial stuff at that point.

    • coliveira 10 hours ago

      Yes, when all is said and done people will realize that artificial intelligence is too expensive to replace natural intelligence. AI companies want to avoid this realization for as long as possible.

      • alganet 10 hours ago

        This is not what I'm talking about, see the other reply.

    • alganet 10 hours ago

      I'm assuming the post is about automated "context engineering". It's not a human doing it.

      In this arrangement, the LLM is a component. What I meant is that it seems to me that other non-LLM AI technologies would be a better fit for this kind of thing. Lighter, easier to change and adapt, potentially even cheaper. Not for all scenarios, but for a lot of them.

  • simonw 10 hours ago

    What kind of alternative AI solutions might you use here?

    • alganet 10 hours ago

      Classifiers to classify things, traditional neural nets to identify things. Typical run of the mill.

      In OpenAI hype language, this is a problem for "Software 2.0", not "Software 3.0" in 99% of the cases.

      The thing about matching an informal tone would be the hard part. I have to concede that LLMs are probably better at that. But I have the feeling that this is not exactly the feature most companies are looking for, and they would be willing to not have it for a cheaper alternative. Most of them just don't know that's possible.

whimsicalism 11 hours ago

i think context engineering as described is somewhat a subset of ‘environment engineering.’ the gold-standard is when an outcome reached with tools can be verified as correct and hillclimbed with RL. most of the engineering effort is from building the environment and verifier while the nuts and bolts of grpo/ppo training and open-weight tool-using models are commodities.

bag_boy 10 hours ago

Anecdotally, I’ve found that chatting with Claude about a subject for a bit — coming to an understanding together, then tasking it — produces much better results than starting with an immediate ask.

I’ll usually spend a few minutes going back and forth before making a request.

For some reason, it just feels like this doesn't work as well with ChatGPT or Gemini. It might be my overuse of o3? The latency can wreck the vibe of a conversation.

stillpointlab 9 hours ago

I've been using the term context engineering for a few months now, I am very happy to see this gain traction.

This new stillpointlab hacker news account is based on the company name I chose to pursue my Context as a Service idea. My belief is that context is going to be the key differentiator in the future. The shortest description I can give to explain Context as a Service (CaaS) is "ETL for AI".

bradhe 11 hours ago

Back in my day we just called this "knowing what to google" but alright, guys.

retinaros 10 hours ago

it is still sending a string of chars and hoping the model outputs something relevant. let’s not do like finance and permanently obfuscate really simple stuff to make us bigger than we are.

prompt engineering/context engineering : stringbuilder

Retrieval augmented generation: search+ adding strings to main string

test time compute: running multiple generation and choosing the best

agents: for loop and some ifs

aaronlinoops 5 hours ago

As models become more powerful, the ability to communicate effectively with them becomes increasingly important, which is why maintaining context is crucial for better utilizing the model's capabilities.

dboreham 6 hours ago

The dudes who ran the Oracle of Delphi must have had this problem too.

ninetyninenine 4 hours ago

We do enough "context engineering" we'll be feeding these companies the training data they need for the AI to build it's own context.

drmath 10 hours ago

Isn't "context" just another word for "prompt?" Techniques have become more complex, but they're still just techniques for assembling the token sequences we feed to the transformer.

  • simonw 10 hours ago

    Almost. It's the current prompt plus the previous prompts and responses in the current conversation.

    The idea behind "context engineering" is to help people understand that a prompt these days can be long, and can incorporate a whole bunch of useful things (examples, extra documentation, transcript summaries etc) to help get the desired response.

    "Prompt engineering" was meant to mean this too, but the AI influencer crowd redefined it to mean "typing prompts into a chatbot".

    • drmath 10 hours ago

      Haha there's a pigheaded part of me that insists all of that is the "prompt," but I just read your bit about "inferred definitions," and acceptance is probably a healthier attitude.

croes 4 hours ago

Next step, solution engineering. Provide the solution so AI can give it to you in nicer words

davidclark 11 hours ago

Good example of why I have been totally ignoring people who beat the drum of needing to develop the skills of interacting with models. “Learn to prompt” is already dead? Of course, the true believers will just call this an evolution of prompting or some such goalpost moving.

Personally, my goalpost still hasn’t moved: I’ll invest in using AI when we are past this grand debate about its usefulness. The utility of a calculator is self-evident. The utility of an LLM requires 30k words of explanation and nuanced caveats. I just can’t even be bothered to read the sales pitch anymore.

  • simonw 11 hours ago

    We should be so far past the "grand debate about its usefulness" at this point.

    If you think that's still a debate, you might be listening to the small pool of very loud people who insist nothing has improved since the release of GPT-4.

    • davidclark 9 hours ago

      Have you considered the opposite? Reflected on your own biases?

      I’m listening to my own experience. Just today I gave it another fair shot. GitHub Copilot agent mode with GPT-4.1. Still unimpressed.

      This is a really insightful look at why people perceive the usefulness of these models differently. It is fair to both sides without being dismissive as one side just not “getting it” or how we should be “so far” past debate:

      https://ferd.ca/the-gap-through-which-we-praise-the-machine....

      • simonw 8 hours ago

        Do either of these impress you?

        https://alexgaynor.net/2025/jun/20/serialize-some-der/ - using Claude Code to compose and have a PR accepted into llvm that implements a compiler optimization (more of my notes here: https://simonwillison.net/2025/Jun/30/llvm/ )

        https://lucumr.pocoo.org/2025/6/21/my-first-ai-library/ - Claude Code for writing and shipping a full open source library that handles sloppy (hah) invalid XML

        Examples from the past two weeks, both from expert software engineers.

        • habinero 7 hours ago

          Not really, no. Both of those projects are tinkertoy greenfield projects, done by people who know exactly what they're doing.

          And both of them heavily caveat that experience:

          > This only works if you have the capacity to review what it produces, of course. (And by “of course”, I mean probably many people will ignore this, even though it’s essential to get meaningful, consistent, long-term value out of these systems.)

          > To be clear: this isn't an endorsement of using models for serious Open Source libraries...Treat it as a curious side project which says more about what's possible today than what's necessarily advisable.

          It does nobody any good to oversell this shit.

          • simonw 7 hours ago

            A compiler optimization for LLVM is absolutely not a "tinkertoy greenfield projects".

            I linked to those precisely because they aren't over-selling things. They're extremely competent engineers using LLMs to produce work that they would not have produced otherwise.

    • nandhinianand 9 hours ago

      I think this is definitely true for novel writing and stuff like that based on my experiments with AI so far.. I'm still on the fence about coding/building s/w based on it, but that may just be about the unlearning and re-learning i'm yet to do/try out.

    • fragmede 10 hours ago

      Should be, but the bar for scientifically proven is high. Absent actual studies showing this, (and with a large N), people will refuse to believe things they don't want to be true.

amelius 10 hours ago

Yes, and it is a soft skill.

jongjong 11 hours ago

Recently I started work on a new project and I 'vibe coded' a test case for a complex OAuth token expiry bug entirely with AI (with Cursor), complete with mocks and stubs... And it was on someone else's project. I had no prior familiarity with the code.

That's when I understood that vibe coding is real and context is the biggest hurdle.

That said, most of the context could not be pulled from the codebase directly but came from me after asking the AI to check/confirm certain things that I suspected could be the problem.

I think vibe coding can be very powerful in the hands of a senior developer because if you're the kind of person who can clearly explain their intuitions with words, it's exactly the missing piece that the AI needs to solve the problem... And you still need to do code review aspect which is also something which senior devs are generally good at. Sometimes it makes mistakes/incorrect assumptions.

I'm feeling positive about LLMs. I was always complaining about other people's ugly code before... I HATE over-modularized, poorly abstracted code where I have to jump across 5+ different files to figure out what a function is doing; with AI, I can just ask it to read all the relevant code across all the files and tell me WTF the spaghetti is doing... Then it generates new code which 'follows' existing 'conventions' (same level of mess). The AI basically automates the most horrible aspect of the work; making sense of the complexity and churning out more complexity that works. I love it.

That said, in the long run, to build sustainable projects, I think it will require following good coding conventions and minimal 'low code' coding... Because the codebase could explode in complexity if not used carefully. Code quality can only drop as the project grows. Poor abstractions tend to stick around and have negative flow-on effects which impact just about everything.

m3kw9 11 hours ago

Well, it’s still a prompt

neilv 10 hours ago

> Then you can generate a response.

> > Hey Jim! Tomorrow’s packed on my end, back-to-back all day. Thursday AM free if that works for you? Sent an invite, lmk if it works.

Feel free to send generated AI responses like this if you are a sociopath.

  • joe5150 9 hours ago

    Jim's agent replies, "Thursday AM touchbase sounds good, let's circle back after." Both agents meet for a blue sky strategy session while Jim's body floats serenely in a nutrient slurry.

  • danans 8 hours ago

    Came here to say this, too - creepy. Especially when there is no person in the loop, just an LLM agent responding on someone's behalf in their voice.

    • Roark66 2 hours ago

      Isn't the point that it prepares the response, shows it to you along with some context to you. Like a sidebar showing who the other person is with a short summary of your last comms and your calendar. It should let you move the "proposed appointment" in that sidebar calendar and it should update the response to match your choice. If it clashes and you have no time it should show you what those other things are (maybe propose what you could shift) and so on.

      This is how I imagine proper AI integration.

      What I also want is not sending all my data to the provider. With the model sizes we use these days it's pretty much impossible to run them locally if you want the best, so imo the company that will come up with the best way to secure customer data will win.

la64710 11 hours ago

Of course the best prompts automatically included providing the best (not necessarily most) context to extract the right output.

rvz 10 hours ago

This is just another "rebranding" of the failed "prompt engineering" trend to promote another borderline pseudo-scientific trend to attact more VC money to fund a new pyramid scheme.

Assuming that this will be using the totally flawed MCP protocol, I can only see more cases of data exfiltration attacks on these AI systems just like before [0] [1].

Prompt injection + Data exfiltration is the new social engineering in AI Agents.

[0] https://embracethered.com/blog/posts/2025/security-advisory-...

[1] https://www.bleepingcomputer.com/news/security/zero-click-ai...

  • Zopieux 9 hours ago

    Rediscovering basic security concepts and hygiene from 2005 is also a very hot AI thing right now, so that tracks.

banq 10 hours ago

[dead]

LASR 8 hours ago

Honestly, GPT-4o is all we ever needed to build a complete human-like reasoning system.

I am leading a small team working on a couple of “hard” problems to put the limits of LLMs to the test.

One is an options trader. Not algo / HFT, but simply doing due diligence, monitoring the news and making safe long-term bets.

Another is an online research and purchasing experience for residential real-estate.

Both these tasks, we’ve realized, you don’t even need a reasoning model. In fact, reasoning models are harder to get consistent results from.

What you need is a knowledge base infrastructure and pub-sub for updates. Amortize the learned knowledge across users and you have collaborative self-learning system that exhibits intelligence beyond any one particular user and is agnostic to the level of prompting skills they have.

Stay tuned for a limited alpha in this space. And DM if you’re interested.

  • bGl2YW5j 8 hours ago

    What you're describing sounds a lot like traditional training of an ML model combined with descriptive+prescriptive analytics. What value do LLMs bring to this use case?

    • LASR 5 hours ago

      Ability for normal people to set up reasoning chains.