Skip to main content

SDK constructor options

All configuration is passed to the AtlasMem (or AsyncAtlasMem) constructor. Every option has a sensible default.

Server-side scoring weights

These are configured via environment variables on the server. If you are self-hosting, set them in your .env:
If your use case is knowledge-base QA (facts rarely change), increase SCORE_ALPHA and reduce SCORE_BETA. If it is a conversational agent (recency matters), keep the defaults or raise SCORE_BETA.

Memory lifecycle settings (self-hosted)


Ingestion settings (self-hosted)


LLM & embedding models (self-hosted)

The embedding model is downloaded once and cached in the Docker image at build time. Changing EMBEDDING_MODEL requires rebuilding your base image.

Personas explained

Personas are sub-namespaces within a user. Use them when a single user ID needs to store memories across different agent roles without cross-contamination.
The "shared" persona is readable by all persona retrievals for the same user_id. Use it for global facts that should always be visible regardless of role.