Prerequisites
- Cursor installed and configured
- Atlas API key from atlas.bsyncs.com
- Python 3.9+
Step 1 — Install the SDK
Open Cursor’s integrated terminal and run:Step 2 — Create the memory helper script
Create a file calledatlas_memory.py in your project root. Cursor’s AI features can call this directly.
Step 3 — Set environment variables
Add these to your shell profile (~/.zshrc or ~/.bashrc) or a .env file in your project:
Step 4 — Create a Cursor Rule
Go to Cursor Settings → Rules for AI and add the following rule. This teaches Cursor to consult Atlas before and after each significant response.Step 5 — Test it
In Cursor’s terminal:Tips for Cursor + Atlas
Store decisions immediately
Store decisions immediately
The best habit is to store a fact right after Cursor makes a recommendation you accept. Say: “Store this decision in Atlas” and Cursor will run
atlas_memory.py add for you.Use project-specific personas
Use project-specific personas
Set
ATLAS_PERSONA=<project-name> so memories from different projects stay separated, even under the same user namespace.Search before asking
Search before asking
Before asking Cursor a question about an existing system, prompt it with: “Search Atlas for context on X, then answer.” This ensures it uses your stored knowledge before hallucinating.