Enable Anthropicโs native memory tool for Claude models
The --claude-memory flag enables Anthropicโs native memory tool for Claude models, allowing the agent to store and retrieve information across conversations.
# Claude memory with planningpraisonai "Research and summarize" --claude-memory --planning --llm anthropic/claude-sonnet-4-20250514# Claude memory with metricspraisonai "Analyze and remember" --claude-memory --metrics --llm anthropic/claude-sonnet-4-20250514
from praisonaiagents import Agentagent = Agent( instructions="You are a research assistant that remembers findings", llm="anthropic/claude-sonnet-4-20250514", memory={"claude_memory": True} # Enable Claude Memory Tool)result = agent.start("Research AI trends and remember key findings")