SDK
The SDK is designed for teams that want persistent memory without running databases themselves. If you want fully managed storage and a hosted memory layer, use Analog Cloud.
Analog Cloud is also the right fit when you need to audit memory: review how facts are saved, how conclusions are derived, and which user questions the agent struggles to answer. These insights help you tune your prompts, pipelines, and knowledge ingestion.
To get an API key, register at cloud.analogai.net.
code
AnalogAI SDK
pip install analogai-sdk
import os
os.environ["ANALOGAI_API_KEY"] = "your_api_key"
from analogai_sdk import AnalogAIClient
client = AnalogAIClient(agent_id="9d0e5217-bcd8-4d17-9b00-4d4ab5aa7336")
print(client.generate_completion("humans are mortal"))