Michael Seibel

Trigger.dev Realtime AI [LW24] - Live updates in your app made easy

Realtime keeps your users updated with live progress from your background tasks. Show progress bars, AI/LMM streaming responses, and AI agent observability. Use the Realtime API for live updates and React hooks to easily integrate Trigger.dev into your apps.

Add a comment

Replies

Best
James Ritchie
Hi everyone! I’m James, one of the founders of Trigger.dev. We’re a platform for developers to run backgrounds jobs. We’re open source, using Apache 2.0, not a “weird” or dual license. It’s a simple developer experience with great observability, and the cloud product handles auto-scaling, reliability, and security for you. It’s common when deploying to providers like Vercel that you’ll hit a “timeout” – Trigger.dev has no timeouts. Today I’m excited to announce Realtime, a way to keep your users updated on the progress of tasks. It allows you to subscribe to tasks in your app so you can show progress bars, stream AI responses, show steps in workflows, and more. You can subscribe to changes from your backend or directly in your website using our React hooks. • Receive live updates when tasks start, finish, or fail. • Send data from inside your task to Realtime using our SDK, and now you can stream data too. • Streaming is perfect when you want to send AI responses as they come in. What issues do you have with background jobs? How do you keep your users updated on their progress? I’d love to hear your ideas, experiences and feedback on all of the above. Thanks!
Leo MaybeMonad
@samejr Hey, James, congratulations on launching Trigger.dev's Realtime feature! 🎉 It looks like an innovative solution for developers seeking seamless background task progress tracking and integration. The ability to show live progress bars, stream AI responses, and provide agent observability seems like a game-changer for creating more dynamic and responsive applications. I'm really curious about how Trigger.dev handles real-time updates specifically within the server component paradigm of Next.js 15. Could you elaborate on how your Realtime API seamlessly works with server components, especially considering their stateless nature? Are there any unique patterns or approaches you've developed to bridge client-side reactivity with server-side rendering?
Eric Allam
@samejr @maybemonad We haven't published any examples of this but you can definitely use realtime from a server component using our "backend" realtime API: https://trigger.dev/docs/realtim..., since it's built on ReadableStream and AsyncIterator. I'm hoping to publish a realtime + RSC demo sometime soon 👍
Marc Seitz
Happy Trigger customer here 👋 Absolutely love the speed that the team ships. Realtime was the last missing piece for us at Papermark to move our workflows from v2 to v3. Excited to see what they ship next :)
James Ritchie
Thank you @mfts0! ❤️
Omar McPizza 🍕
Trigger is one of those products the more you use it and learn about it the more you wondered how you ever survived before This new Realtime AI is gonna be fun to implement and users are gonna love the magic feeling it gives them Congrats on an epic product 👏
James Ritchie
TY @mcpizza0! 🙏
Dan Patel
Thanks for the kind words @mcpizza0!
Pontus Abrahamsson
I discovered Trigger.dev while searching for a reliable background job provider for building Midday. Being fully serverless, I needed a solution that met all my needs, and Trigger.dev exceeded expectations. They’re constantly improving their product, enabling me to move faster than ever. With the latest V3 and real-time capabilities, we’ve established a robust architecture. Thank you for creating Trigger.dev!
James Ritchie
Thanks @pontusab 🙏 – I'm loving watching Midday get built in public on X.
Alex Danilowicz
huge fans of trigger. we were nervous to write a cron job from scratch because the scheduling and alerts are such a headache, but then decided to use trigger. never looked back. works flawlessly. congrats on the launch. happy customer here.
James Ritchie
Thanks @alexdanilowicz! Love that you're enjoying Trigger ❤️ Likewise, i've watched Magic Patterns go from zero to insane! Good luck with your launch too.
Aaron Spurlock
Trigger.dev is undoubtedly one of my most cherished services. Throughout my two-decade career, it’s rare to encounter a product or service that truly resonates and makes a significant impact. Trigger.dev has been such a game-changer for my team and me. We were previously relying on homegrown workers, but Trigger stands out as the most effective option for managing asynchronous workers. The migration process has been an absolute delight. Moreover, the support provided by the founders and developers at Trigger is exceptional. They are a fantastic group of individuals who genuinely care about the product and the users. I wholeheartedly recommend Trigger!
Dan Patel
@div0ky Ah man that's such a nice comment. Thank you!
James Ritchie
Thanks @div0ky! Love this review ❤️
Sohrab Fadai
Congratulations on this launch guys! Amazed by the speed of how you keep shipping magical releases after each other. And this is going to be super exciting to build with.
Dan Patel
James Ritchie
Thanks @sohrab_fadai1 🙌
Jesse Sibley
So excited to try this out with the product I'm building. LLM streaming will be an absolute game changer!
James Ritchie
@jessethesibley that's awesome – can't wait to see what you do with streaming!
Christian Ek
Realtime has been a game-changer for my project. It was incredibly easy to set up and start showing live progress on my background jobs. The team behind it is fantastic, always quick to offer support whenever I’ve had questions. If you want an easy way to make your app more dynamic and responsive while keeping your users updated on background jobs, Trigger.dev and Realtime are a perfect choice!
James Ritchie
@christian_ek that's awesome! Thanks for the support ❤️
Matt Peck
Been using the self-hosted Trigger for a while - great product! Excited for the launch week (hope I get what I'm after on Friday 😃)
Dan Patel
Nice one @trmortalife! Also appreciate all your assists on Discord too
Sarim Malik
Congrats on the launch folks, insane how far the product has come.
Dan Patel
Really appreciate that @sarimmalik ! More to do...
Jack Bridger
Amazing job guys. Really need the progress bar
Dan Patel
Ahhh cheers @jack_bridger - enjoy the progress bars!
Chris Frantz
Congrats on the huge release guys!
Dan Patel
TY @frantzlight, we love Loops!
Oliver Hill
This is sick, streaming updates for AI responses is a game-changer for improving AI flows. Love trigger so much, insane to see the rate of improvement with the product. No-timeouts is also huge - I have specifically been burned by Vercel on this. We'll for sure put this to use - thanks Trigger team
Dan Patel
Thanks a lot @anteloper! If you need any help getting set up give us a shout
Teddy Ni
We're happy customers of Trigger — it's such an amazing platform with carefully crafted DX. Can't imagine going back to a world without Trigger and needing to manually figure out how to run a cron job in our server!
James Ritchie
Thanks @teddyni! 🚀
Shane Neubauer
Nice! Is it only LLM responses that can be streamed or can any stream work?
Eric Allam
@sneub yup any stream works, not just from LLMs responses. For example, you could stream the response.body of a fetch call as it works with any AsyncIterable or ReadableStream:
Cal Nicklin
Huge Trigger.dev fan here. I've deployed 3 production apps which use Trigger. In many ways a career-shaping product for me as its allowed me to quickly and easily build performant apps for clients in a way I never could do on my own. Best of all, for me, is the team behind it. Hands down one of the best customer support experiences I've had across any product category. Love it guys. My clients do, too.
Dan Patel
@cal_nicklin thank you! Glad you (and your clients) are having a good experience
Huzaifa Shoukat
Congrats on the launch! This looks awesome. I'm curious, how does it compare to other realtime update solutions out there?
Matt Aitken
@ihuzaifashoukat updating your UI from code that's executing is an annoyingly hard problem still. If you're doing just a single AI call you can stream that from your backend to your app. But anything more complicated than that means you've got to setup web sockets and/or Redis… it's a hassle
Agree Ahmed
Incredible stuff. Trigger has been a godsend for managing our workflows. This is just another level up - cannot wait to incorporate this into our workflow-oriented product: Flowglad.com Sincerely, A happy Trigger.devcustomer for over a year
James Ritchie
Thanks @agreeahmed! Love seeing what you're building at Flowglad 🙌