Skip to content

uselemma/lemma

Repository files navigation

LEM 2.3 - Rule 30 cellular automaton revealing row by row    LEM 1.3 - harmograph rosette drawing itself in

Lemma

Developer Resources

SDKs, documentation, and agent skills for setting up Lemma.

Start Here

Resource Use it for
Quickstart Send your first useful trace to Lemma.
Trace contract Learn the trace shape Lemma expects.
TypeScript SDK Instrument Node and TypeScript applications.
Python SDK Instrument Python applications.
Lemma tracing skill Let a coding agent add tracing for you.

Install

TypeScript:

npm install @uselemma/tracing

Python:

pip install uselemma-tracing

Both SDKs read Lemma credentials from environment variables by default:

export LEMMA_API_KEY=...
export LEMMA_PROJECT_ID=...

Integrations

Lemma includes first-party tracing helpers for common agent stacks:

Integration Guide
Vercel AI SDK docs
OpenAI Agents SDK docs
LangChain docs
LangGraph docs

For manual instrumentation, start with the tracing overview.

Repository Layout

Path Contents
docs/ Mintlify documentation source for docs.uselemma.ai.
packages/ts/tracing TypeScript SDK package: @uselemma/tracing.
packages/py/tracing Python SDK package: uselemma-tracing.
skills/lemma-tracing Lemma tracing skill for coding agents.

Development

Install dependencies:

pnpm install
uv sync

Run TypeScript checks:

pnpm --filter @uselemma/tracing test
pnpm --filter @uselemma/tracing type-check
pnpm --filter @uselemma/tracing build

Run Python checks:

uv run --project packages/py/tracing --extra dev pytest packages/py/tracing/tests
uv build --package uselemma-tracing

Validate the docs config:

python3 -m json.tool docs/docs.json >/dev/null

Releases

Package publishing is driven by package version changes on main.

  • Changes to packages/ts/tracing/package.json publish @uselemma/tracing when the version is not already present on npm.
  • Changes to packages/py/tracing/pyproject.toml publish uselemma-tracing when the version is not already present on PyPI.

License

MIT

About

Public SDKs, docs, and agent skills for Lemma AI observability

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors