Agent skill · AI & Agents

learning-sdk-integration

Integration patterns and best practices for adding persistent memory to LLM agents using the Letta Learning SDK

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill learning-sdk-letta-ai-skills-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/ai-llm/learning-sdk-letta-ai-skills-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Learning SDK Integration ## Overview This skill provides universal patterns for adding persistent memory to LLM agents using the Learning SDK through a 3-line integration pattern that works with OpenAI, Anthropic, Gemini, and other LLM providers. ## When to Use Use this skill when: - Building LLM agents that need memory across sessions - Implementing conversation history persistence - Adding context-aware capabilities to existing agents - Creating multi-agent systems with shared memory - Working with any LLM provider (OpenAI, Anthropic, Gemini, etc.) ## Core Integration Pattern ### Basic 3-Line Integration ```python from agentic_learning import learning # Wrap LLM SDK calls to enable memory with learning(agent="my-agent"): response = openai.chat.completions.create(...) ``` ### Async Integration ```python from agentic_learning import learning_async # For async LLM SDK usage async with learning_async(agent="my-agent"): response = await claude.messages.create(...) ``` ## Provider-Specific Examples ### OpenAI Integration ```python from openai import OpenAI from agentic_learning import learning_async class MemoryEnhancedOpenAIAgent: def __init__(self, api_key: str, agent_name: str): s

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Core Integration Pattern
  4. Basic 3-Line Integration
  5. Async Integration
  6. Provider-Specific Examples
  7. OpenAI Integration
  8. Claude Integration
  9. Gemini Integration
  10. PydanticAI Integration
  11. Advanced Patterns
  12. Memory-Only Mode (Capture Without Injection)
  13. Custom Memory Blocks
  14. Multi-Agent Memory Sharing
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the learning-sdk-integration skill do?

Integration patterns and best practices for adding persistent memory to LLM agents using the Letta Learning SDK

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill learning-sdk-letta-ai-skills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going