# Context Update after specific inputs

**URL:** <https://community.openai.com/t/context-update-after-specific-inputs/1252028>\
**Category:** API\
**Tags:** agents\
**Created:** [May 5, 2025, 9:12am UTC](https://community.openai.com/t/context-update-after-specific-inputs/1252028 "2025-05-05T09:12:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayur\_Gowda\_R](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/mayur_gowda_r/32/511882_2.png) [@Mayur\_Gowda\_R](https://community.openai.com/u/Mayur_Gowda_R)\
**Post date:** [May 5, 2025, 9:12am UTC](https://community.openai.com/t/context-update-after-specific-inputs/1252028/1 "2025-05-05T09:12:41Z")

</div>

I’m using OpenAI Agents with three agents that can hand off to each other. There’s also contextual data (e.g., name, age, address) shared between the agents, similar to the customer\_service example.

I’ve implemented logic where contextual data updates the shared object when received. However, I want the data to update _immediately_ after the user provides each piece—e.g., when the user says their name, it updates the name field right away.

The problem is: sometimes the updates don’t happen until a handoff occurs (e.g., after the user says the address and control moves to another agent). It seems inconsistent—sometimes fields like age don’t update when they should, but everything updates correctly after a handoff.

Is there a way to ensure that contextual data updates immediately and reliably as each piece is given, without waiting for a handoff?
