サンドボックス、セキュア推論、暴走エージェントをどう防ぐか

Sandboxes, secure inference, and keeping agents from going rogue

The Stack Overflow Podcast34分
サンドボックス、セキュア推論、暴走エージェントをどう防ぐか

サンドボックス、セキュア推論、暴走エージェントをどう防ぐか

The Stack Overflow Podcast

0:0034:58

要約

We Are Developers カンファレンスで収録された二部構成の回。前半はDaytona CEOのIvan Burazinが、エージェント用サンドボックスの脱出事例、基盤の分離レイヤーの脆弱性、用途別の選定基準、EC2との違いを語る。後半はBlackbox AI CTOのRichard Riskが、エンドツーエンド暗号化推論と、エージェントによる推論最適化、顧客がエンジン自体を所有するモデルを説明する。

この回のポイント

  • ●Burazinによれば、サンドボックスはエージェントのための「コンピュータ」であり、同時にエージェントを隔離する安全な仮想マシン(多くはmicroVM)でもある。
  • ●脱出事例について、基盤のFirecrackerやgVisorなどの古い脆弱性が今になって見つかっており、パッチ適用や更新の在り方が問われると同氏は述べた。
  • ●収益の大半は、バックグラウンド/長時間稼働エージェントと、ポストトレーニング・強化学習用途から生じ、後者では起動速度がGPUの遊休コストに直結すると説明した。
  • ●サンドボックスはEC2と比べ、起動がミリ秒単位で、実行中のサイズ変更、メモリスナップショットによる一時停止・再開・フォークができる点が異なるとした。
  • ●Riskは、ZDR(ゼロデータ保持)でもラボ側が利用規約違反の検知のためにプロンプトを確認し得ると指摘し、E2E暗号化推論の必要性を主張した。
  • ●Blackboxは、ワークロードプロファイルをもとにエージェントで推論エンジンを最適化し、顧客が推論エンジンを所有できる形やGPUへのSSHアクセスの提供を進めていると述べた。

章立て

  1. エージェントのサンドボックス脱出事例

    Hugging Face関連の脱出事例を受けて、サンドボックスとは何か、設計上の課題や実験の問題点を議論する。

  2. 基盤の分離レイヤーの脆弱性

    Firecrackerなどの基盤自体の脆弱性、企業がAWS製を好む理由、新しいハイパーバイザーの可能性を語る。

  3. サンドボックスの主な用途と選定基準

    セキュリティ特化、長時間稼働エージェント、ポストトレーニング/RLの三用途と、性能が最重要となる理由を説明する。

  4. EC2との違いと高速起動の仕組み

    起動速度、動的リサイズ、スナップショット、フォーク、スナップショット配布による高速化を解説する。

  5. サンドボックスの将来とOS対応

    Linux、GPU、Windows、macOSなど、人間と同じ多様な構成をエージェントに提供する方針を述べる。

  6. E2E暗号化推論と速度・コスト

    ZDRの限界、WhatsAppに着想を得た設計、保存・転送時の暗号化との違い、推論高速化の手法を紹介する。

  7. エンジン所有モデルとSSHアクセス

    エージェントによる最適化で推論エンジンを顧客が所有する構想と、GPU直接アクセスの提供を語る。

  8. 政府利用・地政学とオープンモデル

    JPMorganや国防関連の懸念、提供先の限定、中国ラボとの協業への立場、NVIDIA Nemotronの評価を述べる。

解説記事

今回のStack Overflow Podcastは、We Are Developersカンファレンスで収録された二部構成だ。前半はDaytona共同創業者でCEOのIvan Burazin、後半はBlackbox AI CTOのRichard Riskが登場し、ホストのRyan Donovanと、エージェントの隔離と推論のプライバシーという二つの課題を語った。

サンドボックスとは何か、脱出事例をどう見るか

Burazinはまず用語を整理する。サンドボックスはエージェントが仕事をするための「コンピュータ」であると同時に、エージェントを閉じ込める安全な仮想マシンでもあるという。形態はコンテナ、VM、ベアメタルがあり得るが、大半はVM、より正確にはmicroVMだと説明した。

Hugging Face関連でエージェントがサンドボックスを抜けてインターネットに到達した事例について、同氏は疑問を呈した。脱出能力を持つエージェントなら、まずガードレール付きの環境で試すべきだという見方だ。なお、実験は不可能なタスクを与えたものだったとホストが補足している。

本当の課題は基盤レイヤーにある

同氏が強調したのは、最近見つかる脆弱性が新しい問題ではなく、5年、7年前からあった古いコードの問題だという点だ。多くのサンドボックス事業者はQEMU、Firecracker、Cloud Hypervisor、Docker、gVisorなどの上に構築されており、事業者独自の層と基盤の分離層の両方が攻撃対象になる。

一方で大企業はAWSが保守するFirecracker以外を使いたがらないという。同氏は、エージェント向けの新しいハイパーバイザーを作るSmall Machinesのような試みが、長年使われた既存技術より安全になる可能性もあるとの見方を示しつつ、「IBMを買って解雇された人はいない」という慣習が顧客の選択を左右すると述べた。

用途と性能:なぜ速度が決め手になるのか

同氏は用途を三つに分ける。セキュリティ特化型、バックグラウンド/長時間稼働エージェント、そしてポストトレーニング・強化学習だ。収益の大半は後二者から生じ、セキュリティ特化は最も小さいという。

ポストトレーニングでは、GPUで推論を回しつつ、数千から数百万規模のサンドボックスを起動・停止する。起動が遅いとGPUが遊休になるため、性能が最優先になる。Daytonaは自社がKubernetesより36%速く、年間で約3分の1の時間を取り戻せると主張している。EC2との違いとして、ミリ秒での起動、実行中のリサイズ、メモリスナップショットによる一時停止・再開・フォーク、ローカルNVMeによる高IOPSを挙げた。高速化の鍵は、利用頻度の高いスナップショットやテンプレートを多くのノードへ配布するオーケストレーション層にあるという。

同社はLinux(CPU/GPU)に加え、Windowsとm​acOSのサンドボックスも提供する。iOSアプリ開発にはMacが必要で、API のないWindowsアプリを扱う知的労働も多いため、人間と同じ構成をエージェントに用意すべきだという考えだ。

E2E暗号化推論:ZDRでは足りないという主張

後半のRiskは、ZDRを有効にしていても、ラボ側が不審な活動を検知するためにプロンプトを確認し得る事例が注目されていると述べ、暗号化推論の意義を訴えた。Blackboxは約3年前から取り組み、WhatsAppなどのE2E暗号化メッセージングに着想を得たという。転送時・保存時の暗号化とは異なり、クライアント端末を出た時点でペイロードが平文でない点が違いだと説明した。

速度面では、カーネルレベルの最適化、投機的デコーディング、品質を落とさない量子化などで、TogetherやFireworksとの比較で計算需要に30%から2〜3倍の差があると主張する。さらにフォワードデプロイドエンジニアが行っていたワークロード最適化をエージェントに置き換え、顧客がファインチューニング済み重みを所有するのと同様に、自分のワークロード向け推論エンジンを所有できるようにしていくという。GPUへのSSHアクセスの提供も進めている。

セキュリティ、地政学、提供範囲

Riskは、JPMorganのJamie Dimonが社内の管理者エンジニアに自分のエージェント利用を覗かれることを懸念していたと紹介し、外部攻撃者だけでなく内部の不正にも備える必要があると語った。国防関連でも転送時・保存時の暗号化が中心で、E2E暗号化が標準になる余地があるとの認識だ。

提供はホワイトリスト化した米国の企業に限り、これまでFortune 100規模のディープテック企業のみだという。また中国のAIラボとの協業には反対の立場を示し、中国製オープンモデルは提供するが推奨はせず、完全オープンなNVIDIAのNemotronなどを評価した。これらは同氏の主張であり、番組内で検証されたものではない。

まとめ

両者に共通するのは、エージェント時代の信頼を「基盤を信じる」から「隔離・暗号化・所有で守る」へ移すという発想だ。日本の読者にとっては、サンドボックスを選ぶ際に用途別の性能とセキュリティを分けて考えること、基盤OSS層の脆弱性まで含めて運用体制を整えること、機密データの推論でZDR以上の保護が必要かを検討することが注目点になる。なお速度やコストの数値は各社の自己申告である点に留意したい。

文字起こし(英語・自動生成)

Your open finance prototype works. Now, make a production ready with MasterCard APIs. Access permission financial data and scale on infrastructure designed to meet the security and reliability standards that financial services demand. Head to developer.mastercard.com. Hello, everyone, and welcome to the Stack Overflow podcast, a place to talk all things software and technology. This episode is a two-parter conversations recorded at the We Are Developers Conference. First up is a conversation with Ivan Barazin of Daytona, all about sandboxes and portable compute. And after that, conversation with Richard Risk of Blackbox AI about secure inference. So enjoy. Today we are talking about all those pesky rogue agents breaking out of their sandboxes and what we can do to keep them from going rogue.

My guest for that is Ivan Burzin, the CEO and co-founder of Daytona. Welcome to the show. Thank you so much for having me. So, you know, this breaking out of the sandbox idea has been very much in the news with a hugging face attack. So what does this mean for the sandboxed methodology of protecting agents from doing whatever they want? Sure. So, I mean, it was all over the use, and rightfully so, that people are interested in this. Just one step before I get that in the sense of the term sandbox. So we, at DeZona, are a sandbox vendor, as are many other companies. Sure. As of yesterday, three more. Sometimes people do the sandboxes. that being said sandboxes are both what we have to say computers for agents so an actual tool for agents to get things done but also at the same time it is a place where you sort of lock down the agent from other things hence the name sandbox it's essentially a secured virtual machine

right essentially it could be a container it could be a VM it could be a bare metal machine you could do different variations the vast majority are virtual machines or say micro VMs to be more specific now In this case, the hugging face, so again, it is used for performance reasons, but it's also used for security reasons. And so there's essentially some vendors are security first, sandbox, so their purpose in existence is to secure the agent. Others like us, the purpose is to give the agent tools and be the most performant it can be. Of course, security is in table state, but there are different levels to security. of RIPP, right? And that being said, so for this specific breakout, the agent escaped the sandbox and was able to access the Internet. I have a few problems with the entire case, which is one, if you have an agent that has a capability to escape and has no guardrails and ability to do that, it would make sense that you would first put in the same model and or agent with guardrails

to test it out. Well, my understanding of the attack is that this was sort of what they wanted to do. I understood it to be maybe a little lowered security on it. They were doing an exploit bench test and they gave it an impossible task. Understood. But in that case, it should be no surprise that they didn't. Oh, it actually did it. Great. Fine. Done. Maybe because they could have picked a more... I mean, this was benign, even the break-in of Huggy Face, but they could have picked a random other place that they have set up so it didn't go to third parties. So, in their conspiracy theories is this good marketing or not? Sure. that, right? But on the other hand, like we internally as one of these companies, we, every single day, we have multiple companies that we have actually hired to find vulnerabilities in our system, both human and AI, to find these things and they find them every day. The interesting part is like we, as are many other people in this entire ecosystem, not just sandboxes, are built on other projects as well, not other sorts of projects. And quite

recently, there was a new exploit someone found but it was in the underlining isolation layer that was not ours. And the code was, you know, that could have been found five years ago, seven years ago. No one found that, right? So the interesting thing is that things are being found now that not necessarily Net-U issues, but rather old issues that we have built on. So I think that talks a lot about what we will have to do as a sort of society of how we update, patch, and actually deploy Net-U software or software infrastructure in this new world. Yeah, I mean, when Mythos was first released, they talked about finding bugs in basically everything that has ever existed as software. I asked somebody who works with the OWASP team, and I was like, what do you think of that? And she's like, people are bad at security coding. Yeah. Do you think that applies to the sandboxing code, too? So I would say, I'm sure it is in general, but also the interesting part is that most sandbox providers are built on either

Kimu, Firecracker, Cloud Hypervisor, Docker, Gvisor, right? They're on top of those. And so those, then you have the sandbox providers that have their own layers of security on top of that, their own software and security on top of that. And so it is not only a question of is the sandbox layer secure or not secure, but it's also is the underlying isolation layer secure or not secure, right? And so then you have multiple vectors of attack or vulnerabilities. So the point is, like, how much are we now spending or how much should we all spend time or can we all spend time and money and efficiency to secure the underlying derivatives, which we deem secure? The reason you use a cloud hypervisor or a firecracker or whatnot is because it is secure, right? But it turns out maybe not. Maybe not, yeah, or not to that level, right? Yeah, and I think, like, that applies to basically everybody. Everybody's building on these underlying foundations. At some point, is there a value to you as a sandbox provider to build your own underlying?

So the problem with that is, which is an interesting counterintuitive thing, where a lot of companies that we talk to, like very larger enterprises, they will not use anything outside of a firecracker because it is built and maintained by AWS. Right. And hence, team secure, rather than a net new primitive that you've created and tested and whatever, but it's less secure. So I would argue, and there's a company, a very small angel investor in it called Small Machines, which is doing a net new hypervisor for agent workloads. And so I'm not saying specifically that they are more or less secure, but in this world, you could actually assume that they actually might be more secure than the legacy ones that have been around for a long, long time and coded by Hank. But the customers would prefer this because no one ever got fired for buying IBM. Sure, yeah, yeah. So you mentioned there's a bunch of folks in the sort of sandbox area. What is the thing that people are judging between on a sandbox provider besides, like, is it Firecracker?

Oh, there's a bunch of things. There's multiple use cases that people do. And so some vendors are more skewed to one, some are more skewed to the other. I would say there's like two major use cases. And I mean, three. The reason I say major is that that is where the bulk of the revenue comes from. It'll be from two, but there are three. And the third is actually security. And so there are some that are 100% focused on security. It's like we will do everything for an agent not to break out. And we're not here to be a performance. We're not here to help you build an app. We are here to be the most secure. And so that is the smallest, as far as I know, from a revenue-generating asset. And the other two are what we call background and long or long-running agents and post-training and reinforcement learning, basically. And so for background and long-running is what you would expect. Think of your Gamma, your Clay, your Harvey, your Legora, any app player company that an agent turns on and then the agent needs, you know, a computer and or a sandbox to get his job done. And then for post-training or RL, is it the most performant way to get an agent to learn to post-train on that, right?

And so those are the three major use cases. And some send-bron providers have tilted towards some. Some have tilted towards others. Just because the spaces each one of these is evolving so fast that it takes a bunch of time to sort of focus on each other Yeah Now you said sort of security is like the lowest revenue the sort of table stakes If security is not the thing that people get sandboxes for what is it For the most part, it's performance. So it's performance. If you think of post-training, the reason you take a sandbox is that GPUs are very, although CPUs are becoming a very finite resource, but GPUs are currently very constrained and very expensive, right? And so when you're doing post-trading, you're actually running inference on a GPU and you're spinning up CPUs on sandboxes, right? And so the faster, and you're spinning up anywhere from like 1,000 to 100,000, a million concurrents, right? And you're turning them on and off. Yeah. And so the time it takes to spin them up and spin them down and spin them up, every time that it's not running, it's your GPUs idle.

Yeah. So the cost of your GPU is being wasted on idle CPU. But the other thing is that you're trying to compete against other foundation model companies for the most part, right? For example, Daytona is 36% faster than a Kubernetes. And so if you compound that every day, you actually get, if you have the same amount of compute, you get literally a third of your year back to be able to do more tasks and sort of supersede the competitors, right? So in that space, performance is by far the number one thing, right? On the app layer companies, it's different. Obviously, they do think about performance, but it's not the number one thing. Is it 60 milliseconds to the 90s and a second to spin up a sandbox? Less important, but it is important. There is efficiency. Is it completely stateful? Can they bring back the state to the machine, the dock of the data inside of that? But they have because it is a cog to them to serve the customer. It is how efficient can it be while maintaining security and performance on that.

So that's the vectors that they look at when they are acquiring these things. And so there's a bunch of features around each of those, which are not the same. Yeah. So to sort of like put a fine point on it, what's the difference between a sandbox and like, you know, an EC2 node or something? So the difference, there's a few differences, right, on a sandbox. One is just the speed of scale time. So an EC2 will take probably a minute, two minutes, three minutes, something like that. A sandbox will take milliseconds, right, depending on your vendor. So one thing is absolutely there is speed. Two is the actual size. So a sandbox can change size during runtime. An EC2 cannot. So they can spin up like one VC view, and then your agent might use 100% of that, and usually with OEM, right, or sorry, OEM is probably memory. Out of memory, yeah. Same thing processor. We get 100% like that. But what you can do is it can actually scale up and scale down while it's running. So that's a very, very different thing, right? The other thing you can do is you can pause it or zoom it.

So you can take a memory snapshot of the state, and you can pause it 100%, release the CPU and RAM, hence no cost, or use it for something else, and then we spin it up again. You can also fork it from there so you can have multiple ways you can get, so you can have multiple outcomes of the same task, right? Before going off the same state. Yeah, before going off the same state and then again and then again. And so the whole thing to be able to do this is not just the VM itself. It is also the state management. So you have, like, we have a cache layer, we have cold storage, we have the runners, we have distribution of these snapshots. There's all these things that happen around that. We also have the performance is much, much better than the vast majority. But then at EC2, so EC2 has a block storage device. So your IOPS are much smaller. So not all, but most sandbox providers have a variation of local NVMe, which we do as well. So if you need something to be very, very high in IOPS, you can use the local NVMe. You also have a block storage if you want that for larger scale of that. So there's just a few of the differences of a sandbox versus a EC2.

What makes them so fast to spin up? Oh, it is the orchestration layer that we've created. There's a lot of others as well. So it is the way you propagate and distribute snapshots across different runners, ongoing runners, and be able to pull that out very, very fast. Gotcha. So there's multiple ways. Each server provider has slightly different, because it's all proprietary for the most part. Yeah, yeah. Obviously, you don't know the details. But we do have a distribution system that expects what snapshots or knows what snapshots or templates are more used, and those are distributed into more nodes. and then hence the probability of sending them over faster. And if those nodes get used up, then it propagates to other nodes. Gotcha. Is this essentially like caching? Kind of. Kind of. But kind of not. Kind of. So the way is like you have a memory snapshot and you have a disk snapshot. Memory snapshot is literally you'll take, you create, you run it and pause the memory. And then you can like distribute that and use that as a snapshot. So it's already, so you distribute it on the local NVMe.

when you fire it off, it actually just has to turn, you just have to like spin up, I'll look at the CPU and RAM, and it runs from that exact moment to use it in saving. Right. So it's essentially like a container-ish thing, and then you can kind of inject state into it. Yeah. You know, what do you think the future of sandboxes are? I mean, the thing that we think about in sandboxes is we believe that sandboxes, again, are computers for agents, and that agents need the same variations of computers that humans do, which means many different configurations, many different operating systems. And so if you think about if you as a human have different variations of computers, so different CPU, memory, GPU, non-GPU, Windows, Mac OS, Linux, all those things, we believe a sandbox must have all those things. And so Daytona has a Linux sandbox, which is Linux CPU sandbox, which is the definition of everyone has that. We also have a Linux GPU sandboxes. So we and one other company have that.

We have Windows sandboxes, which is unique to us. The funny thing, so for example, spin up a Windows sandbox on Daytona, which can still optimize it, takes six seconds. To spin up a VM with Windows on Microsoft Azure, it's three minutes. So we're better at Microsoft. If they're listening, there you go. And you also recently just launched macOS sandboxes. So there are people asking, oh, why would you need a macOS sandbox? Well, if you want an agent to create an iOS app, it needs a Mac. Like, there's many, many reasons that it does need those, many reasons why it needs a Windows. Think of the vast majority of knowledge work is still inside of a Windows machine, and a lot of those applications are not headless. There's no API. The only way to get to that data is to install that application, and the only way to do that for an agent is to split up a sandbox for that. And so we believe, we've always believed, it's been in our first, you know, preceptive. All the configurations of a computer that we have should be available in a sandbox. Well, thank you for listening. I'm Ryan Donovan.

I host the podcast at the blog here at Stack Overflow. If you like what you heard, leave a rating and review. And if you want to contact me directly, you can find me on LinkedIn. Thanks so much, Elon, the co-founder of Daytona. To find more about me or Daytona, you can hit me up on LinkedIn or X Twitter. And the company is Daytona.io, so thanks so much. Hello, everyone, and welcome to the Stack Overflow podcast. I'm your host, Ryan Donovan, and I'm here at the We Are Developers Conference talking about end-to-end encrypted inference and fast inference. My guest for that is Richard Risk, who is the CTO and co-founder of Blackbox AI. So welcome to the show. We appreciate it. Thank you for having me. Of course. So, you know, end-to-end encrypted inference. I guess the big one is, like, why doesn't everybody do that? This is a very good point. And I think based on how things are evolving right now,

and it's starting to be given the most recent events, for example, the math problem that OpenAI was called out publicly on, even though this had GDR turned on for the mathematician that was working on it, the Maduro rate from the Department of War that, even though they were using Entropic, They had the ability to detect the terms of use of use, even though it was still within ZDR. So a lot of the attention is now being more in the center around how ZDR, zero data attention, is still a capability that is enabled within the enterprise or also within government. But the labs still have ways and methods to flag some activity and then decide to dive deeper into those prompts and this data set So for us we didn start working on it at that time it been something that the team has been intensely working on for the past three years and the reason we started this effort for us wasn't because there's more awareness about this problem today what drove our interest in this problem was we

had a big inspiration by the team at whatsapp how they built one of the first if not the first end-to-end encrypted messaging platforms and apps. The reason why they had this done, well, one of the reasons we know about is because typical governments would tend to want to listen in and be aware about citizens' conversations and maybe be able to monitor for both good and bad reasons sometimes. So it can help hunt down terrorists, but it can also be intrusive for privacy and security. So WhatsApp was one of the leaders in the space, and then came Signal, and then came Telegram, and these platforms were big on end-to-end encryption. For us, when we started early in the inference space, but we built it from the ground up to be end-to-end encrypted, we didn't want it to be just an added capability, just like you have ZR turned on or off. We want this to be built into how we're optimizing inference, how we're serving it. And to clarify, there's a bit of confusion on end-to-end encryption. some people tend to understand that we're doing encryption in transit and encryption at rest

yeah these are very different than end-to-end encryption for example gmail might support encryption in transit and at rest right but it is not an end-to-end encrypted email service which proton is in this case right right so the key differentiator is that the payload itself is not in plain text so the payload when it the moment it leaves your device at the client level uh it's based on primitives like Diffie-Hellman, where you have private-public-key exchange, and you're ensuring that both parties are the trusted entities that have permission and ability to decrypt the message. So for us, we've built inference in this way, and we made it in such a way, we were inspired by how Elon Musk built the electric car, that you shouldn't offer a service, even though it's important, like the electric vehicle, it has to come as an obvious choice, and it has to be efficient on mileage and performance and all these things. So for us, speed and throughput is critical to any enterprise company that is using it or government. So we optimize a lot on the compute economic.

So we've optimized it. If we compare, for example, with Together or Fireworks on different models, it can vary. But we tend to have something in the range of a 30% gap to a 2x to a 3x gap on compute demand. At first, it sounds like instead of, you know, zero data retention, you're sort of doing like zero data visibility. Yeah, I'll extend this a bit further. So if we dive a bit on the security front, there's typically two strategies companies would end up choosing. Either they secure the infrastructure or they secure the information. Most companies, and we've seen this very recently with CoreWeave getting hacked, we know that there's not a single, as hard as a company can be and as resource they can be, they can't really harden so much their infrastructure to the degree that it's impenetrable for attackers. What we rather have, it's not to say that there's one that should win. Both should be deeply at a center focus. The infrastructure should be invested on, but also the information should be secured.

The benefit of the information being encrypted is that in the case of an attack, you're at least ensuring that whatever was being used at the moment was not exposed. And you said it's faster, no sort of latency or overhead from the encryption? Yep. How do you get the inference to be faster? Yeah, so our team is deeply specialized on both fronts, on the security, but also on the inference engine. So to dive a bit deeper on the inference engine, so there's a few areas we focus on. We optimize at the kernel level. We do spec the code. We do quantization without any tradeoffs on the quality as well. So we make the FP4 with no difference as in the F-16 that it's performing on us. And we run it across all public benchmarks, but our enterprise partners would also end up having their own internal benchmarks, where we also include those within all the optimization. One of the recent efforts that we're doing is typically any inference provider today that is serving a model that is running inference, they tend to typically, let's say you're a company and you have a certain workload profile,

they would have forward deployed engineers. And we used to do this up until maybe a few weeks ago. that would understand how your profile is as like a workload. What's your P50 input? What's your P50 output? What's your cache hit rate? And maybe a few engineers would work on that problem for maybe a week or two weeks. And then they would crack down and optimize that. Instead of loading a GLM 5.3 and hitting, let's say, 500 tokens per second, we can optimize it to 800 to 850 tokens per second. What this means is that when you go up in that throughput, essentially it's making your compute more unit economic, right? So if I go from 500 tokens per second to 850 this ratio of improvement is translated to your GPU deployments so it's a big difference because the dollar per hour of the GPU is very expensive so making that impact makes a big difference what we're doing right now this is we're onboarding some of our partners on it we're removing as much as possible the forward deployed engineer motion so that you do not really need to depend on a team to optimize your inference workload.

We're letting agents, you upload your workload profile, you upload your benchmarks of quality, you upload your targets of token per minute, throughput, latency, and all the parameters that really matter for your workload. And in the same way that you're running scheduled fine-tuning, I can pick a model now and I can upload the data set and I can fine-tune that model. And then I own the weights. so one thing that we're now releasing to our partners is the same way you own the weights of your fine-tuned model you will own the inference engine of your custom workload as well so typically companies are doing sg lang vllm yeah and then some optimization yeah this is what typical inference engine motion goes through but instead of you depending on a third-party inference engine provider you would end up as a customer you would end up owning your inference engine because it's been fine-tuned and we don't stop once it's optimized. We can continue monitoring the workloads as they're changing and running optimizations. Have you found that, you know, any sort of like difference in quality by having an agent do it instead of a forward deploy engineer?

We're getting close to running these comparisons. The trade-offs, even though at this time it's been about similar, the major unlock in this is you're removing a human to be the blocker, typically a So I don't like that. And you get the continual improvement too. Yeah, 100%. Yeah. So you talked about the cheaper cost per unit. Are you sort of serving that to like API customers, like a cheaper per token? Yeah. So, so far it's been mostly an inference endpoint that we support our customers with. One thing we're now having more, given the privacy and security that customers are demanding as well, we're shifting to a mode of full and complete SSH access to the deployments. So even though we are supporting completely on the inference management and operating the inference endpoints, we can keep that support running, but also open up the SAH access to our customers. It's literally as if they owned or rented the GPUs that they were doing. But instead of them having their own team have to do intense research, instead of having their own internal team run the entire inference optimization and hosting and management, they're having Blackbox do the inference optimization and management.

But also they have complete ownership on the full data flow. They have full visibility. This is the highest level of transparency that they could get. There would be a trade-off because typically we see, but that is less important at large scale. Typically customers would not, at a smaller scale, some would rather have an endpoint and just do it on a per-to-one basis because they have less predictability. You can trade off your lack of predictability to more ownership where right now you can take an A to B300 or an A to B200, which would probably cost you somewhere in the range of tens of thousands of dollars per month. I talking for a smaller type enterprise for us It been mostly large enterprise But we think even down market there should be more adoption of direct GPU access Even if there less predictability it gives you way more transparency way more control way more ownership on your entire infrastructure.

And even there's ways, because so far the reason that customers have been making the choices is that companies have been not offering this. They have been either locking you as an inference endpoint API or as a GPU provider like a NeoCloud that would just tell you, take the bare metal, you will do the work. They've been like, for some policy reason, they've been like having a firewall between these two services that you either have to pick one or the other, which is a bit stupid. The reason I think they do that is because they have a big fear on their IP where they don't want to expose their inference engine to a customer, but there's much less value at an inference engine at a specific point in time. The inference engine is much more valuable when it's served to a workload than as a general inference engine across everything. So there's a lot of sort of through line of like security, privacy, customer control. That's very much like the customer owns this. Yeah. They don't have to share any of this data. Yeah. Where does that sort of mindset come from?

Like it could be a little paranoid, but it could be also just like very like individualist, right? Paranoid from our perspective. Yeah, yeah. Yeah, from your perspective or from the customer perspective. Yeah, I think the reason why we would want to encourage more of this, we think through it this way and we want to encourage more of this ownership. Alex Karp from Palantir has been talking more vocally about this and he's been targeting a bit more OpenAI Anthropic given these recent cases and sharing how corporate America, like commercial companies that Palantir works with, have these concerns with OpenAI Anthropic given the recent events have been exposing that they have direct visibility. like the reason why we think this way and and now there's been a very bigger shift like towards sovereign ai like companies owning their their their open source models and and and even fine tuning but also like having this directly on-prem and being able to to have more guarantees yeah we think that companies for their own sake and for their customers downstream sake so take an example

of a company like jp morgan uh we had a chance a couple weeks ago to meet uh directly with jamie diamond and his concern was as they're now growing their open source departments internally, his concern is that he does not want admin engineers be able to turn on and just instantly see what Jamie diamond is, you know, using an agent about. Right. Right. So you would have this kind of worry that what are you doing? Yeah. So even internally, let alone about the attacker having similar to how Corey you've got attacked. Yeah. So let alone attackers having access, but also you wouldn't want to, have admin engineers just go rogue on their own and then decide to, you know, just given that they have access, they're able to do that. One thing that was revealing, and we learned this, and we're doing all our efforts to support on that front. We had a trip to DC last Monday, and we got to meet with high ranking at the Pentagon and also at the White House, at the executive office as well. And we think there's a lot of opportunity to be hardening further, even the infrastructure, even within more defense-related use cases.

The most available today served, given the available solutions, have been in transit and at rest, even within more classified environments and more secure. So there's a big opportunity on the end-to-end encryption to be a standard within these environments. One thing that is both revealing positively and negatively is that there needs to be this improvement within the U.S. that is just something that there's a solution for and can be done. But what's even more revealing is that we think in the same way that if the U.S. does not have it yet, China most likely also does not have it yet. So from a defensive opportunity, there's ways to harden the infrastructure in America. but also from an offensive, there's ways that more military offense can also happen within the Chinese. We know that they don't have this kind of infrastructure in place, and this just gives more ability for the military in the U.S. to be able to leverage the technology that they have that is not yet available. And for us, we don't serve it openly for any customer. We serve it, like, for example, Telegram is like a self-serve, end-to-end encryption or Proton.

For us, we don't allow any, you know, maybe a terrorist organization to take access to an end-to-end encrypted inference. We only allow whitelisted enterprise in the U.S. or now more government efforts that we do. But they go through a manual process that we identify, we research. And so far, it's been only Fortune 10 and Fortune 100. We haven't worked with any non-American organization and non-tech. Actually, so far, it's been only deep tech companies. but we think this is a powerful tool that has to be put in the right hands. It does a trade-off of observability so you're leaving out that what's not being visible in terms of monitoring but you're opening up a lot of secure workloads that just have to be more... Apple has this stance on privacy and we think Apple has a good stance where they do no backdoors on how they really ensure privacy for their end users and we think they set a good standard that a lot of players should be... We think American inference companies should look out more for American interest as well.

We think it's not been so much the case given the past efforts that we've seen from existing American inference companies. There have been a lot of collaboration with Chinese AI labs between American inference companies and Chinese AI labs. We don't have the stance. We think this stance that compromises our trust that we can communicate to our partners in the U.S. when we do deeper collaboration with Chinese AI labs. Because at the end of the day, they are in conflicting interest. Because AI is becoming a geopolitical issue. Yeah, definitely. Chinese AI labs are definitely at an adversarial position with American AI labs. and whoever is being more supported are just basically building more their resources and their positioning against the other countries. So we have a clear stance against the Chinese AI labs collaborations, and we do not collaborate with any, and we want to support more American companies with powerful inference.

By the current inference companies supporting Chinese labs, What they're actually doing as well is there's a lot of tech startups in the Bay Area that have to choose to go with the cheapest tokens. And when you're helping more Chinese labs, you're making even American startups route their tokens and send trillions of tokens to Chinese labs as well, which we know are not being used for good reasons. I mean, do you then serve the open source Chinese AI? Yeah, we do, but the ones that do not require any licensing, any ones that does not require, but also we do not recommend it heavily to our enterprise customers. We have a deep partnership with NVIDIA and Neumotron team, and we optimize their model before release. We get early access. We optimize it heavily. And there's a lot of great open source American models. NVIDIA is leading a lot of the investments on that. And the way one of the closed labs in the U.S. put it, these are cleaner models than the Chinese models. you can't really know how the model has been trained.

The same way the OpenAI hugging face case that happened where agents found the back door and were able to escape, you can't really know how a model has been trained. And if you're deploying it in secure environments, you have to have more trust in the entire training process. The Nemo-tron one is an interesting case because it is fully open source. Yeah, yeah. And one of the few. Yeah. Well, my name is Ryan Donovan. I'm the host of the podcast and the editor of the blog here at Stack Overflow. If you liked what you heard today, please drop a rating and review. It really helps. And if you want to contact me directly, you can find me on LinkedIn. My name is Richard Risk, CTO and co-founder of Blackbox. You can find us at blackbox.ai. You can reach out. We're always happy to support. And you can also find us on x.com slash blackbox.ai. All right. Thank you for listening, everyone. And we'll talk to you next time. Thank you.

番組の概要欄(原文)

At We Are Developers, Ryan talks with Daytona CEO and cofounder Ivan Burazin about agent sandboxes and Blackbox AI CTO and cofounder Richard Risk about encrypted inference.

出典・この記事について

番組
The Stack Overflow Podcast(The Stack Overflow Podcast)
元の回
Sandboxes, secure inference, and keeping agents from going rogue
配信日
要約作成日
公式サイト
art19.com/shows/the-stack-overflow-podcast

この要約・解説記事は、元の音声を文字起こしした内容をもとに AI(Claude)が日本語で作成したものです。 固有名詞や数値に誤りを含む場合があるため、正確な内容は元の音声でご確認ください。制作方法について

X でシェア

関連エピソード