Mastra is an open-source TypeScript framework for building AI agents and workflows, with memory and observability built in. Developers create a project with a single command and deploy the application to any Node.js-compatible environment or as a standalone server. The core is licensed under Apache 2.0, while code in enterprise directories falls under the separate Mastra Enterprise License. The company behind the framework is based in San Francisco.
For a European organisation, the framework itself is the main sovereignty asset: it runs on infrastructure the organisation controls, so data need not leave its environment. Enterprise modules fall under a separate licence that should be read before adoption. For the optional Mastra Platform, the public pages name neither a parent company nor a hosting region, so a hosted option should be assessed separately, bearing in mind the company's US base.