Repository navigation
[bot] Instrument Letta Agent SDK (87,205 weekly downloads) #2577
Description
Summary
Letta Agent SDK (@letta-ai/letta-agent-sdk) is the official, actively-maintained TypeScript/JavaScript SDK for Letta's stateful agents — agents with persistent identity, long-term memory, and tool/model state that survives across conversations, models, and machines. Its core agent-execution surface (client.createAgent(), client.resumeSession(), session.send()/streaming) is not instrumented anywhere in this repository.
Note: Letta also publishes an older, now-deprecated REST client, @letta-ai/letta-client (repo letta-ai/letta-node), whose README explicitly states "This package is deprecated... unmaintained and receives no new features," directing users to the Agent SDK instead. This gap report is about the current, supported @letta-ai/letta-agent-sdk, not the deprecated client.
What's missing
new LettaAgentClient(...)/client.createAgent(...)— creates a stateful agent.client.resumeSession(agentId)/session.send(...)and its streaming variant — the agent-run execution surface, analogous to other already-instrumented agent frameworks (e.g.claude-agent-sdk,openai-agents,strands-agent-sdk).
None of @letta-ai/letta-agent-sdk, letta-agent-sdk, LettaAgentClient, or letta (case-insensitive) appear anywhere in js/src/, js/src/auto-instrumentations/configs/all.ts (the instrumentation registry), js/src/span-origin.ts (INSTRUMENTATION_NAMES), or any e2e/scenarios/* directory.
Weekly downloads
Weekly downloads: 87,205 (as of 2026-10-14; window 2026-10-06 to 2026-10-12; source https://api.npmjs.org/downloads/point/last-week/@letta-ai/letta-agent-sdk)
Braintrust docs status
not_found — Letta does not appear in Braintrust's integrations catalog. Checked https://www.braintrust.dev/docs/guides/traces/integrations (enumerated tracing/agent-framework/testing integration cards — Letta is absent) and https://www.braintrust.dev/docs (no mention of "Letta" or stateful-agent SDKs).
Upstream sources
- https://www.npmjs.com/package/@letta-ai/letta-agent-sdk
- https://github.com/letta-ai/letta-agent-sdk
- https://docs.letta.com/agent-sdk and https://docs.letta.com/agent-sdk/quickstart
- https://www.letta.com/agent-sdk/ (product page)
Local repo files inspected
js/src/auto-instrumentations/configs/all.ts(full instrumentation registry — no Letta entry)js/src/span-origin.ts(INSTRUMENTATION_NAMES— no Letta entry)- Repo-wide case-insensitive search for
lettaacross the working tree (zero matches) e2e/scenarios/directory listing (noletta-named scenario)
Activity
[-][bot] Instrument Letta Agent SDK (143,425 weekly downloads)[/-][+][bot] Instrument Letta Agent SDK (87,205 weekly downloads)[/+]