Core Concepts

Users

Every memory is scoped to a userId. Databaset does not manage user accounts. You bring your own IDs.

Any string works

memory.store({ userId: 'usr_abc123', text: '...' })
memory.store({ userId: 'rahul@gmail.com', text: '...' })
memory.store({ userId: '42', text: '...' })

Use the same ID format consistently within your app.

Multi-tenant apps

In SaaS products, use your internal user ID or a stable external identifier. Avoid session IDs that rotate.

Privacy

Memories are isolated per userId. One user cannot access another user's memories.