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

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