An accessibility service receives a single product image, writes alt text for it, returns the text and ends. No request ever refers back to an earlier one. Which memory scope fits this agent?
Choose an answer to check it. Afterward, select any option to review its explanation.
External storage is the right scope when state must survive across sessions or users. Here no request reuses earlier state, so it only adds retrieval latency and engineering for data that is never read back.
Keeping everything in context feels safe, but cost then scales with history length. Unrelated past jobs add tokens to every call without helping the current image.
Summarized memory helps a long-running conversational agent that has outgrown its token budget. These jobs are not a conversation, so a summary of unrelated images is pure overhead.
Stateless memory suits task agents that finish and close, and independent pipelines. Each alt-text job is self-contained, so there is no prior context worth paying to keep.
id q33f8adc43c