Quickstart
Ready to give your AI a memory boost? Here’s how to get started.
Patch OpenAI
Got an existing OpenAI setup? Upgrade it with Memobase memory.
Client-Side
Use our SDKs or APIs to connect your app to a Memobase backend.
Server-Side
Deploy your own Memobase backend. It’s easier than assembling IKEA furniture.
Memobase Client
Step 1: Get Prepped
Install the SDK
Install the SDK
Find Your Project URL and Token
Find Your Project URL and Token
You’ll get these when you set up your backend. Keep ‘em handy.
Step 2: Connect to the Backend
Instantiate the Client
Instantiate the Client
Test the Connection (Ping!)
Test the Connection (Ping!)
Step 3: User Management (The Fun Part)
Time to create, read, update, and delete users. The classic CRUD.
Create a User
Create a User
Update a User
Update a User
Get a User
Get a User
Delete a User (Bye!)
Delete a User (Bye!)
Step 4: Manage User Data
Now that you have a user, let’s give them some memories.
Insert Data (a.k.a. Chats)
Insert Data (a.k.a. Chats)
Get Data
Get Data
Delete Data
Delete Data
Step 5: Memory Operations
This is where the magic happens. Memobase extracts and stores memories for each user.
flush
: User data hangs out in a buffer. If the buffer gets too big or sits idle for too long, it gets processed. You can also trigger this manually.
Flush (e.g., after a chat session ends)
Flush (e.g., after a chat session ends)
profile
: Get the memory profile of a user.
Get User Profile
Get User Profile
- Pack the profiles into your system prompt:
Example Personalized Prompt
Example Personalized Prompt
Memobase Backend
We offer an open-source solution with a Docker backend so you can launch your own instance.
You can use docker-compose
to launch the backend in one command.
Cloud Service Coming Soon! We’re working on a hosted cloud service. For now, you’ll have to get your hands dirty with Docker. It’s good for you.
- Sign up at Memobase (when it’s ready).
- Create a new project and get your project URL and token.