Abstract
Embodied agents perceive the world as a stream and must answer spatial questions while acting. The evidence may lie in the past, in views evicted from the bounded context; in the present view; or in the future, in views reachable only by moving to resolve occlusion, truncation, or scale. Because an agent cannot know in advance which case applies, it must address all three. Existing methods cover only part of it: streaming models lose evicted history and cannot alter viewpoints, whereas active embodied agents typically rely on depth-based maps outside a stream. We introduce MemAct, a streaming vision-language model that unifies memory and action. Operating on RGB alone, it writes memory records during observation, retrieves them with past frames on demand, and takes local camera actions to complete partly visible targets, deciding whether to retrieve, move, or answer. Because camera actions often pay off only in later views and trajectory-level RL such as GRPO assigns credit only through final returns, we train the policy with bandit-based counterfactual optimization, which evaluates every candidate command and an immediate answer using multi-step returns from copies of the same simulator state. We also construct MemAct-Data, with one million training QA turns, and MemAct-Bench, with 18,162 QA turns annotated with evidence locations. On MemAct-Bench, MemAct-9B achieves 70.1\% accuracy and 58.7 mean relative accuracy, surpassing the closed-source GPT-6 Astra and a same-backbone model fine-tuned on the same QA data. Ablations show that retrieval adds 7.9 points on questions requiring evicted frames, while learned camera actions add 10.3 points on questions that need view completion, where bandit-based optimization also outperforms GRPO.