{"id":125318,"title":"Durable Actors: The perfect primitive for Multiplayer AI and Agent Coordination","tagline":"OSS alternative to Durable Objects","body":"Hey everyone, Thomas &amp; Olivier here, founders of Terse (<https://www.useterse.ai/>).\\\n\\\nWe are building the next Agent Infra company and we are announcing our first product: Durable Actors. An open source alternative to Durable Objects.\\\n\\\nStar us on Github! <https://github.com/TerseAI/durable-actors>\\\n\\\nDurable Actors help you build real-time applications like chat systems (e.g. ChatGPT, Codex), collaboration tools (e.g. Notion), and agent swarms (e.g. Devin).\n\nThey provide _stateful serverless functions_, a foundational building block that abstracts away persistence, coordination, and infrastructure challenges in distributed systems.\\\n\\\nWhy is this useful? It reduces complexity tremendously and It saves you a lot of money!\\\n\\\nOur actors go dormant and back up in S3 when not in use. So agents only incur cost when your users are getting value from them. Because each actor has its own database and websocket server, we remove a ton of pressure from your main DB as well as your websocket server and you can scale those down.\\\n\\\nIn addition to being cost efficient, they are the perfect tool for building agentic applications. You no longer need to store JSONB in your Postgres DB, no more complicated websocket logic, it handles race conditions elegantly and helps keeps your REST API fully stateless.\\\n\\\nHere is me with a whiteboard explaining why this is the future of multiplayer infra:\\\n<https://youtu.be/UNaG-PLw17s>\\\n\\\nAnd here is a demo using Durable Actors to make a mini-lovable.\\\n<https://www.youtube.com/watch?v=wpF3VTmljqM>\\\n\\\nWho Are We?\\\n\\\nI was previously at Apple for 7 years as a Staff Engineer working on the platform for Siri and Apple Intelligence. \\\n\\\nOlivier was a Tech Lead at SquareSpace and the New York Times building highly scalable data pipelines for marketing teams. \n\n\\\nWe met in at @McGill University and have stayed close friends since. We won several hackathons together, and even worked on a project that had 15K MAU.\\\n\\\nWhy are we building this?\\\n\\\nIn 2021, Swift released actors. It was game changing for my team where threads competing for resources/data races were our #1 source of bugs.\\\n\\\nAgents are becoming like threads now. We have many of them doing work at the same time, and they sometimes need to share a CRM record, a code base etc… It’s a very similar problem!\\\n\\\nThe actor model is a perfect fit for this. It only allows one agent in the actor at a time, preventing race conditions at the core of it.\\\n\\\nI came across this problem when looking to have 10 agents do work on a large CSV. I was using Postgres to store a shared state variable, and the snapshotting system was serving stale data to half of the agents causing duplicate work to happen. I quickly realized, there was no existing tool to solve this problem outside of locks in front of Postgres, which is essentially System-R.\\\n\\\nI then came across Durable Objects, and found the magic line “Designed to give serverless functions state”. It then hit me this was the correct architecture for this. Cloudflare forces you to go through there workers platform to access this functionality and has insane lock in. I then realized we needed another alternative. That alternative is now Durable Actors.","slug":"WbG-durable-actors-the-perfect-primitive-for-multiplayer-ai-and-agent-coordination","created_at":"2026-10-29T19:30:00.301Z","updated_at":"2026-11-18T05:16:29.185Z","total_vote_count":7,"url":"https://www.ycombinator.com/launches/WbG-durable-actors-the-perfect-primitive-for-multiplayer-ai-and-agent-coordination","share_image_url":"//bookface-static.ycombinator.com/assets/ycdc/yc-og-image-c440a0ad1dacfb86eeeb343717479cc54d256614449b4ef719977a0a451f8bc8.png","company":{"id":37238,"name":"Terse","slug":"useterse","url":"https://www.useterse.ai/","logo":"https://bookface-images.s3.amazonaws.com/small_logos/cd6be2cf6a34817d94716dd43cba7de917787b78.png","batch":"Fall 2026","industry":"B2B","tags":["API","Infrastructure","AI"],"search_path":"https://bookface.ycombinator.com/company/37238"}}