ai-sdk-letta weekly downloads statistics
By leonardschneider · npm · AI SDKs
A persistent, Letta-backed Vercel AI SDK Agent with memory, dreaming, application-owned tools and human-in-the-loop.
ai-sdk-letta has 122 recorded weekly downloads on npm, a change of -88.7% over the past 7 days, ranking #1719 of 2,322 tracked listings.
About ai-sdk-letta
ai-sdk-letta
A persistent, Letta-backed Vercel AI SDK Agent with memory, dreaming,
application-owned tools and human-in-the-loop. Unofficial; not affiliated with
Letta or Vercel.
npm install ai-sdk-letta ai
Needs Node.js 22.19+, the Letta CLI and a local Letta backend with a connected model (prerequisites).
import { askUserTool, createLettaAgent, defineAgent } from 'ai-sdk-letta';
const definition = defineAgent({ id: 'my-agent', name: 'My Agent', model: 'openai-codex/gpt-5.5',
instructions: 'Be helpful.', tools: { ask_user: askUserTool }, permissions: { ask_user: 'allow' } });
const { agent, close } = await createLettaAgent(definition);
Main exports:
defineAgent(input): validate a definition (fail-closed permissions).openLettaAgent(definition, options)/createLettaAgent(...): open or create the agent on the local Letta backend; returns{ agent, identity, navigation, close }.LettaAgent: the AI SDKAgent(generate,stream,interactions,presentation,transcript,close). User turns may include images (image/fileparts), sent as LettaImageContent.IMAGE_LIMITS,ImageInputError,validateImages,decodeImagePart: image validation (PNG, JPEG, GIF, WebP).fileTools,FILE_TOOL_PERMISSIONS: opt-inlist_files,read_file,search_files, bound to the current conversation's attachment folder. With them, user turns may carryfileparts (PDF, text, Markdown, CSV, JSON, code), stored per conversation and announced by a short "Attached: ..." note.AttachmentStore,UploadStaging,FILE_LIMITS,FileInputError,detectFileType,extractPdfText: the storage, validation and PDF layer (unpdf, pure JavaScript).sandboxTools,SANDBOX_TOOL_PERMISSIONSand the definition'ssandboxoption: opt-inrun_command(no network) andrun_command_online(always asks) in an isolated sandbox per conversation, through the AI SDKExperimental_SandboxSession. Providers are optional peers:@lgrammel/apple-container-sandboxorai-sdk-sandbox-docker, or your own factory.SandboxManager,checkProjectFolder,gitConfigCredentials,detectSandboxProvider,prepareSandbox: the sandbox lifecycle and safety checks.ToolInteractions: the broker for approvals andask_userquestions.createToolBridge,askUserTool,fileTraceWriter: the tool policy layer (it passes the bound sandbox to tools asexperimental_sandbox).resolveStateDirectory,acquireIdentity, history and navigation helpers.
See the repository README for prerequisites, the security model, state and identity, and limitations. License: Apache-2.0.
Description from the npm listing.
- ai
- ai-sdk
- vercel
- letta
- agent
- memory
- stateful-agents
- human-in-the-loop
- tools
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (122)Similar npm AI SDKs plugins
All 20 ai-sdk-letta alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/ai-sdk-letta. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.