Video: Production-Grade Agents on Claude Sonnet 5: Live with Zed and ClickHouse | Duration: 3432s | Summary: Production-Grade Agents on Claude Sonnet 5: Live with Zed and ClickHouse | Chapters: Introduction & Welcome (14.795s), Sonnet Evolution (154.365s), Sonnet 5 Capabilities (336.645s), Zed Workflow Demo (620.065s), ClickHouse and AI (1350.755s), ClickHouse Cloud Demo (1476.1s), Advanced Agent Analysis (1673.055s), Agentic Analytics Implementation (1805.385s), SQL Agent Tools (1933.06s), Agent Future Roadmap (2040.06s), Migration to Sonic Five (2164.335s), Q&A Session (2361.535s), Model Selection Strategy (2463.595s), Production Grade Agents (2577.075s), Model Selection & Agents (2725.21s), Security Sandbox Controls (2799.225s), Model Selection Strategy (2882.985s), Future Model Improvements (3086.62s), Closing Remarks (3274.845s)
Transcript for "Production-Grade Agents on Claude Sonnet 5: Live with Zed and ClickHouse":
Hi, everybody. Thank you so much for coming. Today, we're gonna be chatting about my favorite model in our model suite, Sonic five, and what it actually changes for people building agents in prod. You're gonna watch your work inside two products you're already familiar with, which is Ed and ClickHouse. And the folks demoing are the engineers who actually shipped it there. I I wanna quickly go over two housekeeping items. I think Taylor mentioned it in chat too. But, you know, the the session's being recorded, and it will be available after. And feel free to to drop any questions in the q and a tab, and we'll we'll try and come back to them at the end. But yeah. Concretely, this is what I wanna discuss over in, like, Slack webinar. I wanna first talk about, you you know, the sonic class of models and why this workhorse here, like, exists, and why the interesting change in this release isn't really, like, the price or the latency compared to, like, Opus or Fable. It's really the autonomy. We've seen now that you can give Sonic real work, leave it running, and trust what comes back. And that one shift changes, agent design fundamentally from the ground up. Then I wanna cover what's new in Sonnet four six. You know, stuff like Opus level coding, adaptive thinking, the effort knob, and and how it holds up on a genetic work. After that, I'll hand it off to Neil and Ria to show Sonic five doing real work at Zed and, respectively. And I'll close with migration best best practices from four six, and then open the floor to q and a. Here's intros on on who's presenting. So there's me. My name is Musa. I'm on the applied AI team here at Anthropic. Our role is pretty interesting. We set between product research and go to market, and the job is basically a loop. So you see how Claude performs in the field, and bring those learnings back, and feed them into making our models and harnesses better. I'm joined by with Neil, who's a Rust engineer at Zed, which is a high performance editor a lot of you probably already use. And you'll see his workflow a a bit later, and Riyadh who runs, agentic products at ClickHouse. So if you run analytics at scale, you already know ClickHouse. You're probably familiar with it. They'll say hi in a second when they get to their demos. But before that, let me quickly talk about, some context on on where Sonic comes from and and how we think about it internally at Anthropic. So in March 2024, we shipped three, models, basically, the Cloud three family. If you guys remember, it was Haiku, Sonnet, and Opus. And and and that was a bet that builders don't just want one model. They wanna pick a point, on a cost capability curve. And Sonnet was very much in the middle of that curve, meaning real work intelligence, at economics that make it feasible to run basically all day. Three months later, we released Sonnet 3.5, which beat our own flat trip, across most of the board, at a fraction of the price, and that set the pattern that really defines sort of this, like, Sonic class. Every sort of, like, new SONNET delivers near frontier capability at at that workhorse pricing. And this greater intelligence also unlocked other use cases like computer use, hybrid reasoning, Sonnen, Cloud Code, and the agent SDK. As we went from, like, 2024 to 2025, and we transitioned from Sonnet four to four six, the things we saw Sonic four do, like simple guardrail q and a, maybe a bit of rag, had completely shifted to running agents with four six. And and Sonic five is sort of, like, where that whole trajectory was building towards. A lot of independently run professional task evals, shows that it's basically statistically tied, or just behind Opus four eight. And it's usually the go to for folks building Agenca capabilities in prod. And and, you know, we run this playbook internally ourselves too at Anthropic. The model most cloud users are talking to right now is Sonnet because it's the default, on most of our services. And when Sonnet five shipped, our own sort of, like, internal, you know, tooling reran the C files and moved over within days. I remember, like, one workload, that we were looking at, we're spending around, like, $90 running jobs in Opus. And Sonnet did the same thing for around 20 with the same outcomes on most runs. So, yeah, that that's Sonnet in a nutshell. I wanna talk about where it lands, in the lineup. So the simple answer here is if you're building agents or writing code, I I'd turn off with Sonic five. It's a default for a reason, which is that it sort of brings the best of of, you know, the best combination of speed and intelligence in the lineup. There is an honest nuance here, though. Like, Fable five, is probably the most capable widely released model. So reach for it when you're doing, like, long horizon, autonomous tasks, multi day sessions, or anytime, like, capability matters more than latency. Four eight is still a very smart model. Use it for hard problems where you want a bit of that interactivity. It also has a fast mode when latency matters, and Haiku is is sort of, like, your floor on cost and latency for for stuff like fan out agents and grunt work. Again, the rule of thumb I give folks is that, you know, pick the cheapest model that passes your evals and adjust accordingly. So if you take anything away, let evals decide which models to choose rather than vibes. Now let's talk about what's actually new in Sonic five. So sort of like the short version for anyone coming from, Sonic four six is that the biggest jump we see here is in the GENTEK work. This is the first SONNET to hit Opus class quality and professional task and code evals. And SONNET five blends within a few points of Opus on coding benchmarks, again, at SONNET speed and SONNET prices. Under the hood, the one thing agent builders will actually feel is stuff like recovery. So before, you know, one wrong step, in a long task used to snowball, and this model notices and backs up. It it also does, like, from internal testing, a really good job at verifying its own work. And, also, the API got simpler. So adaptive thinking is on by default, with this model. Effort is one knob, and, you know, sampling parameters were retired. A bit more granularly, let's talk about what that means. So, you know, Sonic five now thinks by default, and it does it adaptively. So before we have to decide upfront whether request was worth extended thinking and how many tokens to budget for it, which, you know, you were sort of doing the models like metacognition for it. And in an agent loop, you know, that guess is is usually wrong in in both directions. So now the model decides when thinking helps. So think of, like, on easy calls, it just answers. And on hard calls, it it thinks first now, and depends, like, you know, what what difficult or what effort setting to use. Also, you know, the old budget knob is gone, and the budget mode now returns a 400. So it's either adaptive or disabled. So what this means, like, concretely in agent loops, is is, you know, fewer of those silent quality drops where the model should have thought more, but it didn't, which is a huge, huge unlock. In addition to that, one thing to know when you're migrating from four six is that the scale has basically shifted upwards. So medium on Sonic five performs about where high did on four six, and and, you know, stuff like max and and x high is genuinely new headroom beyond anything that four six could do. So in practice, what this means is, you know, you should probably start most of your workloads on medium, and then step it up for high or agentic, memory heavy work. And when results feel shallow, your first move should really be raising effort than than rewriting your prompts. Again, the biggest win here is is sort of like architectural because this replaces model routing entirely. You run one fleet with one model, and each route gets its own effort level. That one dial sort of now covers what used to be, or what used to require basically, like, switching between, like, Opus and Sonnet, which simplifies both your infra and your build. So now, you know, you can have, like, one Sonnet class running, and have it decide, where to route, and then you could have multiple Sonnets running with either high, medium, low, depending on, like, what the prompt entails. Let's talk about SONNET, a bit more, with regards to its agentic capability capabilities. So when you're pushing to prod, two things need to be true. One, it has to do the work, and two, it has to hold up under attack. And we measured both and published both. Taking sort of, like, the top row first that you see here, so coding, terminal work, computer use, professional tasks, Sonic five scores near state of the art across agentic benchmarks, and that's what sort of makes it a prime pick for long running agentic work. The second row, you know, you know, shows where production agents fail, and they fail basically in two ways that that never show up, on a benchmark chart. They either get manipulated or they misreport what they did. And Sonic five holds up on security and reliability here too. So to take anything away, you know, both of these rows showed the same model, and and the hardening here didn't cost you any capability. You know, you get both Adjunctic performance and reliability. And and what you get at the end with SONNET five is a model that's gear scores near, you know, the top on Adjunctic benchmarks holds up on security and reliability, and, again, does it with sort of, like, that SONNET pricing. And that combination is is really what makes it viable for long running work in prod. You can let it run longer, spend less doing it, and and trust the outputs that that it's giving you at the end. So, yeah, that was a bit of a nutshell on Sonic five, how we think about it, and and where its capabilities really shine. Now I wanna show you guys, you know, Sonic five in in prod. And for that, I'll pass it off to Neil. So, you know, Neil, feel free to to come on stage, give a quick intro, and and talk about your workflow. Sweet. Thank you, I will, share my screen. Cool. I'm gonna fire off this prompt, and we'll talk about it in a second. But, to introduce myself, I'm Neil. I work at Zed as a back end Rust engineer on the cloud team. For those who don't know, Zed is a open source code editor built around performance and collaboration, and, my team is mostly responsible for developing the cloud side out. So our collaboration features, our AI integrations, and delivering initiatives like Zed for Business. So my demo is gonna be about showing you my day to day workflow using Sonnet, and the prompt that I fired off earlier is a part of it. We get panic reports like this pretty often in, in Century, and it will be, something that we've potentially released have released on preview or released on nightly. We have a pretty fast development life cycle, so we'll release on a Wednesday. And if there have been, no showstoppers or p ones, any bad regressions, panics, we will ship that version or promote it to stable the following Wednesday. So when issues do come in, it's incredibly important for us to be reactive and, yeah. But if if not, fix it immediately, figure out what the root cause is. So this is a bug that I've actually worked on, and it's just a stack trace that we've got. And the error message of something panicking, on someone's system. I'm gonna leave that to run, and, hopefully, it'll finish by the time I need it. One very quick question on that, Neil. So I I see, like, a very large stack trace, and I see that you only submitted, you know, a pretty simple prompt. You're just, like, debug it. Oh, that's know, a good point. I've this case. sure. In this case, do you see, like, you know, a a difference between prompt engineering with with four six? Do you see yourself giving less context to to Sonic five? A 100%. I I say I've gone lazy as a good thing as, to to build this out with, to, four six would require a lot more sort of, like, fine grain, do this, ensure that you go to this file, etcetera, etcetera. With Sonnet five, it's capable enough that I could just give this a sentence, and I'm pretty comfortable that it will find and fix the bug or the very, very least be able to give me, a minimal repro or a root cause. Nice. It's awesome. The other way that I kinda like to use, Sonnet is, code based exploration. Zed is a huge repo. I think it's one of the biggest repos in the Rust ecosystem. For context, this file is about our project search, which is pretty quick as you can see. I can put in a fairly common search phrase and get a lot of results back fast. However, this file is 5,000 lines long, and, this is just one part of the project. And we're we're as I mentioned, we're open source, so we get a lot of merge requests, pull requests, and, code changes pretty quickly, and we have entire teams dedicated to some specific subsections of code. It's near impossible to be aware of what every part of the system is doing at one point in time. And in with that, I think a lot of code bases are sort of moving towards that. And with that comes the need to be able to figure out what's happening very quickly. Be that just touching a part of the code base that you don't know particularly well or onboarding someone, and ensuring they're they have all the tools they need to sort of, like, get started, get productive, and, you know, understand what they're doing. So the way that I like to use, Sonnet is, Sonnet five is like, this is our search function. Not super familiar with this part of the code base. I just go and be like, like, it's this function. And, I can sort of scan through and understand what's happening myself, and Sonnet will come back to me pretty quickly and explain to me that we're, like, batching here and then putting something onto a, like, a background queue and then asynchronously inserting anchors, which is a part of the code that I'm still investigating because I yeah. Again, I don't really know much about it. Like, tab through, it's kinda got a complicated function signature. And, I I've actually observed whilst doing this exact thing, SONNET five being very practical and hands on where it uses the information that it has available to it. So the speed is one thing, but, being correct is something that's, you know, the other side of that coin. I find that, in one situation, I asked about the function signature. Sonnet removed a couple of trait definitions that it didn't think was were needed anymore, ran the compiler to check, then reverted its changes and told me what its analysis was. Using tools that are definitely gonna be correct, like the compiler, is is way better than leveraging, intelligence to assume in this specific situation. So, yeah, that's, that's one way that I kinda use it, and I'm sure that, you know, we can also understand situations where that would be useful. If I go back to my previous thread, which I had running, it has not completed yet. It has gathered all our context and explored the code base. But, thankfully, I have here's what I made earlier. The exact same prompt, I just ran it this morning. And what what I've what it's doing and what I've noticed on it doing, 25 in particular, is that it will use Git to figure out what the context of that file is and the context of the previous commits. Gather all of that upfront before making any changes. Then in this case, it's committed or or added a fix first, then added a test as I asked it to do. But the next part is it has removed the fix and then reran the test to ensure that the old version fails, and then it's able to capture that behavior. And I I did not prompt it to do this. You can see my prompt, but this is, like, something that's pretty new that we haven't seen in other models where it will use again, use these tools to give us verifiable output, then add back in the changes that it thinks will fix the problem, then rerun the test and give the root cause analysis, the fix. And this one has, very helpfully, create a flowchart of what can happen in each, like, permutation. We have native mermaid diagrams in zed, and our agent is tuned to represent problems, a bit better visually. So, yeah, This it's is really. cool. Like, one question on this, Neil, is, you know, when you're looking at a stack trace like this after the fact, what are you actually looking for before you merge? Like, what are you trying to verify the agent doing before you actually hit, you know, the big red button to merge? The the tests are the main thing, and to a lesser degree, the consistency with existing code. I've been using the latter as a proxy measure to understand how much the agent is aware of the context. And going through, like, these ones, it's able to sort of effectively duplicate a test, but only makes minimal edits where they're required. And they'll this change hasn't rewritten huge tranches of code. It's a very, like, narrow, targeted fix, which is exactly what we wanna see. Like, ideally, not a lot of code changing and identification of what the problem is and then a test that will capture it. So, yeah, that's, yeah, that's fantastic. And Nice. And then one more thing. I I see that, you know, you're obviously in a Rust repo. In the past, you know, models and agents sort of struggled with Rust. You know, Python was sort of the bread and butter. How are you seeing Rust performance with Sonic five versus, you know, Sonic four six or or other models? And there is a huge market improvement, and I I think one of the reasons, for that is it's able to use the compiler and call out and use other, like, tools that we would use. I can actually give you a side by side for the exact same, workflow that SONNET was able to do just now, off of one sentence. I would have to previously prompt to say, make sure you do this and then, like, make sure you run cargo test and cargo check and cargo build and only then move on to the next instruction. Here, it's encoded within the model for free, which is great. Nice. That's awesome. Great to hear. Just as a point of comparison, I, this was the fix that I merged. It was it's doing the same thing, checking the snapshot and remote ID. So good on Sonnet. Good on me. So so is it email. say that, we can replace Neil at Zed? It looks looks like Son is doing the same work. Please don't replace me, Anyone from the side watching, please. Very quickly on evals. We ran, evals against an early version of, Sonic five and across against two different, sort of work streams. One was refactoring, and one was code based q and a. Refactoring is the percentage of tasks that was able to complete successfully, and code based q and a was more exploration driven. How, you know, in-depth or how quickly does it search your code base. For refactoring, we found that the sonnet five was about twice as good as sonnet four six, 46.3 compared to 25, point nine. Two times the amount that are solved, with a 66% increase in tokens, albeit mostly cheaper cache reads. For code based q and a, we found that it was about, it got about half the score as SONNET four six, 13.8 compared to 29.3. And what we can kinda infer by that is that it used fewer tokens, and was more aware of its limitations and faster to return control to the user. So it's exactly as I mentioned just now, it is less likely to reward hack, and this has cut down on instances where it would, like, explore super in-depth to return information that it already knew from, like, a couple of seconds of exploration. It's, like, able to be that teammate, that rubber duck at the side that you can just ask questions to. But on the same vein, it's way less likely to get stuck or go down the wrong path before reverting control to you, which keeps you way, way more in control of the engineering process. Awesome. That's great. And that's exactly where we wanna position this model too as as sort of, like, your agentic thought partner, who can go super, super deep and run through these long running agentic tasks, but also be interactive and and act as sort of, like, a partner where you can you can ask and and interact and and get more context with. So that's awesome. One question on this, Neil, is, like, is there still a task shape where you might route to to Opus or Fable instead? Yeah. Definitely. I I'm more inclined to use bigger models on sort of, like, multi step tasks that are more than just a stack trace or go and investigate this bug. I'll still reach for the bigger models. If I have, like, a pretty complex, like, brainstorming or the a a piece of work that touches multiple files or services, but for but to be honest, Sonnet is my default. I'll only reach for other models if SONNET doesn't feel capable enough to, to tackle them head on. And, yeah, that's that's the way I approach it. Awesome. Awesome. Sweet. Thank you so much. Thank you so much, Neil. Thank was that was great. you, So, yeah, the thing I wanna flag for the audience is, you know, this was real work. Yeah. Neil showed you his his workflow. So it wasn't, you know, staged demo happy path. So, thanks again for for sharing, Neil. Next up, I'll I'll call Ria to stage. Ria's from ClickHouse, and he's gonna demonstrate Sonify live in prod for ClickHouse agents. So, Riyadh, over to you. Hi, Usa. Thanks for having me today. Hi, everyone. Very happy to be here. So I'm Riyadh. I work for, ClickHouse as a product manager in charge of, our AI ML story. And, few words about ClickHouse before I start. Maybe folks would be familiar about what we do, but we're not in the coding space, but more in the data infrastructure space. We're a very fast database that applied to real time analytics workloads, which means basically a lot of use case nowadays. So observability falls into that category, AI observability and running emails on top of traces. We joined forces recently with length views, which some of you might heard of, so that we can power more of these use cases. So AI has no shortage of data requirements, for us, and we keep working on that. And this year is a special year for yours because our open source project turned ten years, old, and, very happy to be here. And so I feel a bit nostalgic, so I'm gonna show one piece of, content that I think is important for us, especially at ClickHouse, has been a very interesting, moment. So let me go to our website. And this blog post, which takes back to a year and a half ago, is, when we kind of wrote about agentic analytics as a use case. And you'll find some screenshots in there that people who've used the early versions of cloud desktop with the early MCP servers might remember. That was our discovery of agentic analytics, basically, the ability to ask question questions in plain English and get the agents right SQL queries for you. And it was literally mind blowing for us to be able to generate analysis like this. Here, for example, I asked about the .com bubble. And SONNET 3.5 was the kind of realization model for us. So our story with the SONNET family, goes a long way, I guess. And now, almost a year and a half later, let's jump into what we're doing now with SONNET five. So this is ClickHouse Cloud, our managed, offering, where you can just go and run queries, for the data, analyze, content, and get this real time analytics story started. So here I have a lot of datasets, and we have this capability called ClickHouse agents, which will open a new tab into this interface that comes from an acquisition we've made called, LibriChart. You can prompt your way into exploring your datasets. So here I'm asking about the largest table in my demo service. And what's really important for us at ClickHouse, we're built on three main foundations, scale, cost, and performance. So we try to shave every millisecond out of the query, for the users on top of billions of rows. And the remaining time is usually the generation time. So here in this case, you can see that the answer was pretty fast. Again, a very simple query. But when you're exploring, like, pretty complex datasets, these compounds rather quickly. I have an agent builder here. So I pick SONNET five. I give it a mission, a system prompt, access to some tools. I prepared one of these agents here called tech trends agents. And let's get a more illustrative example of what these dev thread agents can do for me. So here, I'm gonna ask it more questions. So what datasets do you have access to? Always to start with. Again, it's a fully interactive experience. It's not this kind of offline agent that you kick in, and you can see that I mean, it's almost like no query was run. Here, how can I use and get up as dataset? So what can I explore on top of that? Obviously, I work for ClickHouse. I'm interested in how ClickHouse is trending on Hacker News. So I can ask about how many Hacker News stories punching ClickHouse last year. And fairly quickly, you can see that the thinking step was rather short and snappy. And this is what we observed when we compared SONNET five with the previous, additions, namely from point six. We got the same level of performance in terms of analytics capabilities for a fraction of the token cost. And in our case, it's a game changer because it means time to insight, which is literally the main, variable we optimize for, is getting reduced, drastically. So quick question on this, Riyad. I mean, you know, did you talk about time to insight. Obviously, I I think you guys played around with the effort here, when developing this agent and also, you know, played around with adaptive thinking. Did those things change, how fast you were able to get insights? Yeah. That's a good question. So, actually, our main, lesson learned there was what you mentioned earlier. We kind of shifted shifted the stage right. Even on the lowest effort tiers, we managed to get the same level of performance we used to get previously, spending way more tokens on the effort. So from that sense, keeping the same level of performance is actually cheaper for us right now on SONNET five. Guys. So as you can see, it generated the whole analysis, ran multiple queries, complex analytics queries on top of a fairly sizable dataset here. And I can push this further, so I won't be, doing it live just to save a bit of time. But you can see here, a more complex analysis where I push this exercise further, asks for correlation analysis, for forecasting. This GitHub events dataset is billions of rows, 10 billions of rows in this case, cross checked with 50,000,000 of rows of Harkon use stories. Long story short, we noticed that, basically, software gets built on GitHub, and roughly a year later, we talk about it on how to use usually. So it's a very interesting, trend, kind of capture for us looking at these public datasets. Again, you have to picture your own datasets in that use case. And for me, the coolest use case for Sonnet five was actually giving this kind of more horsepower we're getting is the ability to unleash more agent on the same analysis. So, for example, here, I took the same flow looking into correlation analysis, pushing it a bit further with forecasting, and then launching three sub agents in parallel looking for different trend analysis in this case. And I'm not bound to three. I just picked three here, for example. So what happens here is that the platform takes these agents, run-in in their own context windows, but it stays in a interactive performance. It's not something that I have to babysit or monitor. I'm still, like, watching the term material results. I'm not paying a huge tax to perform these. And, again, this sub agents result return summarized for me, putting my skills, my institutional knowledge on top of the datasets after I provided for the user. So similar to, I guess, like, Neil's use case, you're you're now seeing Sonify run these long sort of, like, agentic tasks with very little sort of, interruption or babysitting or guard railing on your end. Yeah. Exactly. And, also, there's a huge difference between launching an analysis, coming back to it few hours later, and having to rebuild your human context window around the problem and just asking the question ad hoc. Few words maybe on this specific use case, agentic analytics. For example, at ClickHouse, 80% of our coworkers, employees use agentic analytics every day, and they use it in very different situations. Like, a support operator is solving a support case and asking our platforms about the historical trends of the user, the type of platforms they're running, the type of issues they have historically, where a sales rep, before jumping on a QBR call with an account will ask a question, a very open ended question. They're like, tell me everything I need to know about my customer. And in this case, the ability to have interactive results while you're sitting in front of the user in a meeting room take a a whole other importance. sure I'm sure that's super, super important. And it'll only get better as time goes on, which is the crazy part. These models are the worst they will be today. So the sky is really the limit here. Quick question on on building these agents, Ariad. So, you know, this is a multi turn session that you're showing. You. know, you built this with the API. Are you passing basically the full history of each turn or summarizing state, as as you call the API? Did SONNET five change what you can do or or get away with here? Yeah. Good question. So, actually, we're passing the whole, state in this case. And, actually, especially in the case of, like, running, sub agents, that's the whole end of appeal for it. It's like spinning out new fresh context windows and sharing just limited context in the scope of a sub agent. But, yeah, we do way less prompt management engineering summarization right now, and it allows us to simplify our agents and focus really on what matters for us, which is executing the queries in near real time. Nice. And and as you transition from, like, you know, four six to five, was there any Sonic four six arrow guardrail or scaffold or harness that you created? Like, similar to what Neil was saying before, you have to prompt and give, like, detailed instructions, but now you can just, like, type that one line and Sonic five doesn't. Do you see yourself going in and deleting any of that scaffolding or harnessing that you created for four six, as you move to Sonic five? And what does that look like? Yeah. Well, we definitely simplified our, harnesses over time. I think it's all about giving the right tools. In our case, the list of tools is surprisingly simple. It's actually three main tools, list databases, list tables, and run SQL queries. And the beauty of SQL is that it's probably the best data API the world ever came up with. It's actually fifty two years old now. So the agents' pretraining data are filled with SQL examples. And something that may be worth highlighting is, like, the text to SQL capabilities of the Sonnet family of models is top notch, which allows basically the agent to run these explorations in autonomy without requiring us to do a lot of, handholding there. What use users tend to compensate with using skills in our case, so I'm moving here to our skills view, is anything around, like, the business context. That's, like, for example, how to run full text search on top of ClickHouse, how to analyze the tech trends. This is easy to capture and actually lives in human brains. But exploring data, as long as you are proficient with SQL, the agents do it Nice. Nice. So data. analytics, TLDR here is data analytics, with these smarter smarter agents. The the barrier to doing good data analytics is is lowering by the day, essentially. Yeah. Definitely. And the ability for the agents to figure out open ended questions has improved drastically. Nice. So, like, as a follow-up, where does the agent go next for you then? And do you think, like, more autonomy, longer sessions, more tools, something else? Have you guys thought about this? Yeah. I think in the real time agent use case where time to insight matters, actually, I think it's very hard to beat the performance we're getting right now. So I'm curious how how many seconds we'll be able to shave next, and I think there's a ceiling to how much we will get there. On the other hand, I think the ability to perform long running task is what we're looking for probably more in the kind of data modification slash transformation area where there is a lot of room for improvement. In in read only use cases, I think we're doing really well, and ClickHouse has been shining there for, I mean, almost forever. That's why it's used for observability. That's why it's used for AI engineering and LLM observability. But I think creating materialized views, transforming data on the fly, these kind of more kind of let's call them destructive or more duplicative workflows are what we will look for improving. Very interesting. And and good to keep on our radar too. I think, like, you're right. As time goes on, the read only use cases, like, they're they're do they were doing go well, and they were doing good. But now the next sort of frontier to conquer is sort of those right use cases. And how do you make models, like, do write better in a reliable way? So something to to to keep on the lookout for as these models and agents improve. But, yeah, thank you so much, Rhiannon. That was awesome. Thank you, Musa. Sweet. So I'll switch back to my slides now. So, yeah, I at this point, hopefully, in the audience, you you've seen Sonic five run, and you were able to see the power and really, like, the step change from Sonic four six. And so, you know, now you're probably thinking, how do I, you know, take in some of this, like, this new capabilities? How do I switch from from Sonic four six or whatever model you're using to Sonic five? And for the folks who are coming from Sonic four six, the migration is fairly straightforward. It's just a model string change. And and my recommendation is leave thinking alone, since it's adaptive by default now and and tune really that effort, level that I was talking about before. And then review it, on your traffic, side by side and compare, you know, your your evals and see, you know, which workflows do well with, which effort levels, and then start making those tweaks and then start moving those workflows over. And one thing to call out too is until August 31, there's a pricing promotion on Sonnet. So it's it's $2 for 2,000,000 tokens in, and $10 for 2,000,000 tokens out, for all customers in all platforms. So really, really take advantage of of, this pricing scheme while while you have it. You have it for, like, the next month and a half almost. So so, go hard. And, yeah, the the thing I wanna call out on the right too is, you know, some breaking changes from Sonar four six. And I know that some of our users, are using some of these params today. So budget tokens inside the thinking config and temperature, top k, top p. If you're using any of these requests in in the request body, then, and when you point it towards basically Sonic five, the call will come back with a 400. So anywhere you're using these params, please go and find them and and delete them, and use effort level, instead of instead of these params. And, you know, touching on this again, I'm I'm sure you saw this in the demo, and you saw this from from some of the slides that that I talked about too. But, the the this really shows you the upside at the bottom of when you swap over to Sonifibe. Essentially, you're able to to hand in bigger tasks end to end, with a full spec upfront. And and it's really recommended to give responses headroom by raising max tokens since, thinking counts against the budget. And and and it's also really important. You know, with this model, we've seen that it takes, like, instruction following literally. And and because it follows instructions closely, you know, a lot of the scaffolding that you sort of built for four six, like, you know, progress update prompts, verbosity clamps, and the hand tune sort of thinking budgets, you you can basically delete. And then, you know, one thing that I will note is that, there was a tokenizer change with this model. So the same input can map to more tokens. That's that's public. It's stated for a reason, and that's why we sort of, you know, position this with the launch promo pricing. But as, you know, you sort of heard Neil and and Ria talk about, even though, like, you know, it is maybe taking more tokens, the cost per task is actually lower because it's a much smarter model. So, yeah, these are some things to to take into account as as you're thinking of transitioning from Sonic four six to to Sonic five. And, yeah, that's that's all for me and and all from, the group. Thank you guys so much for for coming in, and and I wanna open the floor to, any q and a. We we've got some time. So, you know, questions and and answers, I'll I'll go over, and I'll I'll check what's what's been in the chat. Thank you guys for coming. And at the same time, if if Ria and Neil, if you guys come back on stage, that would be that would be great. So I have one question here. Hello. What if we use Fable five for research and deep thinking for product defining and then you Sonify for development? Great question. I I think this is exactly what I was touching on before. So, you know, use the the really frontier model suite, so your Opus and your Fables for, you know, that that really deep thinking, spec defining. And then USANA is like that workhorse. It has near Opus and Opus level capabilities with coding, so it does just fine with development. So I would I would recommend that pattern actually. It's using the fables and the Opuses for research and deep thinking and then SonNET for implementation and development. I I don't know if Neil or or Riad, you guys have anything to add here, but I think this touches on sort of what you guys were demoing too. Yeah. That that is actually the exact same pattern that I use with the like, a fable or an opus to generate a spec Mhmm. And then have Stoner execute each part of that spec. However, the now the spec doesn't have to be as, like, closely defined, and the model is, you know, smart enough to sort of, like, re return control back. So it doesn't go down, like, or completely random path that you weren't expecting. And just maybe in analytics, there's a distinction between, like, routing questions, like, what was the MRR last month and, what was I don't know. How many support cases we got for this? I'll go with, like, just, like, the simplest models and some deep analysis you wanna perform on top of a very large, datasets of traces collected. For example, in our AI engineering kind of function, length views, which collects traces, it's very handy to plug in your coding agents on top of your tracing, database, which it turns out to be just database at the end of the day. So you can close one more loop there and get features built, looking at the traces in real time, and see what the impact of any modifications you've made. In this case, I think the Bifero models really shine in, looking for hidden patterns you might have missed because it's very hard. But it's easy to reason about one trace. It's very hard to reason about, like, thousands you're getting from your protection systems. Totally. That makes sense. And one thing to call out too is we also published the adviser tool. And so what that tool basically allows you to do is, you know, when you send SONNET out to do the development work, if you equip it with the adviser tool, it has the ability to call, you know, a beefier model like an Opus or or Fable so that it can guide, Sonnet on some of these, like, carrier tasks where Sonnet might not have, you know, the the brainpower or might not have enough context. So I would recommend reaching for this adviser tool as well. So, you know, maybe having Fable do the upfront plan or Opus do the upfront plan, Sauna do the development, and then have the adviser tool equipments on it so that it can go in, and reach for these, you know, smarter models while it's while it's reasoning and and doing the dev work. But great question. Second question is, what is the main feature or behavior that makes an agent production grade? I I think we we touched on this a lot, not to beat a dead horse, but the ability to, you know, think, about, you know, some of these harrier problems across longer context, the ability to to autonomously, call tools to solve these issues, the abilities to take, like, very little context in the beginning, kind of like what Neil demonstrated with one prompt and be able to solve, like, an investigation end to end by doing its own research. That is what I define as as, you know, the main feature behavior that makes an agent or model really production grade. You know, in the past, you'd see with, like, Sonic four six. You would have to give a lot of context upfront. You'd have to guardrail it a lot, and you'd have to, like, really monitor and babysit, how it was doing. But now with these newer suite of models, you can kind of let them run autonomously, and trust, you know, them choosing the right tools, going down the right paths, and giving you the the correct outputs that were verified. So that that's my definition of of, you know, production grade agents. I don't know if if you guys have anything else to share here. I I do maybe hear. I think the best definition for me is really, like, are they used in production? Basically, are they used, like, by many, many people? And are these people getting value out of it? I mean, that's why I'm here delivering my algorithm observability to start with because you need to measure, everything you're doing, and you need to be able to provide some accuracy scores, some correctness scores, and see if you're trending towards the right direction, if this new model release really moves the story forward, what are you trading off for the performance you're getting, especially I mean, maybe it's specific to in JT Analytics is our user base can be nontechnical. Can anyone who can formulate a question in English about the business is one of our users. So sometimes they're not really equipped to interpret the SQL queries the models are generating for them. So you need to provide a bit more, I guess, framework around it to make sure you're providing valuable insights to them. So Of course. Yeah. That's that's huge too. So letting these models them. and agents run-in in broad, super, super important and trusting that they'll be reliable. Makes some sense. One question I got is for primarily coding tasks, should we now be using SONNET five instead of Opus four eight? Good question. I think, yes, try SONNET five. You'll be surprised at how close it can get to Opus four eight. You know, adjust the effort levels and try running it on high or or x high maybe even for some cases, like, really hairy tasks and see how well it does. But, again, going back to the slide I I had before, really ground these decisions in evals. So, hopefully, you have, like, some eval that shows, you know, how well these various different models are doing on some of your coding tasks. And if you're seeing that SONNET four or SONNET five is not performing up to spec, on on your code base, then maybe it makes sense to to default back to Fable or Opus four eight. But, yes, I would recommend trying Sonic five, running eval, determining whether or not it's solving most of your problems, and then sticking to Sonic five. You'd be surprised at how much better it's gotten. One question I have here, maybe, yes, Neil, you could answer this, but, if I want to run autonomous agents that can read slash write files and execute shell commands, what native support does that offer to run and permission these types of flows? So, Neil, go ahead. If you wanna share your screen, let me know too. Yeah. I can, I can share my screen? This is a really good question. Actually, we've done some work recently, around this. So I will share my screen. Within said profiles, like this little thing, you're you can configure, like, the right profile, for example, to change the built in tool so you can, like, omit the ability to edit files or grab or use terminal. On top on top of that, there is also this new, sandbox thing that we've, either have delivered or are in the process of delivering, coming to a stable near you, where you can go into the settings here and set up more fine grained controls, like, allowing all domains, allowing certain domains, allowing file system rights, warning about confusable Unicode, like, two a's that look similar. And, yeah, it's it will also come up if you're talking to an agent in, like, an agent thread. It will ask, if you wanna give permission to, like, use the Internet always or just for, like, github.com or just for this thread. So, yeah, very soon, you should be able to, see that functionality. And if you, want to learn more about the sandboxing, I'll put a link in the in the chat, about how how we're doing that. Awesome. Thanks, Yale, and thanks for the question. Another question I got was for Sonic five versus current Opus slash Fable. You mentioned that you may use Opus Opus slash Fable if Sonic five doesn't feel up to task. How do you clearly identify, that early in the process without wasting too much time slash credits? This is a good question for you guys, Neil and Riyad. So you guys have put, Sonic five in prod. How did you determine to make that choice on using Sonic five, without wasting too many tie too much time slash credits here? sort of, like, have an opinion on the, like, wasting or using credits initially. I I think it's actually, like, kind of a good thing to throw SONNET an issue. And then if it can't progress any further, then move on to Opus because on your first implementation, you find out so many things that are useful for the next iteration. So you kinda take all the learnings of maybe a cheaper or, less intelligent model and then feed that into one that's more intelligent so it doesn't go down the same pathways. Yeah. This is sort of my take. But I think, yeah, in in the sort of, like there there are tasks that you know are multifaceted enough to acquire a smarter model. There are tasks that you know are pretty, like, small enough that Sonnet would just be able to breeze through them. That murky gray is is pretty hard to define, but, yeah, typically, I'll I'll default to a Sonnet. And then if slash when it gets stuck, it reverts back to me pretty pretty quickly that it can't continue, so I can move on to something else. For me here, it really boils down to the notion of of what what is a sweet spot model for the workload. And, this keyword sweet spot is actually very important. You don't want to, run the highest capacity infrastructure for, like, a small task in anything you're doing. Like, you don't want to run a server as your laptop. You don't want to run, I don't know, a truck as your daily commuter car exists. Right? Applies the same way to, models. And one way we've been doing it is that we collect historical runs of agentic analytics for our internal use case at ClickHouse, and the quick check we do is just to rerun this historical conversation and compare the outputs we got. It's contained. We know exactly how much we're gonna spend on these tests. We hand labeled a lot of these, cases to know what it would look like, and then we compare. And for this one, for us, it was evident that we're getting the right level of performance. So, basically, the same we got with four point six, spending around 30% less tokens. So it's it's not a small deal for us. It's not a small deal for our users who are running analytics at scale. And, again, maybe it's specific to analytics, but I like to think about this use case that, like, in a perfect world, if we had unlimited context windows, we just put the whole dataset there, and that's it. Like, we forget. There's no database. I mean, the context database is the database. But there something like lakehouse really shines because it extends the context window of what the agents can do. It gives us, like, querying capabilities into billions of rows, and it's kind of very straightforward for us to measure how good we're doing it. Nice. And those are very efficiently too. I'll add ClickHouse is is incredibly fast. It's an awesome product to use if if you guys have not checked it out in the audience. And then perhaps one more question here, that we got is, and and I'll leave it with with you guys, Neil and and Riyadh. As you're thinking about, you know, where Sonic five is going, how do you picture your products changing, as as we think about releasing, like, new Sonic models? Like, where would you like to see those models improved, for can you know, additional workflows that might be unlocked? I can go first. Maybe, something that's top of mind for us is the concept we call, the trust feedback loop. It's basically giving our user base enough trust into the agentic analytics we're producing for them. So if you're a technical user, you don't really have this problem because you know how to read the trace. You know how to read the eval. You know how to interpret that. But for a business user, let's say, a c level executive who's using an agent to ask about the performance of its organization. In this case, how do we surface that into our product so that they understand the accuracy they're getting out of the system. They understand the pitfalls. They they they know how to read numbers carefully, etcetera, and they know how to interpret failure mode so that they can iterate on them. Because, I mean, a software developer is kind of trained on this, like, debugging loop. So they know how to chase bugs, and they know how to find them. But we deal with, like, less technical, less technical audience, but an audience that's more knowledgeable about the kind of domain knowledge they deal with. And in this case, that's, actually the gap we're trying to close between being the database that stores the ground truth datasets and the database that stores the traces. This loop is actually very easy for us to close. Now how much of that we want to surface in the product? And it raises the question of, like, the human in the loop. So where to halt the process and ask for input is actually an area where we expect the model to improve a lot on their introspection capabilities so that they raise this consensus. They're like, oh, this is the right time for me to ask for more inputs. Right? Nice. Yeah. That makes sense. And and as models get better and better, they'll, as you mentioned, be more introspective and know when to when to call out and and ask the user for more insight. You've already seen it done in code if you guys use Cloud Code. There's the ask user tool, and it comes up a lot. Like, when you give Cloud a more ambiguous task, then it starts asking questions, which is great. But we really wanna see this rolled out across all verticals, whether it be, like, data analytics or health care or, you know, name name x vertical legal. We we wanna see Claude being more introspective, understanding the known knowns, known unknowns, and and really asking the user the question here on on, you know, next steps. And and we'll see that coming as as models become smarter and smarter. But but thanks for the answer, Riyad. Anything to add, Neil? Yeah. It it's a really good question. And for me, I think it's it's to do with, like, taking what the model is good at, and it feels like, there are, like, specific models that are, like, very specialized at certain things now, and being able to use those strengths, to to the nth degree. So, like, a a sonic class model, for example, how can we leverage the fact that it's, you know, it's got a huge context, then it's good. It's fast, and maybe it's good as, like, a summarizing model. Maybe it we'd be able to put some context of, like, a code base or update docs or, you know, sort of, like, have entry points in each, directory crate to sort of explain what's going on there. Whereas for another model, we would use it to, I don't know, do investigations on things that we wanna spike to call out to, like, verified services to sort of, like, pull together a dossier of information that could then be used by a different model. Yeah. I think it's it it's exciting because as model specialized further, we'll be able to be more opinionated about what is useful for what within our service, but I guess it's you know? We shall see. This is my answer to that. Awesome. Awesome. Great. Makes a ton of sense. And that's that's all for today, folks. So thank you all for joining. What a what a good note to end on. You know, the future state. Again, these models are the worst they'll ever be today, so stay tuned. We don't know what the world would look like when SONNET six is out. Hopefully, you know, you we're we're all still here. But, you know, until that day comes, enjoy using SONNET five. Really, like, throw it into your hardest production problems. See how it performs. Grab those emails and and let it rip. You know? This is a great model. This is a model that I personally love and I use a lot, and and Ria and Neil also seem seem to love and use a lot. So, yeah, super excited for you guys to go out and try it. I'll leave you with these. If you guys read the system card, yeah, you you've seen these, but, you know, if you take anything away, this is the model to use for long running, agentic tasks. So, yeah, throw in your hardest problems. Let let it rip. See how it performs. And then, yeah, switch to Opus and Fable where it is going down or, you know, tweak the effort bar. But all in all, yeah, please give this model a try and and let us know your thoughts. But, yeah, thank you guys so much for coming. I'll give you guys the the rest of the time back, and thank you, Neil and Riat, for presenting. You did a great job. Thanks for having us. Thank you, Ron. Thanks, everyone. Bye.