chatkit-agent-memory
CommunityPreserve chat history for smarter agents.
AuthorSHAJAR5110
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill loads complete conversation history for ChatKit agents, enabling memory across interactions and preventing the agent from only seeing the current message.
Core Features & Use Cases
- Memory-enabled history loading: Loads full thread history to feed the agent with context.
- Unique ID mapping: Maps provider-generated IDs to store-generated IDs to prevent collisions in streaming responses.
- Full lifecycle handling: Properly handles added, done, and updated thread events to maintain consistent history.
- Use Case: A user introduces themselves early; the agent remembers and references their name in subsequent turns.
Quick Start
- Instantiate a MemoryStore and a LitellmModel with your chosen provider.
- Create and run ChatKitServerWithMemory(data_store=store, model=model, instructions="You are a helpful assistant. Remember what the user tells you.").
- Send a multi-turn conversation to verify memory retention and that IDs remain unique across messages.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: chatkit-agent-memory Download link: https://github.com/SHAJAR5110/hackathon-II-phase-4/archive/main.zip#chatkit-agent-memory Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.