Back to Index

Substrate Launch: the API for modular AI


Transcript

Yeah, it's really good to be here. This is a particularly exciting talk for us because we've been working with private clients for about a year now, but this is the first time we've really talked about it in public since our launch last week. I'm incredibly proud of the work we've done so far and excited to take a few minutes to tell you about it.

So if you look at the products out there that have really successfully leveraged this generation of AI, I think one thing is true about nearly all of them is that they're using more than one inference runs, often many different types of models in tandem to accomplish a specific kind of task really well.

And I think people really quickly realized that the foundation model is not enough. And even very simple tasks like summarizing a document to much, much more complex tasks like solving coding problems end to end, I think the best products right now are all using systems of inference runs in a logical structure.

So I think at Substrate, we believe that building with modular intelligence is always going to be more effective than building with a monolithic intelligence. These systems are inherently more legible, which means you can understand them structurally, which means that they're debuggable and they're extensible. And evals become a lot easier because the decision trees are explicit and you can sort of verify at every step what's going on and what's going wrong.

So Substrate, I think, is sort of a new way, new approach to this. I think our model is sort of fast in ways that other paradigms can't be. It's sort of flexible enough to build any AI product out there. And it works to scale by default. So what is it?

I think at its core, Substrate is a coupling of two things. First, I think it's a really elegant developer SDK that lets you describe a computation graph over any number of nodes. And the abstractions here are really general and so we have a bunch of intelligence nodes across all the modalities that you might care about, which is like generating images, transcribing speech, generating text, JSON embeddings, executing code.

But second, Substrate is also an inference engine specifically built to run these computation graphs as efficiently as possible. So these graph representations here are -- it's a representation of many tasks and their relationships. And since we run a very coordinated compute cluster, we can statically and dynamically optimize things like batching, caching, sort of networking, concurrency, physical placement, which really makes a big difference.

And if you look at most frameworks out there, they're typically involving dispatching a bunch of API calls separately. And if you look at what happens mechanically when you do that, it's -- every step means you've got to resolve DNS, you've got to go through proxies, you've got it through authentication, like balance checks.

And all of that sort of adds hundreds of milliseconds of latency on every single step. And if you contrast that with Substrate, we transfer data from node to node, process to process on the order of microseconds, which is some 10,000 times faster, meaning that it's actually feasible now to run online applications that involve dozens of nodes.

We've also noticed that JSON decoding is is one of the most useful patterns for multi-inference runs. And I think we've invested a lot into offering a best-in-class JSON mode, both in terms of reliability and speed. And if you look at all of this together, I think what it means is that Substrate is really a way that -- a way to enable higher quality outcomes with AI, letting you work in a system that's more flexible, it's more legible, it's more verifiable than any of the current paradigms that sort of exist now.

I think there's a lot more to say. There's all the time I really have today. It's only five minutes. But if you're curious, please come out and say hi on the expo floor. You can scan this QR code and get some credits and go to the website, substrate.run, or give me an email at rob@substrate.run.

What's up, substrate.run. What's up, substrate.run.