Field noteNov 27, 20263 min read1 source

How Lindy Replaced Its Homegrown Agent Harness with Mastra to Run Tasks 2× Faster

In one minute

Lindy replaced its state-graph architecture with a simpler agent loop on Mastra and redesigned its underlying data model. The team says the switch freed the equivalent of two engineers’ time for product development and optimization. (mastra.ai)

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?

How this was made

First seen
Nov 27, 2026, 19:21 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Editorial value: high.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1mastra.ai/customers/lindy
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicAgent HarnessExplore the agent-harness topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract