Install
pnpm add @polymatx/weave @polymatx/weave-mcp ai @ai-sdk/anthropicOr with npm / yarn:
npm install @polymatx/weave @polymatx/weave-mcp ai @ai-sdk/anthropicyarn add @polymatx/weave @polymatx/weave-mcp ai @ai-sdk/anthropicRequirements
Section titled “Requirements”- Node 22 or newer (we rely on native ES modules and modern async APIs).
- A package manager that understands
workspace:*if you contribute to the monorepo (pnpmrecommended).
Optional pieces
Section titled “Optional pieces”-
@polymatx/weave-uiships the local trace dashboard. Install only if you want it running locally:Terminal window npm install -g @polymatx/weave-uiweave-ui --db ./weave.sqlite --port 4321 -
Any provider SDK:
@ai-sdk/anthropic,@ai-sdk/openai,@ai-sdk/google,ollama-ai-provider, etc. Weave doesn’t care which one you use.