What happened
The old harness routed tasks through workflow nodes, and changes could affect execution, evaluations and other components, making regressions difficult to trace. (mastra.ai) On Mastra, Lindy built context across successive model calls and used caching to limit repeated processing. (mastra.ai)
It also extended tool search with classifiers and decision models to rank candidates and distinguish providers, then made search cacheable to control token costs. (mastra.ai) That addressed a practical constraint: selecting among similar operations in a large integration catalog without making search slow or expensive. (mastra.ai) Lindy extended Mastra’s memory primitives for long conversations that required memory management and compaction. (mastra.ai)
The framework did not replace the product plumbing: Lindy connected billing, authorization, integrations, authentication, logging and tracing, and retained its evaluation system for the tasks and tools its agents use. (mastra.ai)
The migration removed roughly half a million lines from the old implementation, though much of that volume was replaced by tests; the application logic became much smaller. (mastra.ai) Mastra’s case study says infrastructure costs fell. It also says staff software engineer Bruno Škvorc now manages the implementation mostly on his own, and that the smaller codebase fits in most coding agents’ context windows, helping Lindy’s coding agents understand and reason about it. (mastra.ai)
What the archive adds
This production migration extends the ground covered in New Runtime’s earlier Mastra tutorial: from the framework’s mechanics to the work of adapting it to an existing product.
Why it matters
A harness replacement should be evaluated against the whole operating model, not just the code removed. Lindy’s reported capacity gain sits alongside custom tool-search work, connected product infrastructure and retained evaluations; those are part of the migration’s cost and of how the team can judge whether it works.
Limits and uncertainty
The results and projections come from Mastra’s case study, rather than independent confirmation. It says the new core is planned to launch in November 2026; the expectation that tasks will run at least twice as fast and customers will get three to four times more usage from credits, depending on task, are forecasts—not reported production results. (mastra.ai)
Reader takeaway
The reported win was not a drop-in framework swap: Lindy replaced its state-graph harness with a simpler loop, adapted tool search and memory, connected the runtime to its existing product systems, and kept its evaluations. The team says this freed two engineers’ worth of time; projected speed and credit gains remain expectations until measured after rollout.
Open question
After rollout, do production measurements show the expected speed and credit-usage gains across different tasks?