All 358 Dependencies

Every package Mastra Code depends on, ranked by repo health score.

Mastra Code is a terminal coding agent published as the `mastracode` package within the larger Mastra monorepo (a YC W25-backed TypeScript framework for building AI applications and agents). Its headline feature is Observational Memory: rather than compacting conversation history when context fills up, it continuously extracts and stores observations from every conversation, then injects relevant context into future requests as needed.

Built on Mastra's own unified model router, it supports Claude, GPT, Gemini, and thousands of other models, with OAuth login for Anthropic (Claude Max) and OpenAI (ChatGPT Plus/Codex) subscriptions rather than requiring separate API billing. Persistent per-project conversation threads, a goals system for longer-running objectives with configurable judge models, and saved approved plans round out a workflow aimed at sustained, multi-session coding work rather than one-off prompts.

Apache-2.0 licensed (consistent with the rest of the Mastra monorepo outside its separately licensed `ee/` enterprise directories), Mastra Code installs globally via `npm install -g mastracode` or runs directly via `npx mastracode`, with a polished terminal UI built on the pi-tui library.

23 @lezer/highlight ^1.2.3 25 tokenizers ^0.6.0 25 @codemirror/lang-json ^6.0.2 25 @codemirror/search ^6.7.1 26 @codemirror/language ^6.12.4 27 fetch-to-node ^2.1.0 32 CodeMirror State ^6.7.1 33 lang-javascript ^6.2.5 34 @codemirror/autocomplete ^6.20.3 34 tailwindcss-animate ^1.0.7 35 @codemirror/merge ^6.12.2 35 typed-emitter ^2.1.0 36 use-stick-to-bottom ^1.1.3 37 async-mutex ^0.5.0 37 fastest-levenshtein ^1.0.16 38 lang-markdown ^6.5.0 38 gray-matter ^4.0.3 39 json-schema ^0.4.0 39 strip-json-comments ^5.0.3 40 @codemirror/legacy-modes ^6.5.3 40 vector-js ^1.2.3 40 picocolors ^1.1.1 40 remark-gfm ^4.0.1 41 @codemirror/view ^6.43.6 41 big.js ^7.0.1 41 pdf-parse ^2.4.5 41 strip-ansi ^7.2.0 41 unist-util-visit ^5.1.0 42 clsx ^2.1.1 42 rimraf ^5.0.10 outdated 42 tw-animate-css ^1.4.0 43 fast-deep-equal ^3.1.3 44 cmdk ^1.1.1 44 progress ^2.0.3 45 astra-db-ts ^1.5.0 outdated 46 zod-to-json-schema ^3.25.1 47 @rollup/plugin-alias 6.0.0 47 @rollup/plugin-alias 29.0.3 outdated 47 @rollup/plugin-alias 0.1.8 outdated 47 @rollup/plugin-alias 6.1.0 outdated 47 @rollup/plugin-alias 16.0.3 outdated 47 @rollup/plugin-alias 3.0.2 outdated 47 cross-env ^10.1.0 47 tiktoken ^1.0.21 48 swagger-ui-express ^5.0.1 49 forge ^1.3.3 49 prism-react-renderer ^2.4.1 49 unified ^11.0.5 49 typescript-sdk ^0.2.1 outdated 50 image-size 1.2.1 outdated 50 lru-cache ^11.2.7 50 React Syntax Highlighter ^15.6.6 outdated 51 tailwindcss-typography ^0.5.19 51 cors ^2.8.6 51 debug ^4.4.3 51 jsonwebtoken ^9.0.3 52 ts-node 10.9.2 53 arcade-js ^2.4.1 53 Commander Extra Typings ^14.0.0 outdated 54 AutoForm Core ^3.0.0 outdated 55 Headless UI ^2.2.9 55 rehype ^9.0.1 outdated 55 serve-handler ^6.1.7 56 @mcp-ui/client ^7.1.0 56 fs-extra ^11.3.5 56 p-retry ^7.1.1 outdated 56 superjson ^2.2.6 58 reflect-metadata ^0.2.2 59 Archiver ^8.0.0 59 libsql ^0.5.29 59 ora ^8.2.0 outdated 59 shell-quote ^1.8.3 59 ts-morph ^27.0.2 outdated 59 use-debounce ^10.1.0 60 citty ^0.2.2 60 Croner ^10.0.1 60 tsup ^8.5.1 61 @hello-pangea/dnd ^18.0.1 61 slugify ^2.2.1 outdated 61 diff ^8.0.3 outdated 62 React CodeMirror ^4.25.11 62 React CodeMirror ^4.25.11 62 Commander.js ^12.1.0 outdated 63 @manypkg/get-packages ^3.1.0 63 eslint-plugin-react ^7.37.5 63 path-to-regexp ^8.4.2 64 Daytona Python SDK ^0.143.0 outdated 64 form-data ^4.0.6 65 Chalk ^5.6.2 outdated 65 p-map ^7.0.4 65 react-markdown ^9.1.0 outdated 65 Sonner ^2.0.7 66 DOM Testing Library ^10.4.0 66 React Testing Library ^16.3.2 66 Ajv ^8.20.0 66 openapi-typescript ^0.17.0 outdated 67 Vercel Analytics ^2.0.1 67 remark ^15.0.1 67 remark ^11.0.0 outdated 67 tar ^7.5.15 67 tinyglobby ^0.2.15 68 qdrant-js ^1.17.0 68 jest-dom ^6.6.3 outdated 68 eventsource-parser ^3.0.6 outdated 68 fastify-plugin 5.0.1 outdated 68 prettier-plugin-tailwindcss ^0.7.2 outdated 69 date-fns ^4.4.0 69 semver ^7.7.4 70 libSQL Client (TypeScript) ^0.17.4 outdated 71 MDX ^3.1.1 71 OpenRouter AI SDK Provider ^0.7.5 outdated 71 MDX ^3.1.1 72 react-day-picker ^8.10.1 outdated 73 OpenSearch JavaScript Client ^3.6.0 73 Drizzle ORM ^0.45.0 73 MSW (Mock Service Worker) ^2.12.2 74 Dagre ^1.1.8 outdated 74 Koa ^3.1.2 74 pino-pretty ^13.1.3 74 tinyexec ^1.1.1 75 @fastify/swagger-ui ^5.2.6 outdated 75 @octokit/auth-app ^8.0.0 75 @upstash/redis ^1.37.0 75 dotenv ^17.3.1 75 globals ^16.5.0 outdated 75 octokit.js ^5.0.5 76 Radix UI ^1.1.15 76 Radix UI ^2.1.16 outdated 76 Radix UI ^1.1.15 76 Radix UI ^2.1.8 outdated 76 Radix UI ^1.2.10 76 Radix UI ^2.2.6 outdated 76 Radix UI ^1.2.4 76 Radix UI ^1.2.8 76 Radix UI ^1.2.4 76 execa ^9.6.1 outdated 77 ignore ^7.0.5 77 node-jwks-rsa ^3.2.2 outdated 77 React Resizable Panels ^4.7.3 78 Apache Arrow JS ^18.1.0 outdated 78 dockerode ^4.0.9 outdated 78 unplugin-dts ^4.5.4 outdated 79 @clack/prompts ^1.7.0 79 concurrently ^9.1.2 outdated 79 PapaParse ^5.5.3 79 node-postgres ^8.21.0 79 node-postgres ^2.12.0 outdated 80 @fastify/swagger ^9.7.0 80 pinecone-ts-client ^3.0.3 outdated 80 user-event ^14.5.2 80 modal-client ^0.7.3 outdated 80 Shiki ^1.29.2 outdated 80 Zustand ^5.0.12 82 exa-js ^2.0.12 82 yaml ^2.7.1 83 ACP TypeScript SDK ^0.21.0 outdated 83 @hono/node-server ^2.0.8 83 @hookform/resolvers ^5.2.2 83 Octokit REST ^22.0.1 83 class-variance-authority ^0.7.1 83 Picomatch ^4.0.3 83 RxJS ^7.8.1 84 Langfuse JS/TS SDK (@langfuse/client) ^5.4.1 84 Pino ^10.3.1 84 type-fest ^5.4.4 85 Chat SDK ^4.29.0 85 esbuild ^0.28.0 85 ws ^8.18.0 86 @a2a-js/sdk ~0.3.14 outdated 86 Base UI ^1.5.0 outdated 86 Express ^5.2.1 86 nanoid ^5.1.11 outdated 87 eslint-plugin-tailwindcss ^4.1.0 87 react-hotkeys-hook ^5.2.4 88 Pi 0.80.6 outdated 88 Google Gen AI SDK ^1.52.0 outdated 88 Mastra Core * 88 Mastra Core beta 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core type-check-test 88 Mastra Core latest 88 Mastra Core deployers-e2e-test 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core latest 88 Mastra Core beta 88 Mastra Core beta 88 Mastra Core no-bundling-test 88 Mastra Core 1.0.0-beta.11 outdated 88 Mastra Core beta 88 Mastra Core latest 88 Mastra Core deployers-e2e-test 88 Mastra Core 1.0.0-beta.4 outdated 88 Mastra Core latest 88 Mastra Core beta 88 Mastra Core beta 88 Mastra Core * 88 Mastra Core latest 88 Mastra Core beta 88 TanStack Virtual (React) ^3.13.22 88 cloudflare-typescript ^5.2.0 outdated 88 E2B ^2.29.1 88 jose ^6.2.1 88 Mastra Core commonjs-e2e-test 88 tailwind-merge ^3.5.0 88 tsx catalog: 88 Valibot ^1.2.0 89 @hono/zod-validator ^1.1.1 outdated 89 @hono/zod-validator ^1.1.0 outdated 89 @hono/zod-validator ^0.2.2 outdated 89 @hono/zod-validator ^0.5.3 outdated 89 Firecrawl Python SDK ^1.29.3 outdated 89 Better Auth ^1.6.13 89 Firecrawl Python SDK ^4.18.4 89 ioredis ^5.6.1 outdated 89 lint-staged ^16.4.0 outdated 90 @cloudflare/workers-types ^4.20260418.1 outdated 90 LanceDB ^0.22.3 outdated 90 protocol ^1.46.6 90 MCP TypeScript SDK ^1.29.0 90 @openai/agents ^0.11.6 outdated 90 Smithy Core (@smithy/core) ^4.0.0 outdated 90 Smithy Core (@smithy/core) ^4.0.0 outdated 90 Tailwind CSS ^4.2.2 90 Tailwind CSS ^4.2.1 90 Tailwind CSS ^4.2.2 90 workos-node 8.8.0 outdated 90 xterm.js 6.0.0 90 Hono ^4.12.29 90 prettier 3.6.2 outdated 90 rollup ^4.61.1 90 Tailwind CSS ^4.2.2 90 Zod catalog: 91 @clickhouse/client ^1.20.0 91 Faker ^10.5.0 91 Playwright ^1.58.2 91 React Flow ^12.10.1 91 lucide-react ^0.522.0 outdated 91 Playwright ^1.60.0 91 Playwright ^1.61.0 91 Playwright ^1.60.0 91 Recharts ^3.8.0 91 verdaccio ^6.7.4 92 AI SDK 1.0.37 outdated 92 AI SDK ^3.0.105 outdated 92 AI SDK ^3.0.96 outdated 92 AI SDK ^2.0.115 outdated 92 AI SDK 2.0.65 outdated 92 AI SDK ^1.2.10 outdated 92 AI SDK 2.0.63 outdated 92 AI SDK 2.0.47 outdated 92 AI SDK 2.0.111 outdated 92 AI SDK ^2.0.62 outdated 92 AI SDK ^1.2.9 outdated 92 AI SDK 3.0.48 outdated 92 AI SDK ^3.0.37 outdated 92 AI SDK ^2.0.59 outdated 92 AI SDK 3.0.45 outdated 92 AI SDK ^2.0.3 outdated 92 AI SDK ^3.0.22 outdated 92 AI SDK ^1.2.12 outdated 92 AI SDK 2.0.64 outdated 92 AI SDK ^1.2.11 outdated 92 AI SDK ^1.2.18 outdated 92 @clerk/backend ^1.34.0 outdated 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 Docusaurus ^3.10.1 92 TanStack Query ^5.90.21 92 TanStack Table ^8.21.3 outdated 92 @vitejs/plugin-react ^5.2.0 outdated 92 Vitest catalog: 92 AI SDK ^5.0.124 outdated 92 jsdom ^26.1.0 outdated 92 client-sdk-js ^2.19.2 92 Marked ^15.0.0 outdated 92 postcss ^8.5.8 92 React Hook Form ^7.71.2 92 Vitest catalog: 93 AWS SDK for JavaScript (S3 Client) ^3.1058.0 93 AWS SDK for JavaScript (S3 Client) ^3.1058.0 93 AWS SDK for JavaScript (S3 Client) ^3.1058.0 93 AWS SDK for JavaScript (S3 Client) ^3.1058.0 93 AWS SDK for JavaScript (S3 Client) ^3.1058.0 93 AWS SDK for JavaScript (S3 Client) ^3.972.48 93 AWS SDK for JavaScript (S3 Client) ^3.864.0 93 AWS SDK for JavaScript (S3 Client) ^3.1058.0 93 AWS SDK for JavaScript (S3 Client) ^3.973.9 93 OpenTelemetry Auto-Instrumentations for Node.js 0.67.0 outdated 93 OpenTelemetry Auto-Instrumentations for Node.js 0.37.0 outdated 93 posthog-js ^1.10.0 93 dd-trace ^5.108.0 outdated 93 Fastify 5.8.5 outdated 93 posthog-js ^1.360.2 93 posthog-js ^5.37.0 outdated 93 Vite ^7.3.1 outdated 94 @babel/core ^7.29.7 outdated 94 @babel/core ^7.29.7 outdated 94 @babel/core ^7.29.7 outdated 94 @babel/core ^7.29.7 outdated 94 @babel/core ^7.29.7 outdated 94 @babel/core ^7.29.7 outdated 94 elasticsearch-js ^8.19.1 outdated 94 NestJS ^11.1.26 outdated 94 NestJS ^11.1.26 outdated 94 NestJS ^11.1.26 outdated 94 Sentry JavaScript (@sentry/browser) ^10.57.0 94 supabase-js ^2.108.0 94 ESLint ^10.4.1 94 node-mssql ^12.5.5 94 MySQL2 ^3.11.3 94 React Router ^7.13.1 outdated 94 typescript-eslint ^8.57.0 94 vscode-jsonrpc ^8.2.1 outdated 95 onnxruntime-node 1.26.0 outdated 95 OpenAI ^4.104.0 outdated 95 Node-Redis ^5.12.1 outdated 95 Storybook ^9.1.20 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) 1.9.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^0.218.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^2.7.1 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) 0.208.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^0.218.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) 0.208.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) 2.2.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^0.218.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) 0.208.0 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^2.7.1 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^2.7.1 outdated 96 OpenTelemetry JavaScript (@opentelemetry/api) ^1.40.0 outdated 96 @slack/web-api ^7.14.1 outdated 96 firebase-admin-node ^13.7.0 outdated 96 node-mongodb-native ^7.2.0 96 Next.js ^16.2.10 96 TypeScript catalog: 97 @azure/identity ^12.31.0 outdated 97 React ^7.1.1 outdated 97 React ^19.2.5 97 React DOM ^19.2.5 97 webpack ^5.108.3 98 Google Cloud Storage ^5.3.1 outdated 98 Google Cloud Storage ^8.8.1 outdated 98 Google Cloud Storage ^6.7.1 outdated 98 Google Cloud Storage ^7.21.0 outdated 98 Google Cloud Storage ^6.4.1 outdated 98 Google Cloud Storage ^10.9.0 outdated

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search