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.

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