Using T3 for AI agents and similar products

Hello - I'm new to T3 and JS/TS, but I'm a .NET dev working with MAUI and Blazor. Really want to explore T3, but I have some (maybe stupid?) questions. I find it unnecessarily hard/verbose to use AI tools like LangChain and OpenAI APIs in .NET - especially when I can do pretty much anything from chatbots to agents in Python with 10-300 lines max. I love Blazor, but frameworks like Next or Svelte are just so much more performant, better documented, plus Github Copilot is way better here than in .NET/Blazor. I want something that performs better and is easier to manage. Other than dabbling a bit by making some projects in SvelteKit, I dont really know much about JS/TS web development, but have followed Theo a long while and finally interested in trying the T3 stack. I read that T3 isnt necessarily meant for microservice setups etc, but I assume it is still possible to let it use APIs/microservice endpoints. I dont really know how good the dev experience is in TS for AI stuff, but there are tons of JS libs so I also assume that it is pretty straightforward. I want to combine learning better, more performant web frameworks and also trying out building some new AI agents or chatbots with OpenAI and LangChain etc. One thing I really want to try is to let users spin up multiple agents at once, maybe as processes running in Docker images. Kinda clueless on how to set this up still, but I'm hoping T3 and TS can do the job. Is the T3 stack a good fit to try these sort of projects? Maybe it's nice to integrate it with some Python backends/APIs as well? Are there some things one should be aware of with T3 when it comes to scaling web apps?
2 Replies
djcmurphy
djcmurphyā€¢14mo ago
T3 is just a way to create a next app but is optimised for a speedy dev process. T3 is Next and Next is a React framework with a server. If you know Sveltekit then you can make a React App but react does have a particular way of doing things and might take some adjusting. 1 line in Svelte can be several in React. Next is mostly built to make frontend dev lives easier and T3 makes it easier to link frontend to the back with TRPC. So if you are making a site for users to enter prompts and you want a fast dev experience then go for it. Nothing about the server environment is any different from any other node server backend as far as I know. You probably won't use half of next's features but it will do the job for sure. And honestly it's just worth learning.
Godspeed
Godspeedā€¢14mo ago
Alright, thanks! That makes sense. I think I'm a bit "scared" of the React part, compared to Sveltes simplicity, but I feel like the whole Next space is moving fast and adding features all the time - so I will give it a try šŸ™