[bot] Instrument Letta Agent SDK (143,425 weekly downloads)
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start with js/src/auto-instrumentations/configs/all.ts and js/src/span-origin.ts, then compare existing agent integrations such as claude-agent-sdk, openai-agents, and strands-agent-sdk. Inspect the e2e/scenarios/ directory and the Letta Agent SDK documentation to map the client, session, send, and streaming entry points. Done means Letta appears in the registry and instrumentation names with coverage for its agent execution surface and an end-to-end scenario.
由索引模型根据 Issue 内容生成。
描述
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: 143,425 (as of 2026-10-03; window 2026-09-27–2026-10-03; 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)
- 主要语言
- TypeScript
- 星标
- 28
- 派生
- 15
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 73
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
braintrustdata/braintrust-sdk-javascript 的其他 Issue
-
typescript
难度 4/5 3-5 天 新手友好度 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
braintrustdata/braintrust-sdk-javascript#2527 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 65/100
braintrustdata/braintrust-sdk-javascript#2526 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 56/100
braintrustdata/braintrust-sdk-javascript#2482 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 68/100
braintrustdata/braintrust-sdk-javascript#2481 ·
维护者通常 2 天内回复
查看 braintrustdata/braintrust-sdk-javascript 的全部 Issue
相似的 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
agent-ready area: config area: skills type: chore upstream: brain-kit
难度 1/5 1 小时以内 新手友好度 95/100
-
enhancement priority:low ready-for-dev
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
bug escritorio mapa
难度 2/5 1-3 小时 新手友好度 72/100
marcosferr/reporte-ciudadano#4 · 1 条评论 ·
-
area: material/sort gemini-triaged needs triage
难度 2/5 1-3 小时 新手友好度 70/100
angular/components#33933 ·
维护者通常 1 天内回复