Wrestled with this same problem in agentic analytics. In theory, use RL on query history + existing docs & models. But theres’s a big missing, evolving “why” that’s in an engineer or analyst’s head.
I think the #1 differentiator in most areas, moreso than exact memory architecture or RL approach, will be how to build the lowest friction system so that the expert WANTS to provide both initial and ongoing guidance. In some cases that might mean voice, in others it’s slack, but it can’t feel like a burden
+1 for "context engineering" over "prompt engineering".
People associate prompts with short task descriptions you'd give an LLM in your day-to-day use. When 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.
On top of context engineering itself, an LLM app has to:
- break up problems just right into control flows
- pack the context windows just right
- dispatch calls to LLMs of the right kind and capability
- handle generation-verification UIUX flows
- a lot more - guardrails, security, evals, parallelism, prefetching, ...
So context engineering is just one small piece of an emerging thick layer of non-trivial software that coordinates individual LLM calls (and a lot more) into full LLM apps. The term "ChatGPT wrapper" is tired and really, really wrong.
Watched DBT's product launch event today, and my biggest takeaway:
Open source companies generally — and those in the tooling layer of the modern data stack, specifically — are facing an existential moment because of AI. The core challenge comes down to the growing tension of AI copilot vs. AI agent experiences.
DBT’s open-source offering, dbt core, has become an industry standard. It created an entirely new analytics engineering role. It’s open, powerful, and now agent-friendly with their new MCP server. But DBT Cloud, the managed service, is where they make money. They’ve historically differentiated DBT Cloud through easy handling of scheduling/infra, a tailored UX, and most recently, their DBT Copilot AI experience.
From this perspective, today’s event was eye opening. I honestly spent more time looking at the community chat than the slides they were presenting - the main theme was meaningful anxiety from the community around what will vs. won’t be open source moving forward. And while this sort of community tension around open source companies isn’t new, it does feel more urgent given the risk of DBT becoming abstracted by new AI coding players, and the growing list of open-source data orchestration platforms for running DBT alongside other pipelines.
DBT is one of the companies I most admire and I’m genuinely excited to see how they take on this challenge over the coming months. But I think the tension between the power of open-source DBT in AI-powered development experiences elsewhere, and DBT's effort to continue creating gravity around its managed Cloud product that pays the bills, is only going to increase from here.
@thesephist@anandnk24 Agreed. And this is the exact reason AI deployment has moved slower than many people expected. The models are already extremely capable when context is shaped properly (Cursor is a great example), but context management is proving to be the harder part for many applications
@drsnow I will say though, the response also surprised me. Why not explicitly address the “frontrunning/intermediating Meta” point more directly? I get you don’t want to indulge every attack but that one is pretty easy to refute
@drsnow I actually have been skeptical of the AppLovin run up just from past false starts on new channels, but I thought the ecom part of this short narrative was insanely thin and doesn’t hold up against brand/vendor incrementality & PPS feedback
The lowest hype-to-potential-impact ratio in AI right now is around relational databases.
The most transformative (hypothetical) horizontal AI product is: plug in DB credentials, wait 15 minutes, have an agent that knows your database inside-out better than you do (not just the DDL), maybe with a few clarifying questions for you. And is on the clock 24/7. For setup-free monitoring & observability, automated tests, automated analysis, writing dbt models, executing integrations, literally anything. Would immediately uplevel @cursor_ai too (MCP for Postgres can only do the basics).
On the one hand, this fits the mold of an AI employee, spanning data analyst, data engineering and software engineering. But an agent like this is actually mostly going to be doing things that aren’t being done today. Every company has unmet monitoring needs or analysis they wish they were doing, or opportunities/issues that are complete unknown unknowns.
As far as I can tell, no one is close to a generalized solution on this despite plenty of solutions that can generate a query to “calculate the last 30 days’ users”. I haven’t seen anything capable of working in a real production environment. Building this just scoped to a single DB instance takes a ton of prompt tuning + a big memory store of sample queries & concepts to get even decent performance. The more general case is multiple orders of magnitude harder because you’re asking the system to be able to fully bootstrap its own definitions, context and procedures with minimal human involvement.
Even if this isn’t fully solved in a general form in the next few years, I think domain-specific versions of this will be the breakthrough that fully unlocks agent products outside of the unstructured data-heavy domains where they’re already performing well (like customer support, legal, dev)
@donvito@joezimo This works well for simple questions. The thing I’ve been playing with is an agent that self-develops memory around the DB to store content/relationship info in addition to schema. Working well with o3-mini, although obviously adds latency upon initial connection
@raw_works@pelaseyed@stevekrouse Agreed - I do wonder whether there’s a point in larger context windows at which it becomes more accurate to do RAG though. E.g., is RAG actually more effective than self-attention over 500k tokens. Reag feels like it could be the right middle ground
@pelaseyed yeah makes sense. Know this wasn’t the main use case shared but I’ve found traditional dense embedding RAG to work particularly poorly for specialized cases like similar query retrieval in a text-to-sql flow so want to try it for that
@CShorten30 Proposing its own set of investigation questions/queries and saving that context for retrieval - but early on in that effort. Curious if you have experimented more with semantic understanding of the database content rather than the core schema and query structure
@CShorten30 I’m now experimenting with using R1 to actually try to get the agent to learn more of the content of the DB (ranges of numerical/timestamp values, most common values, column relationships, etc) on its own upfront.
@gallabytes@jeremyphoward Do you really think the timing is just a function of finance-facing media coverage not hitting until Friday/the weekend? The Monday market/media frenzy doesn’t make a ton of sense to me given there was at least some semi-widely read coverage (eg Stratechery) early last week