letta-ailetta-aiOfficial·2 Agent Skills Included

learning-sdk

Persistent memory and continual learning for LLM applications

Adds long-term memory and continual learning to any LLM application with one line of code. Captures every conversation, retrieves relevant context, and injects it into prompts automatically across sessions. Works with OpenAI, Anthropic, Gemini, Claude Agent SDK, and Vercel AI SDK in Python and TypeScript without changing existing code.
npx skills add letta-ai/learning-sdk --all -g -y
Available:

Tells the agent which specialized subagent or skill to invoke for email or spreadsheet tasks, and defines formatting, scope, and refusal rules for out-of-domain requests.

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Learning SDK?

Run `npx skills add letta-ai/learning-sdk --all -g -y` in your terminal to install all skills in this suite globally.

How do I add memory to my LLM app?

Wrap your existing OpenAI, Anthropic, or Gemini calls in the learning() context and the SDK automatically captures conversations and injects relevant past context into new prompts.

Does Learning SDK work with Python and TypeScript?

Yes. It ships as the agentic-learning package on PyPI and @letta-ai/agentic-learning on npm, with examples for both languages.

Which LLM providers are supported?

It supports OpenAI Chat Completions and Responses API, Anthropic, Claude Agent SDK, Gemini, and Vercel AI SDK, with experimental support for CrewAI and LangChain.

Do I need to change my existing code?

No. The SDK intercepts your existing LLM client calls, so you only add one learning() wrapper and keep the rest of your code unchanged.

Related Repositories in Software Engineering

View All in Software Engineering