EPISODE 1983 [INTRODUCTION] [0:00:00] ANNOUNCER: Coordinating, long-running processes on top of distributed systems is one of the persistent hard problems in software. A process that runs across many steps can't count on finishing in one clean pass, since the machines running it may crash, stall, or drop connections. To handle this fragility, developers have often resorted to writing layers of retries, timeouts, and check-pointing to keep state alive across failures. However, this custom plumbing is often brittle, hard to maintain, and can break down at scale. Temporal is an open-source platform built around an approach it calls durable execution. Developers write a workflow as a straightforward sequence of steps, and the platform preserves its full state underneath, so the code can survive a crash and resume exactly where it left off. The underlying technology was created at Uber over a decade ago. Since then, Temporal has become foundational infrastructure for AI and agent workloads, where long-running tools and agent loops need exactly this kind of durability. Maxim Fateev is a Co-Founder of Temporal. He returns to the show with Sean Falconer to discuss how durable execution works, why it's infrastructure rather than a framework, how it fits the non-deterministic world of AI agents, its new capabilities, and why Temporal's fully open-source strategy is central to its moat. This episode is hosted by Sean Falconer. Check the show notes for more information on Sean's work and where to find him. [INTERVIEW] [0:01:48] SF: Max, welcome back to the show. [0:01:49] MF: Thanks for having me back. [0:01:51] SF: Yeah, absolutely. As we were saying on the pre-show, I'm sure a lot has changed in the last couple of years since you were on. Lots of growth, lots of things to get into, and also, the world in technology has massively changed as well, I think, since the bursting on the scene of agentic engineering and large language models and agents sure has transformed a lot of what you're dealing with day-to-day now. [0:02:11] MF: Absolutely. I certainly, I am convert now. [0:02:15] SF: Yeah. I guess, for anyone that's listening to this hasn't worked with Temporal before, or isn't quite aware of even the space of durable execution, how do you explain what it is that you do? [0:02:28] MF: Temporal, first, is an open-source project. It's been around for over 10 years. We started it at Uber, and it's based on a novel idea, which is a new abstraction we called durable execution. The idea is that you write code in normal programming language and almost practically any programming language. We preserve the full state of execution all the time. Just the most basic way to explain that, you write a function, this function calls some API, and then while it's waiting for the reply, process crashes. Then maybe three days later, the reply comes back. We select process in exactly the same state, still waiting on the same function. There's all variables being there, and give it a result, and it continues executing. From programmer point of view, just these functions was just blocked for three days on a single API code. But obviously, a lot of things happened behind the scene, but from your point of view, you're going to get code which cannot crash. We handle much more than just process crashes, but the idea is that your state is always durable. You do need a database, you can just put stuff into local variable, and then you can block on any API code as long as you want, or you can just go sleep for two days inside of your production code, and it's okay to do that. It completely changes how you think about writing your business logic. [0:03:49] SF: Yeah, so there's no more try catch, failure, exponential back off, and all these types of things that I have to deal with. You're essentially abstracting away all the complexity in a lot more. [0:04:00] MF: Yeah, okay. You still probably need try catch if it's a business error. [0:04:03] SF: Well, sure. Yeah. [0:04:04] MF: For example, you need to handle your business logic. But yes, you don't do try catch of external code failed. Also just, it's not even the try catch or retries. Think about that you need to practically break your logic about your callbacks, right? Probably most of the code these days is read message from a queue, get request, load stuff from database, update database, return result, and then you can have cron jobs, use, you tie all this together, and when you use durable execution, you can just try to single function, which will probably cover the whole system. I've seen cases when people rewrite multi component, very complex system is probably 50 lines of code. [0:04:43] SF: Can you walk me through how this replay thing actually works in practice? Like, if a process crashes halfway through the workflow, how does the system know exactly where it left off, and then recover from that? [0:04:57] MF: If you talk about durable execution, it's an abstraction, right? How you implement that, there are different ways to implement that. The way we implement that is we use replay. Practically, you can think it as event sourcing. We record the result of every external invocation, every side effect, and then we need to recover state. We will run your function from the beginning, and then every time it makes an external call, we will return exactly the same result as it was before, and we don't make actual calls because they already happened. If your code is deterministic, so it takes the same path with the same results, you end up in exactly the same state. It's invisible to you. I think one mistake people do is when they start, they start thinking about replay when they code, but reality is it's just internal mechanism. Or you just write code as this function executes exactly once. [0:05:44] SF: I guess, why wouldn't I be able to do something like this myself? If I write my checkpoint logic, essentially dumping that in a new database on every step, we know the database is on transactional guarantees, so I don't lose it right, and then try to recover from there. What would I be missing if I attempt to do that, versus using Temporal? [0:06:05] MF: Well, so first, if you just dump snapshots to database, first you need to make these snapshots, yes, it's possible. Then how do you determine that your process crashed? You need something, some sort of timer, or some sort of process which you will detect that your process crashed. Then you need to find out which actual transaction was going. Because it's just process crashed, but imagine you have 10,000 transactions going in the same process all the time, or you have billion transactions open, like for example, billion agents running, and then you crashed. How do you know which ones should recover? First, you're just finding which snapshot to recover is non-trivial. Then you need to find appropriate workers, redistribute that work, and then recover those snapshots. Then snapshots are not very efficient, because usually, your state doesn't change that much with every step. But if you're snapshot in the whole memory, you can end up writing a lot of duplicated data. It's possible, but it's actually non-trivial. Then, again, you write so much code. How much of that would be your business logic? Then if you start looking at production system, which runs at scale, a lot of HKs are around flow control, around retries, around rate limits, so practically productizing that visibility metrics, so all of those things you need to do yourself. This is what exactly most teams are doing. They're reinventing this wheel every time. Again, spend 90% of their time doing all of that, but their business logic. With Temporal, just implement the business logic and we take care of the rest. It's 10 years in production, at tens of thousands of companies, so it's just battle tested for a while. [0:07:38] SF: Yeah. I know you've raised twice this year, in relatively shorter, or six months or roughly apart, so congratulations, and more than double evaluation. I guess, what has happened in the last year from a market perspective that has led to that growth and essentially, the funding appetite for this? As you mentioned, a lot of teams start out building something, and that before they ever go out and reach for Temporal as a solution. Has something changed in the market that has made this more top mind for companies has led to a lot of growth on your end? [0:08:11] MF: Actually, we brought two answers there. One is, it's a result of a lot of years of compounding. We've been growing. Our open source, for example, was growing around 8% month over month, since we started to track it seven, six years ago. That compounds over time pretty well. Then also, our go-to market was always based on a learn and expand strategy. We tried to sign up as many enterprises and the customers as possible, even without practically, because we're consumption-based service. Practically, developing income needs. Just, we want to make sure people start experiencing the platform. Usually, it takes years for people get really comfortable to start putting big production, kind of mission-critical workloads in the platform. That started to compound, and now general business always was growing pretty well. Also, AI happened, and AI just the amount of new development in new companies and also traditional companies exploded. When you do new development, both enough developers who already were familiar with Temporal, we just assumed that this is the right way to build their companies around. There are a lot of startups, especially AI startups, which are 100% based on Temporal architecture. They're good hyperscalers. OpenAI is a very large customer of Temporal. They have a lot of internal products on that. From publicly facing ones, which we can talk about, for example, every time you generate an image using ChatGPT, it uses Temporal workflow, or for example, Codex, the server-side part of Codex, all the platform is also orchestrated by Temporal. all of that compounding together led to a situation when we grew over 200% year over year. We practically in the top, just we were around 100 million round rate end of last year, and now we are 300. That was certainly not something we expected to grow so fast. The other thing is beyond just go-to-market is clearly, that we are becoming substrate for a lot of new AI workloads and agentic workloads. I think a lot of companies realized that. Then obviously, we're very excited about that. [0:10:14] SF: Yeah. I mean, that's amazing growth. Again, correct calculations. I guess, if you take the OpenAI example, and I'm just using this example, so you don't get into specifics of things that maybe you can't disclose about it, but what causes that team to think, I guess, durable code execution, Temporal, reach for that as a tool versus the traditional method of maybe trying to solve that problem themselves? Has there been all the work that you've done around creating this category? Is it at a place where this is becoming something that people just now understand the way that they might understand, "Oh, I need a database and I need these other systems, essentially at an infrastructure level?" Or is there something else that led to that? [0:10:57] MF: I think one thing which happened in OpenAI is that definitely, I sucked a lot of practically the best people from the Valley, and also acquired a few companies. A lot of those people already knew Temporal from their previous companies. They already knew this new durable execution paradigm, and they're familiar with that. That's why we had critical mass of people, which they didn't need these two years to get there. They right away knew that this is right way to build new applications. Also, OpenAI moves extremely fast. It's insane how fast they are moving. When you get some exposure, you really get amazed. When they move so fast, they just don't have time to be able to rebuild this infrastructure over and over again. They certainly put, we're super concerned about possibility to scale, because they scale - the publicly, I think, when they talked at our conference, they scale 60X, like Temporal usage over one year. It was very, very aggressive. We are able to keep up with their growth. I think this is what allowed us to become really important partner for them. There is this funny story that we invested into our own resistance very early. Usually, startups don't start thinking about those things like that early. CEO of our company and co-founder Summer, he practically told me once, we over invested in scalability. Just nobody will ever need million requests per second, things like that, because on the single namespace, because no business process runs that frequently. Now, later, we figure out, okay, now we know why we did it. Now we have all of that. We invest the next level of scale right now, because it looks like we don't know where it will do this. [0:12:37] SF: Yeah. I mean, I think that everything's accelerated in terms of scale from probably anything we can imagine with how fast people are producing code, how fast these systems are being spun out. I can only imagine how fast a company like OpenAI is potentially moving and consuming all these resources and things like that. Typically, what ends up happening to a lot of startups is they get some major customer and then they have to scramble crazy to - essentially, it pushes their platform to the limit and they have to do a lot to meet the needs of that. It sounds like, because you've invested in scale early, you haven't really had quite that pressure, I guess. At the same time, you're seeing the trend line and essentially, you're trying to be where the market's going to be maybe a year from now, or two years from now. [0:13:18] MF: Yes, I think one thing is at our conference, I even talked to now our keynote is that practically, it's not OpenAI. Almost everyone right now in the industry has this dilemma. You either move very fast, right, and you cannot just stop right now, right? The whole industry moves extremely fast. Then you have either invest into the core infrastructure, because you want to be reliable. But if you do that, you fall behind right on features and innovation. The Temporal helps companies to achieve both. You still can have reliability and scale. At the same time, being able to keep up with all this immense pressure of delivering new features and keeping up with the market. One thing is about us, we let you build things faster. Our promise is that even if you scale up to the OpenAI levels, you don't need to change your software. You can scale, we will scale with you. [0:14:11] SF: I have heard you describe durable execution as infrastructure, not as a framework. Why does that distinction matter? [0:14:18] MF: I think, think about it this way, a durable execution itself is more like abstraction, right? Oh, you have code which doesn't crash. The way I give comparison is transaction. Transaction is an abstraction, right? There are concrete implementations, for example, PostgreSQL, or maybe database, you wipe code it overnight, you still can have a transaction. Durable execution is abstraction, which hides a lot of complexity, like transaction does. First, what Temporal is it's very high scale, very complex distributed system, is practically which implements almost every possible distributed system abstraction and component. But it hides all of that under this nice durable execution abstraction. This is what allows us to take care of all your distributed system concerns. Durable execution itself, again, we implement it and this is how you consume it. Durable execution by itself, it's not that hard to write that piece of code, which we should replay things from results, right? I've seen people on Twitter say, "No, I've implemented that in one day." Yes, absolutely can. But it doesn't mean that you have all this backend system, which can run a million transactions per second and don't fail with four, five, nine, so availability. [0:15:22] SF: Yeah, I mean, it's one thing to spin up something that works for some demo purposes, but do it at scales, a different beast, and also be building for whatever the future state of your company is. I think a lot of this comes down to, is this the problem that you want your engineers focused on? Or you want them focused on accelerating the roadmap that's actually customer facing, or whatever it is that your company is trying to accomlish? [0:15:43] MF: Yeah, there is other thing is that just time, right? Think about it. I believe in if I in top 10 engineers of my company leave tomorrow and they decide to implement Temporal, we cannot compete with Temporal for the next two, three years, just because it took 10 years and hundreds of many years to get where we are. Then even if you have this code base, you need to run it in production for a while to solidify. It's just not even good enough. Just time investment. [0:16:10] SF: With LLMs, they're calls, or essentially, they're inherently non-deterministic, but your execution model is built on this idea to deterministic replay. How do those two things fit together? [0:16:22] MF: Yeah. I think it's actually a very common confusion. I even have seen some people say, Temporal cannot be used for this, because of exactly that, which I think is very people just confused. Why? Because think about this way, workflow code should be deterministic just because it uses replay. Workflow code, logic depends on external IO, which is a model as activities. Activities are non-deterministic, right? Your workflow code can be agentic loop. Call LLM, look at the list of tools returned, call those tools and keep it looping. This code is deterministic, but what LLM returns, list of tools, it returns, right? What tools return, right? The whole interaction is non-deterministic. Workflow is never deterministic, because it calls non-deterministic activities. Actual workflow and orchestration logic can be deterministic, but the end-to-end process is non-deterministic. Temporal is actually a very good way to implement such. That's why I don't use determinism in this. I usually say, dynamic processes versus static, right? Because you absolutely can implement very dynamic workflows using Temporal. It's different, because usually, people when they see workflow, they imagine boxes connect to these arrows, dags and graphs. Graphs are usually pretty static. You can mutate stuff at runtime, but it becomes pretty weird very fast. As Temporal workflows are just code, and code can be extremely dynamic. You can use any data structure, lists, hashes, maps, whatever, graphs. You can load a DSL document and interpret that as a workflow. This is how you support the main specific languages easily with Temporal by designing your own DSLs and interpreting them. [0:17:59] SF: What about with agents, you're just saying that Temporal's model is actually a really good working model for building these types of systems, but was there any different shape that came along with people building agents that has forced you to rethink the original programming model that you took with Temporal? Is there new things that you essentially needed to add to meet the needs of AI applications? [0:18:22] MF: Core model didn't change. It's pretty clear that agents, especially agents which take real action on the world, not just read-only agents, they need durability, right? You need to make sure that you don't lose your session in the middle of executing something important. Also, practical applications required long running tools. You want a tool which can take one hour, or three hours. Even short talk, if system is down, becomes long running, this retries, right? Is this in protocols? MCP just added task, and still, I don't think anyone supports that. With Temporal, your event loop stays the same, like agentic loop stays the same. You call a tool, you block on tool call, and in durable execution, there is no difference between five-second call, or five-day call. I think this is very important. Agentic loop. Also, because we record every step, you get visibility out of the box, and durability out of the box. All this recoverability, because there are existing solutions out there which use snapshots. For example, as I described initially, discovering which snapshot to recover and when is left to the implementer, which is actually super non-trivial. Temporal gives you out of the box. One thing we did, which wasn't, I think, very well understood initially, we didn't write our own framework, for example, our own harness. We integrated this all of them. Because we are called, we can take in existing harness and start running on top of Temporal, practically with minimal changes. We started this OpenAI agency SDK, but later we added AGKs, trends, pedantic graphs, did integration themselves, and I think it's one of them widely used ones. I later integrated line graph, so you can run line graph workflows as well on top of Temporal, and get durability in. You practically take any framework and start running on top of Temporal with minor changes. We practically have notion of plugins. We have a plugin for each specific integration. Our idea is to be open platform, which supports all of them, and then even gives them durability, but we are not opinionated about specific framework, or specific data formats, and so on. If you're writing your own, you can absolutely use Temporal for that. [0:20:27] SF: I think we've seen over the last year or so, in the specific agent frameworks, a lot of those frameworks have started to add some level of state management, crash recovery, and basically, the start of durable execution, but specifically focused on the agent. I guess, what is the limitation of that approach versus provided using a more general platform like Temporal to solve this problem? [0:20:50] MF: I think it's the same thing as we talked about more traditional application. You can do it, right? You can take your queue, database, and check pointing. It works until it doesn't. But Temporal just gives you on the platform level, and then it just makes it easier to implement, and you don't need to maintain all of that. Again, the moment you hit a very large scale, or specific edge case, you don't need to maintain that and support that. That is one. Another is that I still, we talk agents all the time, but if you look at real production use cases, I would say, 80% or 90% of agents actually workflows, right? They are not just agentic loops. Yes, we have some, especially coding agents. Even coding agents started to add these work flow things, subagents and so on. But most of applications right now, I don't think it will be pure agents and applications, right? It will be a big mixture of things. Think about it, like most basic one. When the agent which will look at the GitHub issues and submit pull requests, right? Yes, you can have an agentic loop with skill, but reality is you probably want to have a hard-coded workflow, which will say, look for issues, start a sandbox, start, I don't know, this agentic loop in Temporal, or maybe just float inside, right? Submit pull requests, watch for pull requests, reply. Practically, this is more a well-defined workflow. If you start looking at real use cases, most of them are like that. I personally think they will have more, what would we say, traditional deterministic software out there than pure agents. Somebody said it once and I like it, is agents will replace people, but people still need to iterate some software and iterate some operations, APIs, and so on. These things will stay, right? You're not going to replay, I don't know, money transfer API with agent. But agents will call money transfer API to get you something. My personal opinion, the amount of actual code, which is more traditional code, will actually increase 100-fold, maybe a million-fold, because it's so much easier to produce this code these days. Nobody thinks about durability of that code, and Temporal gives you out of the box. It's not only durability. I think one thing we should discover it. Nobody thinks about securing that code, because people talk about security of agents, so they put guardrails around - and you can do it in harness, until agent hacks the harness. At least people try. The moment you have some code mode, or code generated by an agent, all you can do is sandbox, or maybe some static validation. It's not the right way to do that, right? Temporal by its execution model allows you practically to have guardrails on agent-generated code. One thing we are thinking about is, can you have company-wide guardrails? Not like this MCP gateway, which is very limited, and no generated code uses MCP gateways. Also, don't harness specific, but can I have company-wide centralized place to guardrail all your applications, including, again, not only just agentic loops, but actual agent-generated code. [0:23:45] SF: Yeah. I think that agent has become a pretty overloaded term as well, where people use flexibly agents to refer everything from single-shot to an LLM to, fully dynamic decision-making, and so forth. I think the reality, I agree with you, I think that most of these systems are going to be full-body software systems, where there's some level of, by definition, agent orchestration, but then other parts of it are going to be more workflow-y, or single-shot, or deterministic. It's the combination of that stuff that makes a really interesting piece of software. Then, from a durability standpoint, you don't want just the agentic loop to be durable. You want the whole software system to be durable. The durability expands beyond just the single point of the agentic loop. [0:24:30] MF: This is exactly why Temporal already solved this problem for thousands of companies, and a lot of companies around mission-critical workloads in Temporal, from banking payments to, I don't know, every Snapchat story is a Temporal workflow, and, every Coinbase transaction. When you do traditional things, so it's companies don't want to lose that investment with their traditional systems. They want to tie all these things together. Temporal is actually perfect glue to tie traditional systems, these agentic systems. We're using a single glue and single security, single durability, and single approach. [0:25:04] SF: I want to get into some of the new announcements you made, but just, one more thing on Temporal. Can you walk me through specifically what's happening, when I write code using Temporal, and the code's actually executing, what are the pieces of the state management, what's being sent, look, if I'm using Temporal in the cloud, what is being sent to the cloud? What's being sent there to me? How does that work from a transactional standpoint? [0:25:29] MF: Yeah. First thing, just, as I mentioned, Temporal is an open-source platform, and it consists from backend server, and server uses traditional database. You can use PostgreSQL, Cassandra, MySQL, SQLite. Then you have SDKs, which are libraries, which you link into your application, and we have nine SDKs in different languages, from Rust to TypeScript, and you run the video code yourself. The idea is that you bring your own compute, you run this code yourself, the way you would run for some Kafka consumer, and there is backend cluster. When we say Temporal cloud, it actually holds the cluster itself. We only, in the same way as Confluent, for example, would host Kafka cluster for their customers. That is the same approach. The nice thing about it is that, first, because Temporal cloud never sees the compute, and also because you can encrypt every message before sending to Temporal, we never see the payload in clear text as well. They're control plane, which orchestrates these flows, without understanding the actual business logic and seeing any data. That's why it's very secure, and we can pass security review of any bank, because once they understand that. Also, one thing we also do is that we never connect back all these processes and applications always connect to our cloud, usually for private link, which also makes a configuration network and is much simpler. That is the main idea about security model around that. One point is actually, added support for things like, recently, added support for compute, like lambdas, functions. For example, you can do agent core, you can do AWS lambda, you can do Google Cloud Run, and we aided more and more integrations with different providers. You don't necessarily need to run it on your premises. You can use cloud providers. We probably will add our own compute at some point as well. [0:27:19] SF: I think lambdas have a hard 15-minute execution ceiling. How does that play? If the inactivity, like would you really need to run longer than that on its own? [0:27:28] MF: Workflow doesn't have limit, because workflows are not executed, as it can be activated, decimated, so you can workflow run for years to use these 15-minute chunks. By the way, I think they increased this limit recently. I think it's not 15 anymore. Even when it was 15, it worked fine. Yes, activities had to be limited to 15 minutes if they run on lambda. [0:27:48] SF: There's a bunch of new pieces you announced at replay this year, standalone activities, workflow streams, serverless workers, external payload storage, I guess. What was the actual problem that brought you to build something like that? Maybe we'll start with standalone activities. [0:28:05] MF: Yeah. Standalone activity, again, we have workflows which orchestrate tasks, right? These tasks we call activities. Activities which actually perform real work, talk to external services and so on. What we found is that a lot of our users actually use Temporal with a single activity workflows. Workflow, which all it does in works is single activity, because sometimes they just wanted to use other features of Temporal, because for example, our task use have priority, fairness, flow control, visibility, cancellation. We have a lot of features, long run and heartbeats. They just wanted to use these features, but they didn't need to have multiple steps and they sequenced, so they just wanted to use it in more a very smart queuing system. We can realize that, and we added a much more efficient and cheaper version of that, which we call standalone activity. It's still the same activity in presentation. You can invoke it from a workflow, but you also can invoke it from outside. That was main thing. Another reason I really is excited about that is we have this technology called Nexus RPC. The idea of Nexus is think about RPC, usually you have services, microservices, they have service definitions, APIs, and you can call them. But the moment you say, "Oh, this operation can take three hours," you can throw away the whole RPC paradigm, right? You need to go to queue, so you need to go to webhooks, and so on. Give it to five engineers, they'll model that long running operation differently. We said, why we just don't extend the normal RPC paradigm? You still have service definitions, but operations are guaranteed to be called, and they can be as long running as necessary. We practically called Nexus RPC, and we tightly integrated with Temporal. But when you implement a Nexus operation, you can implement this workflow naturally. But sometimes it's a short operation, right? I want to just retry it. Standalone activity is the best way to implement that. [0:29:54] SF: The standalone activity, it doesn't have a workflow on top of it, right? How does it track the state? It was actually tracking state in the standalone activity. [0:30:02] MF: You can think it is a very optimized built-in workflow within Temporal server. It doesn't appear as a workflow, but obviously there is a state, right? Retries, next durable timer to retry, right? You still have visibility record. You can list them in UI. Each standalone activity is where they can cancel them. There is a state machine living inside of service, but it's more lightweight state machine than the whole workflow. Yes, we actually implemented special technology inside of Temporal we called chasm, which allows to build the state machines, custom state machines so much more efficiently. Standalone activity was one of those first users of that framework. [0:30:38] SF: then workflow streams, my understanding, batch is events through a signal to publish and a long running update for subscribers. Then there's no multi-device standout through workflow streams, is that right? [0:30:50] MF: Yeah. Workflow streams, practically, it is to solve very specific problems. We're just shipping streams from activity to workflow, to client. Practically, your UI watching the tokens as they come in, they are not a replacement for Kafka streams in any way. It's a solving this, more like a talking stream problem. [0:31:10] SF: No, no. Pubsub. [0:31:12] MF: Yeah, it's not Pubsub. It's purely, think about very large number of various small throughput streams versus big pipe like Kafka is. Practically imagine you're building hardness, and you want to show updates as things are executed on the background, and then it's updating UI from that. This is how it's done. [0:31:32] SF: SDK core has been Rust underneath it for, I think, a number of years. Then now, you've come out with the first-class Rust SDK. What was missing from what you had before to make it so that you needed to come out with a dedicated Rust SDK, versus what was there before? [0:31:50] MF: To publish the case, we did that. Because we practically implement the whole very complex state machine on the client side, we need to have deter - Because of determinism requirements, we need to have deterministic dispatcher. For example, if it's Python, we have deterministic, I think IO loop, and we do additional checks around determinism. We it's pretty complex. We wrote it twice in Go and Java and realized if you need to support multiple languages, it will be very, very expensive to write this SDKs from scratch. In the top right and what we call the SDK core, and we picked Rust, mostly because rust is very embeddable in other languages, right? It's much easier to have Rust library and Python. Than for example, you cannot have goal library inside of Python. It will be very weird, right? That is that this library gives you pretty low-level API, which other is the case consumed. When we did the Rust SDK , we added to the user facing abstractions, like activities, workflows, functions and clients. You practically write your - the same way you have TypeScript, JavaScript, sorry, Python 1 or Java 1. Now you have Rust SDK. Nice thing about Temporal is that all of them can interoperate. If your company uses multiple languages, Temporal can be the glue which allows you to all these components talk to each other in a reliable manner. [0:33:03] SF: Would it be possible to have, part of your code written in one language, and I guess, you can hand that off to the - an essentially, another process running in another language using Temporal? Is there some notion? Could you share state across that? [0:33:18] MF: No, usually it doesn't share state. Usually, your workflows has state, it's stateful, and workflow is written in one language. But activities and child workflows are usually, can be in different language. Process which start workflows interact with them from outside of Temporal ecosystem can be also in third language, or fourth language. Also, describe Nexus RPC, right? Obviously, clients and handlers can be in different languages. We didn't actually code generation there to make this much easier to integrate different technologies. [0:33:46] SF: All right. Yeah. Okay. That makes sense. Then you added, there's this non-determinism detection on workflow, features that catch, wakes that didn't come from an SDK controlled operations. Is that a runtime check? Or is there something else that's going on in order to catch those? [0:34:01] MF: This is SDK specific, right? For example, in TypeScript, we actually run every workflow in its own mini container using the data isolates. You can have global variables, you can call any APIs, and we guarantee that the code will execute deterministically just by container. When you write code, you don't need to think about it. The only thing, you cannot call certain libraries. We limit libraries you can call from the workflow. You should use all those libraries from your activities, which is just not JS functions. For example, in some other languages, for example, Java, we don't put any restrictions, so you practically have to do call specific APIs yourself. For those languages, we provide static checkers. For example, Go and Java, you can statically check your code that you don't call prohibited APIs. [0:34:48] SF: The space around you has gotten a lot more crowded. There's a lot more players in the market now. Restate, DBOS, Resonate, Little Horse. There's a whole host of them, essentially, and they're all chasing a piece of this. Does that competition help validate the category that you've trailblazed? Is that how you think about it? [0:35:09] MF: Oh, yeah. Actually, I was thinking about it. I think it's exciting. You invent something, not just you, right? The whole world is trying to implement this. I think it's amazing. Some of them have some interesting ideas, which are approached from different angle. Obviously, they need to differentiate. They're not just trying to repeat us, because it wouldn't make any sense. They're trying to find different angles. I obviously have my own opinions about each of those angles and why we're still the best solution for that. I think it's amazing that it's happening. Yes, certainly. I think durable execution, if I said when we talked, I don't know, last time, I think it was still nobody had thought about it. It was a niche thing. Nobody was using that in their marketing. Now there are multiple companies. Even very big companies, they explicitly use durable execution, even for things which are not durable execution. At least it became a term which you want to be attached to. I think it's amazing. [0:36:06] SF: In terms of where you think about your position, obviously, I think you're very much the category leader. In terms of your moat, I've heard you say that this infrastructure takes years, that you just can't compress. How you think about your moat is all the years of distributed engineering systems work that has gone into this? Or is this something else? There's operational maturity. There's the ecosystem you've built around this, the trust that you've built with these different clients over the years. How do you think about your position from a differentiated perspective? [0:36:38] MF: I think all of it. Obviously, first we have the most number of SDKs. We have most mature system. We can scale probably better than anyone else. I think they are the only ones who are pure open source, by the way, because all our competition is not real open source. Either use more restricted licenses, or they have proprietary components which make the system unusable in production. We have real open source with every enterprise feature out there. For example, multi-region replication, very enterprise feature is part of our open source. I think this is the largest, most important thing, because then, we can discuss about technical merits of specific decisions. I think being fully open source, add the MIT license, I think, is our strength. So far, I've seen some innovation, but I didn't see anything which would say that, "Oh, it actually completely changes the paradigm right, or make it so much better." Everybody has to make trade-offs, and I don't agree with most of those trade-offs. I think the angle people, let's say, attack us, which is probably not right word, but try to compete with us, what they call simplicity. I think position with Temporal is complicated, and we are simpler. Usually, it means some trade-off, or just not having features. It's very easy to say we are simpler if we have 10% of features, but when you start aiding them, you clearly start seeing that any product will become more complicated. A lot of that is just, for example, philosophical. For example, for us, security is more important, and making sure systems will not fail in production. As I said, for a TypeScript SDK, we separate out workflows into these deterministic containers, and we guarantee that they will not fail, and you cannot write code which will fail, right? Because we put a lot of effort making this container. Competitions, they just go and say, "We'll write workflow code and activity code in single file, all mixed together," which looks shorter. If you do Hello World, compare them, our sample will work more longer. At the same time, it's very easy to make a mistake in their code, which will mix up any data, any variable, or forget about these meanings, and you will get very nasty production data. It's philosophical. I would prefer to do a little bit more longer code, but safer code versus simpler code, which is not safe. I think this is where we differ. [0:38:51] SF: Why is the investment in open source so important? Couldn't you also take that as, beyond a certain point, you're potentially hurting yourself, because someone can always be like, "Well, I can go grab the source code and run this. I'll deal with the operational overhead by a dozen engineers. I can throw it at them." [0:39:10] MF: First, when you get into open source, you need to realize you cannot capture 100% of value by definition. We're just given. I think it's expected. The business reason, besides saying, oh, we have good citizens, is that people run mission critical workloads in Temporal, right? There are a lot of companies. I cannot name all the names. Even if you go to our reference pages in our conference, you will see how many companies run on Temporal. When companies run mission critical stuff, they need to make sure that we are good citizens, right? This is real world. I can promise whatever, right? They need to have escape patch, hatch if temporal starts misbehaving. Having fully open source, fully featured platform is that way. Even for example, If you take something with BSL license, right? BSL license can open source, but not really, right? Nobody can run it as a service. Imagine if you go and raise our prices 10X, what will happen tomorrow? Amazon will run it, or somebody else will run it. Our license doesn't prohibit that. Also, you can run it, but also somebody can run. I think this keeps us honest. It allows users to have this piece of mind, I think, and it's important. Also, just practical, for example, we don't have a Fedram. We have a lot of customers which use our cloud, but run on open source in Fedram. That is also very common. There are practical reasons to run open source without paying us, and we fully support that. Sometimes we have agreements with them to support them for those scenarios. I think it's a very practical business decision. Yes, it makes some people even internally uneasy, because obviously, if you have go-to-market, go-to-market once to only every workload out there, but this is life. I think it's a very important strategy decision. That's why we cannot change it. The moment we change it, start messing with our license, we will lose half of our business, at least long time. [0:41:02] SF: You've been at this for a decade now, starting with the open-source project, and worked in tangentially in this space for even before that. I guess, what keeps you excited to keep working on this problem? [0:41:14] MF: I think it's just understanding that probably, we've found something and we've found some abstraction, and the way to do distributed systems, that probably, I don't think there is a company which doesn't need that. I don't think there is a developer issue. It's amazing that still not every developer knows about it. But once they all learned about the global execution in Temporal, they cannot go back. The total addressable market, and again, not even from my point of view, but let's say, for this idea, is almost infinite. Also, I think, even that into this new agentic world, I think is super exciting. At some point, I don't say I was bored, but this is the infrastructural software. Things don't happen overnight. You cannot build, wipe code feature and put in production tomorrow, right? Which means that usually, you walk on ideas which you had three to four years ago, or maybe 10 years ago. There's certainly some point, okay, it's things are slow. Now with the AI, it's completely changed, right? Now I need to deal with new ideas, new problems, and new customers every day. I think I'm super excited about the future and how we are changes the industry. I know it's hard, but I think it's clearly, I'm on a very positive side. [0:42:24] SF: Do you think about how, as more and more code gets generated by AI, how Temporal becomes part of that default tool team? If I go in, I'm building some application, ideally my - whatever that is, Codex, Claude Code knows that if I'm running this system, I should be using something like Temporal interval execution principles to make it so that I'm not going to have to deal with these normal faults that happen in distributed systems? [0:42:55] MF: It's already happening. We see a lot of adoption coming from agents. I very frequently hear from people on, I was probably open-source support channel, in our Slack, or even conferences that they learned about us because Claude, or OpenAI, ChatGPT told them so, because they practice on the problem. They say, "No, you want to use durable execution for this." Also, we created our own skills. This Temporal skill, it's pretty easy to start and write your workflow just from practically high-level description. You're certainly working to improve for our cloud experience. Our dream is, for example, being able to do 100% agentic sign up, for example, for the cloud without ever - I don't think it's possible right now, because of some credit card information and stuff. I certainly see the future when you can 100% productize Temporal application without ever clicking the button, or doing something just talking to your agent. [0:43:49] SF: Yeah. I mean, I think that even though logging into a dashboard experience is going to disappear in the next couple of years, because why do that when I can just go to my agent and ask it to pull down whatever the latest information is and where I'm getting problems and start to debug it from there? [0:44:03] MF: Yes. I think the whole lifecycle and where code leaves and what code is, and yeah, I think it's amazing to innovate on that. I talked to a lot of people and I see a lot of approaches and I clearly see that a lot of very smart people are thinking about how software, the lifecycle will look like a few years from now. [0:44:20] SF: I think it's going to change a lot. As we come up on time, is there anything else you'd like to share? [0:44:24] MF: Again, if you never looked at Temporal, please go to temporal.io and just check out all documentation tutorials and just learn about durable execution. I think this is a new concept for a lot of people. I know a lot of people who practice that, it's completely changed how they build software, how they iterate software and it was practically life-changing for them. Just join the club. [0:44:44] SF: Awesome. Well, I'm sure that's very, very nice to hear as a founder and creator of the category. Thanks so much, Max, for coming back on the show and giving us the update. [0:44:53] MF: Thanks for having me. [0:44:53] SF: Cheers. [END]