Skip to content

get-convex/mastra-demo

Repository files navigation

Mastra + Convex exploration

WORK IN PROGRESS

Run these once to set it up:

pnpm i -D @libsql/client
echo '{"node":{"externalPackages":["@libsql/client"]}}' > convex.json
printf '"use node";\nexport * as _ from "@libsql/client";' > convex/_hax.ts

To iterate on Convex + Mastra in parallel:

pnpm run dev

FYI: when you edit Mastra files, they won't by default be picked up by the Convex dev server since they're not in the convex/ directory.

npx convex run node.ts:a

About

Work In Progres! Getting mastra to run on convex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published