Can a Pickaxe write to User Memory during a conversation (not via API)?

We’re building a multi-stage interview tool where:

  1. User completes a 6-question interview

  2. We need to generate a structured profile (JSON) from their answers

  3. That profile needs to be stored and used to generate preview content

  4. User should NOT see the raw profile — only the final outputs

Our question: Can we write to User Memory programmatically during a conversation (not via external API call, but triggered by the Pickaxe itself mid-flow)?

Ideal flow:

  • Interview completes → Pickaxe builds structured profile internally → writes to User Memory → generates preview content using that profile → user only sees preview

We saw in this thread that the Studio API supports creating user memories externally. But we’re trying to avoid a webhook round-trip if possible.

Alternatives we’re considering:

  • Webhook → external storage → retrieve on next turn

  • Prompt engineering to build profile “silently” in working memory

  • Hidden/collapsed output block (if supported)

Any guidance on whether User Memory supports in-conversation writes, or the best pattern for this use case?

Hi @myabigail ,
Thank you for reaching out!

User memories are designed not just for post-conversation use or through the external API. They can also be updated dynamically during an active conversation by the Pickaxe itself.

As your Pickaxe gathers information from the user, it can write data directly into a user memory in real time. The system allows you to store and update dynamic content of up to about a thousand words. The AI can read from and edit these user memories as the conversation progresses.

With careful prompting in both your Pickaxe’s role prompt and the user memories prompt, this approach is fully supported. To ensure your end users are unable to view the collected user memories, set them to “Collect” or “Collect and Use.” This will make sure the data is stored and utilized without being shown to the end user.

If you need to export structured data, there is an option to download all user memories as a JSON file. Simply navigate to the User Memories page of your Studio and click the download button here:

If you would like to learn more, here are some useful resources about user memories: