Developer Resources
SDKs, documentation, and agent skills for setting up Lemma.
| 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. |
TypeScript:
npm install @uselemma/tracingPython:
pip install uselemma-tracingBoth SDKs read Lemma credentials from environment variables by default:
export LEMMA_API_KEY=...
export LEMMA_PROJECT_ID=...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.
| 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. |
Install dependencies:
pnpm install
uv syncRun TypeScript checks:
pnpm --filter @uselemma/tracing test
pnpm --filter @uselemma/tracing type-check
pnpm --filter @uselemma/tracing buildRun Python checks:
uv run --project packages/py/tracing --extra dev pytest packages/py/tracing/tests
uv build --package uselemma-tracingValidate the docs config:
python3 -m json.tool docs/docs.json >/dev/nullPackage publishing is driven by package version changes on main.
- Changes to
packages/ts/tracing/package.jsonpublish@uselemma/tracingwhen the version is not already present on npm. - Changes to
packages/py/tracing/pyproject.tomlpublishuselemma-tracingwhen the version is not already present on PyPI.
MIT