All 357 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 27 fetch-to-node ^2.1.0 32 lang-javascript ^6.2.5 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 json-schema ^0.4.0 40 picocolors ^1.1.1 40 remark-gfm ^4.0.1 41 big.js ^7.0.1 42 clsx ^2.1.1 42 tw-animate-css ^1.4.0 43 fast-deep-equal ^3.1.3 44 astra-db-ts ^1.5.0 outdated 44 cmdk ^1.1.1 44 progress ^2.0.3 45 form-data ^4.0.6 45 zod-to-json-schema ^3.25.1 46 jsonwebtoken ^9.0.3 46 typescript-sdk ^0.2.1 outdated 47 tiktoken ^1.0.21 48 rehype ^9.0.1 outdated 48 strip-json-comments ^5.0.3 48 swagger-ui-express ^5.0.1 49 AutoForm Core ^3.0.0 outdated 49 cors ^2.8.6 49 prism-react-renderer ^2.4.1 49 strip-ansi ^7.2.0 49 superjson ^2.2.6 49 tailwindcss-typography ^0.5.19 49 tar ^7.5.15 51 lru-cache ^11.2.7 52 reflect-metadata ^0.2.2 52 ts-node 10.9.2 53 @mcp-ui/client ^7.1.0 53 Commander Extra Typings ^14.0.0 outdated 53 RxJS ^7.8.1 53 arcade-js ^2.4.1 53 use-debounce ^10.1.0 54 Headless UI ^2.2.9 55 ts-morph ^27.0.2 outdated 56 unified ^11.0.5 57 fs-extra ^11.3.5 57 image-size 1.2.1 outdated 57 rimraf ^5.0.10 outdated 58 Archiver ^8.0.0 58 Sonner ^2.0.7 58 citty ^0.2.2 58 jest-dom ^6.6.3 outdated 58 shell-quote ^1.8.3 58 vector-js ^1.2.3 59 Ajv ^8.20.0 60 React Testing Library ^16.3.2 60 libSQL Client (TypeScript) ^0.17.4 outdated 61 @hello-pangea/dnd ^18.0.1 61 debug ^4.4.3 61 prettier-plugin-tailwindcss ^0.7.2 outdated 62 React Syntax Highlighter ^15.6.6 outdated 63 @manypkg/get-packages ^3.1.0 63 DOM Testing Library ^10.4.0 63 react-markdown ^9.1.0 outdated 63 tinyglobby ^0.2.15 64 unist-util-visit ^5.1.0 65 Chalk ^5.6.2 outdated 65 esbuild ^0.28.0 65 node-jwks-rsa ^3.2.2 outdated 65 octokit.js ^5.0.5 65 remark ^15.0.1 65 remark ^11.0.0 outdated 66 Vercel Analytics ^2.0.1 66 ora ^8.2.0 outdated 66 qdrant-js ^1.17.0 67 @octokit/auth-app ^8.0.0 67 Daytona Python SDK ^0.143.0 outdated 67 React CodeMirror ^4.25.11 67 React CodeMirror ^4.25.11 67 serve-handler ^6.1.7 68 pino-pretty ^13.1.3 68 semver ^7.7.4 69 MDX ^3.1.1 69 MDX ^3.1.1 69 diff ^8.0.3 outdated 69 path-to-regexp ^8.4.2 outdated 70 slugify ^2.2.1 outdated 71 eslint-plugin-tailwindcss ^4.1.0 72 fastify-plugin 5.0.1 outdated 72 p-retry ^7.1.1 outdated 72 user-event ^14.5.2 73 eventsource-parser ^3.0.6 outdated 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 74 OpenSearch JavaScript Client ^3.6.0 74 globals ^16.5.0 outdated 74 openapi-typescript ^0.17.0 outdated 74 p-map ^7.0.4 74 tinyexec ^1.1.1 74 tsx catalog: 75 @fastify/swagger-ui ^5.2.6 outdated 75 Drizzle ORM ^0.45.0 75 react-day-picker ^8.10.1 outdated 76 libsql ^0.5.29 77 Picomatch ^4.0.3 77 Pino ^10.3.1 77 Radix UI ^1.1.15 77 Radix UI ^2.1.16 outdated 77 Radix UI ^1.1.15 77 Radix UI ^2.1.8 outdated 77 Radix UI ^1.2.10 77 Radix UI ^2.2.6 outdated 77 Radix UI ^1.2.4 77 Radix UI ^1.2.8 77 Radix UI ^1.2.4 77 dotenv ^17.3.1 outdated 77 node-postgres ^8.21.0 77 node-postgres ^2.12.0 outdated 78 Koa ^3.1.2 78 concurrently ^9.1.2 outdated 78 ignore ^7.0.5 78 yaml ^2.7.1 79 @upstash/redis ^1.37.0 79 Dagre ^1.1.8 outdated 79 PapaParse ^5.5.3 80 @clack/prompts ^1.7.0 80 @hookform/resolvers ^5.2.2 outdated 80 Apache Arrow JS ^18.1.0 outdated 80 date-fns ^4.4.0 80 dockerode ^4.0.9 outdated 80 nanoid ^5.1.11 outdated 81 modal-client ^0.7.3 outdated 81 tsup ^8.5.1 outdated 81 unplugin-dts ^4.5.4 outdated 82 @fastify/swagger ^9.7.0 82 @hono/node-server ^2.0.8 83 Commander.js ^12.1.0 outdated 83 class-variance-authority ^0.7.1 83 forge ^1.3.3 84 ACP TypeScript SDK ^0.21.0 outdated 84 MSW (Mock Service Worker) ^2.12.2 outdated 84 Octokit REST ^22.0.1 85 Chat SDK ^4.29.0 85 Chat SDK ^4.29.0 85 Langfuse JS/TS SDK (@langfuse/client) ^5.4.1 outdated 85 OpenRouter AI SDK Provider ^0.7.5 outdated 85 Zustand ^5.0.12 85 react-hotkeys-hook ^5.2.4 85 ws ^8.18.0 86 Croner ^10.0.1 outdated 86 Valibot ^1.2.0 86 cloudflare-typescript ^5.2.0 outdated 86 exa-js ^2.0.12 86 pinecone-ts-client ^3.0.3 outdated 87 @a2a-js/sdk ~0.3.14 outdated 87 Shiki ^1.29.2 outdated 87 execa ^9.6.1 outdated 88 Base UI ^1.5.0 outdated 88 Pi 0.80.6 outdated 88 React Resizable Panels ^4.7.3 88 jose ^6.2.1 88 tailwind-merge ^3.5.0 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 MCP TypeScript SDK ^1.29.0 89 lint-staged ^16.4.0 outdated 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 Inquirer.js ^4.2.23 outdated 90 LanceDB ^0.22.3 outdated 90 Recharts ^3.8.0 90 jsdom ^26.1.0 outdated 90 workos-node 8.8.0 outdated 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 Better Auth ^1.6.13 91 Faker ^10.5.0 91 Fastify 5.8.5 outdated 91 Mastra Core * 91 Mastra Core beta 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core type-check-test 91 Mastra Core latest 91 Mastra Core deployers-e2e-test 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core latest 91 Mastra Core beta 91 Mastra Core beta 91 Mastra Core no-bundling-test 91 Mastra Core 1.0.0-beta.11 outdated 91 Mastra Core beta 91 Mastra Core latest 91 Mastra Core deployers-e2e-test 91 Mastra Core 1.0.0-beta.4 outdated 91 Mastra Core latest 91 Mastra Core beta 91 Mastra Core beta 91 Mastra Core * 91 Mastra Core latest 91 Mastra Core beta 91 Mastra Core commonjs-e2e-test 91 Smithy Core (@smithy/core) ^4.0.0 outdated 91 Smithy Core (@smithy/core) ^4.0.0 outdated 91 Tailwind CSS ^4.2.2 91 Tailwind CSS ^4.2.1 91 Tailwind CSS ^4.2.2 91 Tailwind CSS ^4.2.2 91 TanStack Virtual (React) ^3.13.22 91 eslint-plugin-react ^7.37.5 91 ioredis ^5.6.1 outdated 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 92 @clerk/backend ^1.34.0 outdated 92 @clickhouse/client ^1.20.0 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 Flow ^12.10.1 92 React Hook Form ^7.71.2 92 TanStack Query ^5.90.21 92 TanStack Table ^8.21.3 outdated 92 Zod catalog: 92 lucide-react ^0.522.0 outdated 92 postcss ^8.5.8 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 posthog-js ^1.10.0 93 posthog-js ^1.360.2 93 posthog-js ^5.37.0 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 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 node-mongodb-native ^7.2.0 94 supabase-js ^2.108.0 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 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 96 vscode-jsonrpc ^8.2.1 outdated 96 vscode-jsonrpc ^3.17.5 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