Cortex: Persistent Intelligence & Memory for LLM Agents