TypeScript SDK for Laminar.
Laminar is an open-source platform for engineering LLM products. Trace, evaluate, annotate, and analyze LLM data. Bring LLM applications to production with confidence.
Check our open-source repo and don't forget to star it ⭐
This repository is organized as a monorepo with multiple packages:
- @lmnr-ai/types - Shared types and interfaces
- @lmnr-ai/client - HTTP client for Laminar API
- @lmnr-ai/lmnr - Main SDK with tracing and instrumentation
- lmnr-cli - CLI for rollout debugging
npm install @lmnr-ai/lmnrnpx lmnr-cli@latest dev agent.tsThis project uses pnpm workspaces for monorepo management.
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test# Build specific package
pnpm --filter @lmnr-ai/types build
pnpm --filter @lmnr-ai/client build
pnpm --filter lmnr-cli build
pnpm --filter @lmnr-ai/lmnr build
# Lint
pnpm lint
pnpm lint:fix