Im finally getting to start this new project for a local client where I have to build an agent that can basically automate a whole research workflow for their trading firm. I only have about 3 weeks to get a prototype running so im really hyped but kinda stressed about picking the right stack. Most of what I read says Python is the go-to for anything AI but then I saw some guys on Reddit arguing that TypeScript is way better for complex state management and building out the actual tools the agent uses. My logic was that Python has all the libraries but I dont want to hit a wall if the agent needs to be super snappy. Does it really matter if I stick to Python or is TS actually the secret sauce for advanced skill dev?
Just caught this thread and honestly, you're hitting on a real debate in the agent space right now. I've been using TypeScript for my last few agentic workflows and I'm really satisfied with how it handles complex tool definitions. If your trading firm client needs something that feels snappy and reacts fast to streaming data, TS is definitely not a bad shout. Python is great for the data science side, but Node's event loop is basically a dream for handling a dozen API calls at once without blocking the whole process. Here is why I'm leaning TS for your 3-week sprint:
Re: Python for agent dev... I agree. One might want to consider:
Honestly, I've been using Python for agent development for years and I'm quite satisfied with the results. It works well and I've got no complaints regarding speed for research tasks. For your timeline, I recommend using LangChain Python Framework v0.2.0 alongside OpenAI API GPT-4o Model. These tools make building complex agent skills very straightforward. Python is basically the best choice to hit that three week deadline.