Skip to main content
Claude Code is Anthropic’s agentic coding CLI. Atlas supercharges it with persistent long-term memory so that Claude Code remembers your project structure, coding standards, past decisions, and team conventions across every session.

Prerequisites

  • Claude Code installed (npm install -g @anthropic-ai/claude-code)
  • Atlas API key from atlas.bsyncs.com
  • Python 3.9+

Step 1 — Install the SDK


Step 2 — Create the memory tool script

Create ~/.claude/atlas_tool.py (or in your project root for per-project memory):
Make it executable:

Step 3 — Configure environment variables


Step 4 — Create a CLAUDE.md file

CLAUDE.md is the file Claude Code reads at the start of every session. Create one in your project root:

Project Conventions

Claude Code will add to this section as it learns your project
Then in the session:
Claude Code will call atlas_tool.py store and atlas_tool.py recall automatically.

Advanced: Auto-store on task completion

Add this to your CLAUDE.md to make Claude Code automatically summarise and store what it learned at the end of each session:

Use python ~/.claude/atlas_tool.py stats to see how many entities and memories have been stored for your project. A healthy project knowledge graph typically has 100–500 entities after a few weeks of development.