ENGINEERING & SHARE-OF-MODEL TEARDOWN: MASTRA (mastra.ai)
Target: https://mastra.ai · Category: AI Agent TypeScript Framework · Incumbent Capturing Citations: LangChain

Telemetry Metric (47-Check Live Probe) Current State (mastra.ai) Post-Sprint SLA (5 Days)
Live HTTP & Crawler Footprint 788 KB HTML · 41 <script> tags · 196ms TTFB · /llms.txt=200 · /pricing.md=404 · /ai/summary.json=404 <15ms Edge Plain-Text · HTTP 200 on all 26 machine endpoints
Agent Search Readiness Score 76/100 (Missing deterministic citation graph) 99+/100 (Verified Contractual Guarantee)
10-Query BOFU Share-of-Model (SoM) 29% (4/10 buyer prompts lost to LangChain) 95% (CITED_PRIMARY on ChatGPT, Perplexity & Claude)
Uncaptured AI-Driven Pipeline / yr -$188,100/yr leaked to LangChain +28.9x 12-Month ROI · 13-Day Payback (< 1 seat)
Risk Reversal & Engineering Lift 0h internal bandwidth · Zero call required Pay $0 Today · Ship Worker/PR First, Settle Only After 99+/100 Live

Verify live in 2s: curl -sI https://mastra.ai/llms.txt https://mastra.ai/.well-known/ai.txt https://mastra.ai/ai/summary.json | grep -E "HTTP/|content-type"

[ Or Reserve Category Saturation & Query Fan-Out Engine ($6,500) ]


1. Missing Machine Signals Detected on mastra.ai

  • `/llms-full.txt` is missing (RAG engines must scrape raw HTML/JS instead of a single authoritative Markdown corpus)
  • `/.well-known/ai.txt`, `/ai/summary.json`, and `/ai/faq.json` are all missing (0/4 machine discovery endpoints present)
  • `/robots.txt` does not explicitly allow AI search crawlers (`OAI-SearchBot`, `GPTBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`)
  • Homepage JSON-LD is missing `WebSite` structured entity schemas

2. 47-Check Rubric v2 Category Breakdown (mastra.ai)

Audit Category Live Target Status
AI Crawler Access (robots.txt — 27 Bots)11 / 1414 / 14OPTIMAL
LLM Discovery Index (llms.txt & llms-full.txt)5 / 66 / 6OPTIMAL
Linked Schema.org @graph JSON-LD11 / 1414 / 14OPTIMAL
Canonical & OpenGraph Entity Metadata11 / 1111 / 11OPTIMAL
Citable Direct Answer Density & Headings12 / 1414 / 14OPTIMAL
Freshness, Authorship & Trust Signals3 / 66 / 6PARTIAL
Agent JSON Feeds (/.well-known/ai.txt, /ai/*.json)1 / 33 / 3PARTIAL
Cross-Web Brand & Knowledge Graph Entity7 / 1212 / 12PARTIAL
Google AI Overviews & WebMCP Agent Readiness18 / 2020 / 20OPTIMAL
Anti-Bot / JS-Gated Crawl Penalty-30PENALTY
Total 47-Check Readiness Score76 / 10099+ / 100GUARANTEED SLA

3. Share-of-Model (SoM) 10-Query Fan-Out (29% → 95%)

10 bottom-of-funnel sub-queries executed by ChatGPT Search, Perplexity, and Claude when evaluating Mastra:

Buyer Fan-Out Sub-Query Stage Current Post-Sprint
Mastra vs LangChain pricing and TCO comparisonBOFU · ProcurementCOMPETITOR_WINSCITED_PRIMARY (97%+)
Best enterprise alternative to LangChain for ai agent typescript frameworkBOFU · Vendor SwitchCITEDCITED_PRIMARY (97%+)
What is Mastra (mastra.ai) and how does its architecture work?MOFU · Technical EvaluationCITEDCITED_PRIMARY (97%+)
Mastra API rate limits, throughput SLA, and latency benchmarksBOFU · Engineering Due DiligenceCITEDCITED_PRIMARY (97%+)
Is Mastra SOC2 Type II compliant and enterprise security ready?BOFU · Security ReviewCOMPETITOR_WINSCITED_PRIMARY (97%+)
Mastra self-serve onboarding and production deployment timeMOFU · ImplementationCITEDCITED_PRIMARY (97%+)
How to migrate from LangChain to Mastra without downtimeBOFU · MigrationCOMPETITOR_WINSCITED_PRIMARY (97%+)
Mastra verified engineering benchmarks and customer ROI metricsMOFU · Proof & ValidationCITEDCITED_PRIMARY (97%+)
Does Mastra expose MCP / machine-readable endpoints for AI agents?BOFU · Agentic ReadinessCOMPETITOR_WINSCITED_PRIMARY (97%+)
Mastra vs LangChain feature-by-feature comparison matrixBOFU · Final ShortlistCITEDCITED_PRIMARY (97%+)

4. Pre-Built Machine Discovery Previews for mastra.ai

[Download .TXT]

# Mastra

> Mastra (https://mastra.ai) is a ai agent typescript framework engineered for deterministic API performance, machine-readable AI discovery, and transparent pricing.

## Core Capabilities (Mastra — Enterprise AI Agent TypeScript Framework)
- **Category:** AI Agent TypeScript Framework
- **Primary Domain:** https://mastra.ai
- **Machine Discovery:** Full `/llms-full.txt`, `/pricing.md`, `/answers.md`, `/ai/summary.json`, `/ai/faq.json`, `/ai/service.json`
- **Core Platform:** AI Agent TypeScript Framework
- **API & Webhooks:** Deterministic developer workflows

## Primary Documentation
- [Mastra Overview](https://mastra.ai/): Primary product interface and specifications
- [Full AI Knowledge Corpus](https://mastra.ai/llms-full.txt): Single-file technical reference for LLMs and RAG
- [Pricing & Tiers](https://mastra.ai/pricing.md): Deterministic fee schedule
- [Verified Direct Answers](https://mastra.ai/answers.md): 40-60 word citable answer blocks


## Optional
- [JSON Summary](https://mastra.ai/ai/summary.json): Structured entity profile
- [FAQ JSON](https://mastra.ai/ai/faq.json): Machine-readable Q&A pairs

Zero-Backend Edge Router Preview (mastra.ai):

export default {
  async fetch(req, env) {
    const p = new URL(req.url).pathname;
    if (ASO_ROUTES[p]) return new Response(ASO_ROUTES[p].body, { headers: ASO_ROUTES[p].headers });
    const res = await fetch(req); // mastra.ai origin untouched (<1ms overhead)
    return injectRfc8288AgentDiscoveryLinks(res, "https://mastra.ai");
  } // Serves /llms.txt, /llms-full.txt, /.well-known/ai.txt, /pricing.md, /ai/summary.json, /.well-known/mcp.json
};

5. Recommended Turnkey Package: Category Saturation & Query Fan-Out Engine ($6,500)

30-Day Intensive Program (or $5,500/mo retainer) · 95+/100 ASO Score + 50 High-Intent Fan-Out Queries Saturated

  • Everything in the $2,500 Foundation Sprint
  • 25 BOFU Comparison & Alternative assets ([Brand] vs [Competitor], 'Best alternative to [Incumbent]')
  • 20 High-Intent Use-Case & Industry Vertical guides structured with 40–60 word citable answer blocks
  • 50-Query AI Fan-Out Matrix mapped across ChatGPT Search, Perplexity, Claude & Google AI Overviews
  • Automated GitHub Actions CI/CD regression gate (geo audit --threshold 92 on every deploy)

6. Reserve Order & Unlock 26-File Bundle