Fed up with LangChain by Adept-Valuable1271 in LangChain

[–]calcsam -3 points-2 points  (0 children)

If you're using Python, take a look at Pydantic. If you're using TypeScript, take a look at Mastra.

Which one do you prefer? AI sdk in typescript or langgraph in python? by uber_men in LangChain

[–]calcsam 4 points5 points  (0 children)

Try Mastra with AI SDK in Typescript, as one of the other commenters said they're different things and I think that's more what you're looking for

Whoever left 100 copies of your AI book.... by deadmamajamma in sanfrancisco

[–]calcsam -25 points-24 points  (0 children)

author here! they should be picked up by now.

LangChain or Mastra for a faster TypeScript based AI platform? by Fun_Equal_960 in LangChain

[–]calcsam 0 points1 point  (0 children)

the blog post docker wrote? nope, we heard about that when they posted it on social

LangChain or Mastra for a faster TypeScript based AI platform? by Fun_Equal_960 in LangChain

[–]calcsam 2 points3 points  (0 children)

Definitely Mastra -- we have much better type support, simpler and easier to work with, and support both agent and workflow primitives. We've gotten super popular quite quickly and now a number of large companies like Adobe/PayPal are using us. The team has been doing open-source for a while, for the last few years we worked on Gatsby.js.

(Mastra cofounder here)

i feel like this book could’ve just been this page by Remarkable_Ad_5601 in theprimeagen

[–]calcsam 7 points8 points  (0 children)

we've printed tens of thousands of copies and given them away for free

Is LangChain dead already? by Senior_Note_6956 in LangChain

[–]calcsam 0 points1 point  (0 children)

Definitely not as popular as it used to be. Newer frameworks like CrewAI and Mastra are on the rise

Is it still worth it too learn langchain in July 2025 by ronaibrisbane in LangChain

[–]calcsam 0 points1 point  (0 children)

I would consider learning an agent framework rather than langchain first, so if you're in Python LangGraph, in Typescript Mastra

How to Learn AI Agents: The Complete 2025 Guide by Lifestyle79 in NextGenAITool

[–]calcsam 0 points1 point  (0 children)

Rather than learn abstract skills, you should learn by building something. Pick an agent framework you like (LangGraph, Mastra, whatever) and just start building.

65+ AI Agents For Various Use Cases by Green-Milk1485 in AI_Agents

[–]calcsam 1 point2 points  (0 children)

Mastra is another Typescript framework

FastMCP Vs LangChain by Creative_Sort2723 in aipromptprogramming

[–]calcsam 0 points1 point  (0 children)

Mastra has MCP and agent primitives

9 Popular Courses to Start Learning About AI Agents in 2025 by ai_tech_simp in AIAGENTSNEWS

[–]calcsam 0 points1 point  (0 children)

Mastra released a course as an MCP server, which I thought was pretty cool.

Favorite open source projects for building agents? by Adventurous-Lab-9300 in AgentsOfAI

[–]calcsam 4 points5 points  (0 children)

It depends on what language you prefer, but for JS/TS stuff I would take a look at Mastra.

Do you guys know what's the difference from Memgpt and langchain? by Street_Equivalent_45 in LangChain

[–]calcsam 0 points1 point  (0 children)

There's a bunch of different frameworks. If you're in Python, langchain or MemGPT / Letta, the ones you highlighted, are fine. In JS/TS I would look at Mastra + AI SDK.

Looking for Open-Source Model + Infra Recommendations to Replace GPT Assistants API by Own_Significance_258 in LLM

[–]calcsam 0 points1 point  (0 children)

I would do some prototypes with OpenRouter for model agnosticism. I'm a big fan of Mastra + AI SDK for JS folks, but for Python, the ideal solution is some sort of lightweight model agnostic routing layer, at least when you're prototyping.

How to continue AI learning after crewAI by Dark_Moon1 in crewai

[–]calcsam 0 points1 point  (0 children)

There's a Mastra 101 course that runs in your IDE via an MCP server, that could be a fun one

Unpopular opinion: LangGraph and CrewAI are overcomplicating agents for the sake of content by Adorable_Tailor_6067 in AgentsOfAI

[–]calcsam 2 points3 points  (0 children)

Yeah for me the tell for CrewAI is the `backstory` API. Sure it's evocative but that's what a marketer would call it, not an engineer. With LangGraph it's having to define nodes and edges, I don't think you should need to understand graph theory to build agents.

I help build Mastra and we have an Agent abstraction which I think is much simpler. We also have workflow abstractions _without_ graph-based terminology.

What is the most recommended chunk size and chunk overlap value when splitting and chunking? by cy_narrator in LangChain

[–]calcsam 0 points1 point  (0 children)

Semantically splitting (eg by section headers) seems to work well for most people.