4 Official SDKs

Add Memory to Your AI Agent in 60 Seconds

Official SDKs for Node.js, Python, Go, and React Native. Sub-200ms retrieval, hybrid search, and persistent memory — with just 4 methods.

4
Official SDKs
<200ms
P95 Latency
4
Methods

Built for Your Stack

npm install @basegrid-io/core
Usage
import { BaseGrid } from '@basegrid-io/core';

const bg = new BaseGrid({
  apiKey: process.env.BASEGRID_API_KEY
});

// Add a memory
await bg.add({
  agentId: 'support-bot',
  content: 'User prefers email communication'
});

// Search memories
const results = await bg.search({
  agentId: 'support-bot',
  query: 'contact preference'
});

console.log(results[0].content);

3 Steps to Infinite Memory

1. Install

One command to install the native SDK for your language.

2. Initialize

Initialize the client with your API key in just one line.

3. Remember

Add and search memories with sub-200ms retrieval times.

Everything Your Agent Needs

Hybrid Search

Automatically combines semantic vector search with keyword exact-match filtering for the highest accuracy possible.

Sub-200ms Retrieval

Blazing fast latency powered by our 3-tier search architecture. P95 latency is strictly guaranteed under 200ms.

Multi-modal Memory

Store images alongside text. BaseGrid automatically analyzes images to make visual context searchable semantically.

Auto-categorization

Built-in AI models automatically scan, categorize, and tag incoming memories so you don't have to manually manage metadata.

Multi-agent Support

Easily manage thousands of AI agents or users within a single API key using isolated namespace IDs.

Any Framework

Framework agnostic API designed to plug directly into your custom code, LangChain workflows, or LlamaIndex pipelines.

Seamless Integrations

🦜️🔗

LangChain

Plug BaseGrid directly into LangChain tools and persistent memory components.

View Example
🦙

LlamaIndex

Use BaseGrid as an advanced document and entity retrieval source.

View Example

Start building in under 60 seconds

Free trial. No credit card required.

Get Your API Key