Mastra vs Eve: we shipped one to production and chose the other

AI-generated image for Orbitant's blog comparing Mastra vs Eve, featuring two curved paths splitting from a central point of light against a dark background: a gray path anchored by a chain to a weight on the left, and a rising cyan path supporting a glowing cube on the right.

Most comparisons of AI agent frameworks pit feature lists against each other, and none of their authors has put either tool to work. With Mastra vs Eve we did the opposite: we took Eve to production, dropped it, and chose Mastra to end up using almost nothing of what it ships with. The conclusion runs against what these comparisons usually promise, because the choice of framework mattered far less than it seemed. I think that was the most valuable lesson of the process, and it comes down to a decision we made at the start: keep what the agent knows separate from the code that runs it.

For anyone who has to choose a technology base, the figure that weighs most in the decision is how much it costs to be wrong about it. That cost depends less on the framework you pick than on how tightly the product is tied to it, because an agent whose knowledge lives elsewhere can switch tools without being rebuilt. So before comparing names, we set the criteria we’d decide by.

Mastra vs Eve: criteria before names

Before looking at any names we set four search criteria, because a comparison without declared criteria boils down to a matter of taste. Each one answers a concrete business risk and a decision we didn’t want to make twice. Writing them down first also forced us to rule out attractive options that didn’t meet them, even though bending the criteria to fit a favorite would have been more comfortable. These were the four criteria:

  • High level, so we don’t build from scratch pieces that don’t set us apart.
  • Features out of the box, such as memory, flows that can be paused and evaluations, available when they’re needed.
  • Model-independent, so we can switch AI provider without rebuilding the agent.
  • TypeScript, because it’s the language the team works in.

With those criteria in hand, the comparison between the two finalists looks like this. The column that matters is the last one, because it records what evidence settled each point beyond what each product’s documentation promises. The other options we reviewed, such as Anthropic’s agent SDK or Python frameworks, were dropped earlier for failing at least one of the four criteria.

AxisEve (Vercel)MastraWhat settled it
Fit with our ideaAn agent is a folder with skills, channels, scheduled tasks and approvals: almost our vision, written by someone elseNo “employee” conventionOn paper, Eve won. That Mastra had none was an advantage: the employent model stays ours
MaturityPublic beta since June 2026Stable 1.0 since January 2026Necessary, but not enough to decide
Production testDeployed in a real pilot, with documented failuresFirst feature deployed and validated live on July 29, 2026Only Eve was tested in production before being dropped: that makes the rejection credible
Platform dependencyIts production layer depended on VercelThe model connects through a standard layer and the core is open sourceThe deciding factor: the only one maturity doesn’t fix
Real usageWe’d have used most of itOne piece out of about sevenThe dependency fits in a single file

Read from top to bottom, the table has a clear business reading. Eve won on the rows that shine in a demo, like fit with our idea, and lost on the one that weighs most over the years: dependence on a platform. That row determines how much it will cost to change our minds a year or two from now. That’s why we gave it more weight than all the others combined, even though it was the least flashy.

Validating the product and validating the tool are two different conclusions

To rule out Eve, we first put it to work. Matteo Di Paolantonio, our CTO, built a pilot of our marketing employent, the first AI agent with an employee role that we built, and took it to production connected to Slack. The result stood out for the voice of the texts and for the cycle of creating a draft and reviewing it, to the point of setting the direction we wanted to take with the product. With that result, the natural move would have been to accept Eve and keep building on top of it.

However, the production layer told a different story. The Slack integration failed 3 times for 3 different reasons. Vercel’s service received the messages but didn’t forward them to the agent; the bot’s access expired every 12 to 24 hours; and file permissions caused problems too. On top of that, long drafts arrived corrupted when sent in parts. Each failure had a one-off fix, but they all pointed to the same dependence on Vercel’s platform, which InfoQ’s analysis of the Eve launch also highlights.

The temptation was to read the pilot’s good result as proof in Eve’s favor, but that would have been an expensive mistake. Everything people liked (the voice, the content and the review cycle) lived in the agent’s knowledge and was independent of the tool running it. In other words, the pilot confirmed that the product worked, but the same couldn’t be said of the tool. Mixing up the two conclusions is the most common way to marry the wrong tool for the right reasons.

What makes this conclusion useful is that it can be checked. We’d migrate to Eve the day its production layer stops depending on Vercel, because that’s the condition that rules it out today. As Eve matures its stability will improve, but the anchor to a specific platform will stay as long as its architecture doesn’t change. If that day comes, trying it would be cheap for us, because what makes the agent valuable no longer depends on the framework.

Why we chose Mastra and barely use one of its pieces

Mastra, the TypeScript agent framework we chose, ships with a lot of what we don’t want to build: memory, workflows that can be paused and resumed, connection to external tools and evaluations. Even so, the argument that weighed most was what it leaves out, since Mastra imposes no idea of what a digital “employee” is. For us that definition is the asset: what sets an employent apart is its role contract, so we’d rather it live in our code and our knowledge than in a vendor’s conventions.

Today we use just one of the roughly seven pieces Mastra offers, and we do it on purpose. Our whole dependency on the framework fits in 2 imports inside 1 file of 176 lines, enclosed behind a boundary of our own so the rest of the system doesn’t know Mastra exists. For a technology lead, that figure offers something a debate about preferences can’t: knowing that, if we had to switch frameworks tomorrow, the work would be confined to that file. The less we use, the cheaper it is to change tools or adapt to its updates.

The features that come out of the box carry a cost too, and in our case we ended up measuring it. Mastra sets the maximum size of each response from an internal table that didn’t recognize our default model, so it applied a limit of 4,096 tokens. The model spent that entire limit thinking and returned zero characters of text, without throwing any error. Since the agent only replied that it couldn’t generate the content, finding the cause meant tracing a real run step by step.

The same thing happened with Mastra’s task scheduler, which we dropped after reviewing the installed package. It needed its own database and processes and, on top of that, it sent an instruction to the agent when what we needed was to run code. That’s why I believe every piece of a framework should enter a project only when a real need justifies it.

AI-generated diagram for Orbitant's blog visually explaining the step-by-step silent failure caused by token limits in Mastra ("What happened") versus the expected execution flow ("What we expected").

Defending the decision with sources forced us to sharpen it

The final test came when a teammate deployed Hermes, another open-source agent, for infrastructure tasks and we had to explain why the employent isn’t built on it. What began as preparation for a conversation ended in a review with sources, after which our list of arguments had shrunk: of the initial five, 2 didn’t survive the comparison and 1 was flat-out false. We dropped them and wrote down why, so nobody has to defend them again:

  1. “Python versus TypeScript”: the agent’s knowledge is written in markdown, so the framework’s language changed nothing.
  2. “Switching off its tools is costly”: it was false, because its tool control is good.
  3. “We don’t want state”: we do want it, and it’s in our plan.

We also acknowledged its strengths. Hermes already knows how to extend its own knowledge with human approval, something we’ve postponed; and its way of conversing is more polished. Acknowledging those points is what makes the rest of the arguments credible, because it makes clear we don’t defend a tool out of attachment. In the end two criteria were left that anyone can check: being able to attribute each result to a reviewed version of the knowledge, and the agent not acting when in doubt.

This exercise yields a lesson that applies to any technology decision, since an argument that has survived a review with sources is much harder to rebut than a list of preferences. That’s why every figure in this article comes from our own installation, like the code search that counted Mastra’s 2 imports or the real run that exposed the 4,096-token limit. That way, the article can pass review by an expert from Vercel or Mastra without depending on what the documentation says. That same discipline explains why our agents’ brain lives in a versioned npm package.

My recommendation is simple to apply the next time you have to choose an agent framework. Before deciding, measure the one you have installed: how much of your system depends on it and what it does by default when nobody’s looking. With those two answers you’ll know how much being wrong would cost you before you commit to it.

Follow our journey building AI agents from the inside

    Newsletter language: