Quickstart
Get up and running with Memoid in 5 minutes. Install the SDK, create your first AI memory, and search it with semantic queries.
This guide will help you add memory to your first AI application.
1. Create an Account
Sign up at memoid.dev/register and create a project.
2. Get Your API Key
Find your API key in the project dashboard. It looks like:
mem_sk_live_xxxxxxxxxxxxxxxxxxxx 3. Add a Memory
curl -X POST https://api.memoid.dev/v1/memories
-H "Authorization: Bearer your-api-key"
-H "Content-Type: application/json"
-d '{
"messages": [
{"role": "user", "content": "I'''m Alex and I love hiking"},
{"role": "assistant", "content": "Nice to meet you, Alex!"}
],
"user_id": "user_123"
}'
# Response: {"memories": ["User's name is Alex", "User loves hiking"]} 4. Search Memories
curl -X POST https://api.memoid.dev/v1/search
-H "Authorization: Bearer your-api-key"
-H "Content-Type: application/json"
-d '{
"query": "What are the user'''s hobbies?",
"user_id": "user_123"
}'
# Response: [{"memory": "User loves hiking", "score": 0.92}] Next Steps
- Core Concepts — Understand how memories work
- Knowledge Graphs — Extract entities and relationships
- API Reference — Full API documentation