Added store adapter for Agent with memory and localStorage adapters