Skip to contentমূল লেখায় যান

Topic 07 · Agent memoryটপিক 07 · Agent memory

Prospective Memory

The other six types of memory look back: at the context, at facts, at past events, at skills. Prospective memory looks forward. It is the memory of a task that the agent must do later, at the right time or after the right event, while it does other work.

8 min read8 মিনিটে পড়া যায় · 7 sections7টি সেকশন · 5 sources5টি সোর্স · updated Nov 2026আপডেট: Nov 2026

A reminder that must fireযে রিমাইন্ডার চলতেই হবে

Schedule a 4 pm reminder and see when it fires, is late, or is lost.৪টার রিমাইন্ডার সেট করুন আর দেখুন সেটা কখন চলে, কখন দেরি হয়, কখন হারায়।

2 min2 মিনিট7 steps7টি ধাপ
  • Delayদেরি—
  • Firesচলেছে0 / 1
  • Dueনির্ধারিত—
prompt · 16:00প্রম্পট · 16:00terminal openটার্মিনাল খোলাnow 14:00এখন 14:00SchedulerশিডিউলারemptyখালিClaudeClaudeIdleফাঁকা

You’ll learnআপনি শিখবেন

  • The scheduler keeps the task, not the modelশিডিউলার টাস্ক রাখে, মডেল নয়
  • A busy agent fires late, but only onceব্যস্ত agent দেরিতে চালায়, কিন্তু একবারই
  • A closed session loses the reminder silentlyবন্ধ সেশনে রিমাইন্ডার চুপচাপ হারায়
  • Event cues have no due timeইভেন্ট কিউর কোনো নির্ধারিত সময় নেই

In plain words

Prospective memory is memory for a future action. In people, it means to remember to do something later, for example to take a medicine Source 1সোর্স 1. Its opposite is retrospective memory: the memory of past events Source 1সোর্স 1.

For an agent, prospective memory is the ability to do a planned action at a specific future cue or state. The agent must do this while other work continues Source 2সোর্স 2.

An intention has two parts: what to do, and when to do it. A failure in either part is a failure of prospective memory. The task "remind me at 3 pm to check the deploy" has a "what" (check the deploy) and a "when" (3 pm).

The name "prospective memory" follows the infographic "7 Types of Agent Memory". Research papers group agent memory differently. For example, CoALA has working memory and three long-term memories: episodic, semantic, and procedural Source 5সোর্স 5. CoALA has no prospective memory Source 5সোর্স 5. This topic comes from psychology Source 1সোর্স 1, and one benchmark applies it to LLM agents Source 2সোর্স 2.

সহজ English

Prospective memory means you remember to do something later. A person uses it to remember to take a medicine later Source 1সোর্স 1. The opposite is to remember what happened before Source 1সোর্স 1.

An agent uses it to do a planned job at the right moment. It must do this while it works on other things Source 2সোর্স 2.

Each planned job has two parts: what to do, and when. If the agent forgets either part, the job fails. In "remind me at 3 pm to check the deploy", the "what" is the deploy check and the "when" is 3 pm.

The name comes from the infographic "7 Types of Agent Memory". Research papers sort memory in other ways. CoALA, for example, has working memory plus episodic, semantic, and procedural memory, and no prospective memory Source 5সোর্স 5. The idea comes from psychology Source 1সোর্স 1. One benchmark uses it for LLM agents Source 2সোর্স 2.

বাংলা ব্যাখ্যা

Prospective memory হলো ভবিষ্যতের কোনো কাজের memory। মানুষের ক্ষেত্রে এর মানে পরে কোনো কাজ করার কথা মনে রাখা, যেমন পরে ওষুধ খাওয়া Source 1সোর্স 1। এর বিপরীত হলো retrospective memory, অর্থাৎ অতীতের ঘটনা মনে রাখা Source 1সোর্স 1।

Agent-এর ক্ষেত্রে prospective memory হলো ভবিষ্যতের নির্দিষ্ট কোনো cue বা অবস্থায় পরিকল্পিত কাজটি করার ক্ষমতা। অন্য কাজ চলতে থাকার সময়েই agent-কে এটা করতে হয় Source 2সোর্স 2।

প্রতিটি intention-এর দুটি অংশ আছে: কী করতে হবে, আর কখন করতে হবে। যেকোনো একটি অংশে ভুল হলে সেটা prospective memory-র ব্যর্থতা। "বিকেল ৩টায় deploy চেক করার কথা মনে করিয়ে দাও" কাজে "কী" হলো deploy চেক, আর "কখন" হলো ৩টা।

"Prospective memory" নামটি infographic "7 Types of Agent Memory" থেকে নেওয়া। Research paper-গুলো memory-কে অন্যভাবে ভাগ করে। যেমন CoALA-তে আছে working memory এবং তিনটি long-term memory: episodic, semantic, procedural Source 5সোর্স 5। CoALA-তে prospective memory নেই Source 5সোর্স 5। ধারণাটি psychology থেকে এসেছে Source 1সোর্স 1, আর একটি benchmark এটিকে LLM agent-এ প্রয়োগ করে Source 2সোর্স 2।

Where it comes from

In psychology. The APA Dictionary of Psychology defines prospective memory as remembering to do something in the future Source 1সোর্স 1. It contrasts this with retrospective memory, which is remembering past events Source 1সোর্স 1.

In AI agents. In the tutorial's own research, CoALA, the RAG paper, and the LangChain memory overview do not use this term. PM-Bench, a 2026 benchmark, applies it to LLM agents Source 2সোর্স 2. PM-Bench is on arXiv (2607.12385) and was published at COLM 2026.

PM-Bench uses the classic split into two kinds Source 2সোর্স 2:

KindThe cueExample
Time-basedA clock time"At 9 am, run the smoke tests."
Event-basedAn event or a state"When the build fails, tell me."

The examples in the table are the tutorial's own.

PM-Bench also separates two questions: what the agent remembers, and when it acts Source 2সোর্স 2. An agent can remember the task and still act at the wrong moment.

Plans are a related idea. In the Generative Agents paper, a plan is a future sequence of actions. Plans help keep the agent's behavior consistent over time Source 4সোর্স 4. Each plan has a location, a start time, and a duration Source 4সোর্স 4. That paper does not call plans "prospective memory". Tutorial's own view: a plan is one way to store future intentions.

সহজ English

In psychology. The APA dictionary says prospective memory is to remember to do something later Source 1সোর্স 1. Memory of past events is the other side Source 1সোর্স 1.

In AI agents. The tutorial checked CoALA, the RAG paper, and the LangChain memory page. They do not use this name. PM-Bench, a test set from 2026, uses it for LLM agents Source 2সোর্স 2. PM-Bench was published at the COLM 2026 conference.

PM-Bench uses two kinds Source 2সোর্স 2:

KindWhat starts the jobExample
Time-basedA time on the clock"At 9 am, run the smoke tests."
Event-basedSomething that happens"When the build fails, tell me."

The tutorial made up these two examples.

PM-Bench looks at two things apart: what the agent remembers, and when it acts Source 2সোর্স 2. An agent can remember the job and still do it at the wrong time.

Plans are close to this idea. In the Generative Agents paper, a plan is a list of future actions. Plans help the agent act in the same way over time Source 4সোর্স 4. A plan has a place, a start time, and a length of time Source 4সোর্স 4. That paper does not use the name "prospective memory". Tutorial's own view: a plan is one way to keep future jobs.

বাংলা ব্যাখ্যা

Psychology-তে। APA Dictionary of Psychology অনুযায়ী prospective memory হলো ভবিষ্যতে কোনো কাজ করার কথা মনে রাখা Source 1সোর্স 1। এর বিপরীতে আছে retrospective memory, অর্থাৎ অতীতের ঘটনা মনে রাখা Source 1সোর্স 1।

AI agent-এ। Tutorial-এর নিজের research অনুযায়ী CoALA, RAG paper, আর LangChain memory overview এই term ব্যবহার করে না। PM-Bench নামে ২০২৬ সালের একটি benchmark এটিকে LLM agent-এ প্রয়োগ করে Source 2সোর্স 2। PM-Bench arXiv-এ আছে এবং COLM 2026 conference-এ প্রকাশিত।

PM-Bench দুই ধরনের prospective memory আলাদা করে Source 2সোর্স 2:

ধরনকী দিয়ে শুরু হয়উদাহরণ
Time-basedঘড়ির সময়"সকাল ৯টায় smoke test চালাও।"
Event-basedকোনো ঘটনা বা অবস্থা"build fail করলে আমাকে জানাও।"

টেবিলের উদাহরণগুলো tutorial-এর নিজের।

PM-Bench দুটি প্রশ্ন আলাদা করে দেখে: agent কী মনে রাখে, আর কখন কাজ করে Source 2সোর্স 2। Agent কাজটা মনে রাখলেও ভুল সময়ে করতে পারে।

Plan একটি কাছাকাছি ধারণা। Generative Agents paper-এ plan হলো ভবিষ্যতের কাজের একটি ধারা। Plan সময়ের সাথে agent-এর আচরণ সামঞ্জস্যপূর্ণ রাখে Source 4সোর্স 4। প্রতিটি plan-এ থাকে location, শুরুর সময়, আর duration Source 4সোর্স 4। ওই paper plan-কে "prospective memory" বলে না। Tutorial-এর নিজের মত: plan হলো ভবিষ্যতের intention রাখার একটি উপায়।

How an agent gets it

A language model does not watch the clock. It acts only when it gets a prompt. So prospective memory needs a part outside the model that stores the intention and wakes the agent.

Claude Code has scheduled tasks. For a one-time reminder, you describe it in plain words. Claude then schedules a task that fires one time and deletes itself after it runs Source 3সোর্স 3. Claude Code stores the task and sends the prompt when it is due Source 3সোর্স 3. The model does not remember the time.

You:          "In 30 minutes, check if the nightly test run finished."
                  |
                  v
Claude Code:  stores a one-shot task (prompt + due time)
                  |
   ... the session continues with other work ...
                  |
                  v
Due time:     Claude Code sends the stored prompt to Claude
                  |
                  v
Claude:       checks the test run, then the task deletes itself

The diagram is the tutorial's own summary of the flow.

These rules apply to tasks in a session Source 3সোর্স 3:

  • A task fires only while Claude Code runs and is idle. If you close the terminal or the session exits, the tasks stop firing. On --resume or --continue, Claude Code restores them, but a one-shot task whose time has passed is not restored and is not fired Source 3সোর্স 3.
  • If a due time passes while Claude is busy, the task fires one time when Claude becomes idle. It does not fire one time for each missed interval Source 3সোর্স 3.
  • A recurring task expires 30 days after you create it (7 days on Claude Code versions before v2.1.330) Source 3সোর্স 3.
  • Times use your local timezone Source 3সোর্স 3.
  • A task can run at a time that is a little different from its schedule Source 3সোর্স 3.

Session tasks are not durable across a closed session, except through resume. For durable schedules, the same page points to cloud, Desktop, or GitHub Actions scheduled tasks Source 3সোর্স 3.

Other agent setups store intentions in other ways. Generative Agents keep plans with a start time Source 4সোর্স 4. PM-Bench compares setups, for example a "todo-ledger" and a "heartbeat" that sends periodic monitoring nudges to the agent Source 2সোর্স 2. These are the paper's own names.

সহজ English

A language model does not look at a clock. It only acts when it gets a prompt. So something outside the model must keep the job and wake the agent up.

Claude Code has scheduled tasks. For a one-time reminder, you just say what you want in normal words. Claude makes a task that runs one time and then deletes itself Source 3সোর্স 3. Claude Code keeps the task and sends the prompt when it is time Source 3সোর্স 3. The model itself does not remember the time.

You:          "In 30 minutes, check if the nightly test run finished."
                  |
                  v
Claude Code:  keeps a one-time task (prompt + time)
                  |
   ... you keep working on other things ...
                  |
                  v
Time is up:   Claude Code sends the saved prompt to Claude
                  |
                  v
Claude:       checks the test run, then the task deletes itself

The tutorial drew this diagram to show the steps.

Some rules for tasks in a session Source 3সোর্স 3:

  • A task runs only while Claude Code is open and not busy. If you close the terminal or the session ends, the tasks stop. On --resume or --continue, Claude Code brings them back, but a one-time task whose time has passed does not come back and does not run Source 3সোর্স 3.
  • If the time passes while Claude is busy, the task runs one time when Claude is free. It does not run again for each missed time Source 3সোর্স 3.
  • A repeating task ends 30 days after you make it (7 days before Claude Code v2.1.330) Source 3সোর্স 3.
  • Times are in your own local timezone Source 3সোর্স 3.
  • A task can run a little earlier or later than its set time Source 3সোর্স 3.

Session tasks do not last once the session is closed, except through resume. For tasks that must last, the same page points to cloud, Desktop, or GitHub Actions scheduled tasks Source 3সোর্স 3.

Other agents keep future jobs in other ways. Generative Agents keep plans with a start time Source 4সোর্স 4. PM-Bench compares setups such as a "todo-ledger" and a "heartbeat" that sends the agent regular monitoring nudges Source 2সোর্স 2. These names come from the paper.

বাংলা ব্যাখ্যা

একটি language model ঘড়ি দেখে না। Prompt পেলেই কেবল এটি কাজ করে। তাই model-এর বাইরের কোনো অংশকে intention রেখে দিতে হয় এবং agent-কে জাগাতে হয়।

Claude Code-এ scheduled task আছে। একবারের reminder-এর জন্য আপনি সাধারণ ভাষায় বলে দেন। Claude তখন একটি task schedule করে, যা একবার চলে এবং চলার পর নিজেকে মুছে ফেলে Source 3সোর্স 3। Claude Code task-টি রেখে দেয় এবং সময় হলে prompt পাঠায় Source 3সোর্স 3। Model নিজে সময় মনে রাখে না।

You:          "In 30 minutes, check if the nightly test run finished."
                  |
                  v
Claude Code:  stores a one-shot task (prompt + due time)
                  |
   ... the session continues with other work ...
                  |
                  v
Due time:     Claude Code sends the stored prompt to Claude
                  |
                  v
Claude:       checks the test run, then the task deletes itself

Diagram-টি tutorial-এর নিজের সারাংশ।

Session-এর task-এর জন্য এই নিয়মগুলো প্রযোজ্য Source 3সোর্স 3:

  • Claude Code চালু এবং idle থাকলেই কেবল task চলে। Terminal বন্ধ করলে বা session শেষ হলে task আর চলে না। --resume বা --continue দিলে Claude Code task ফিরিয়ে আনে, কিন্তু যে one-shot task-এর সময় পার হয়ে গেছে সেটি ফেরে না এবং চলে না Source 3সোর্স 3।
  • Claude ব্যস্ত থাকার সময় নির্ধারিত সময় পার হলে, Claude idle হলে task একবার চলে। প্রতিটি মিস হওয়া interval-এর জন্য আলাদা করে চলে না Source 3সোর্স 3।
  • Recurring task তৈরির ৩০ দিন পরে নিজে থেকেই শেষ হয়ে যায় (Claude Code v2.1.330-এর আগে ৭ দিন) Source 3সোর্স 3।
  • সময় আপনার local timezone অনুযায়ী ধরা হয় Source 3সোর্স 3।
  • একটি task তার schedule থেকে একটু আলাদা সময়ে চলতে পারে Source 3সোর্স 3।

Session task স্থায়ী নয় (resume ছাড়া session বন্ধ হলে হারায়)। স্থায়ী schedule-এর জন্য একই page cloud, Desktop, বা GitHub Actions scheduled task দেখায় Source 3সোর্স 3।

অন্য agent setup অন্যভাবে intention রাখে। Generative Agents শুরুর সময়সহ plan রাখে Source 4সোর্স 4। PM-Bench কয়েকটি setup তুলনা করে, যেমন "todo-ledger" এবং একটি "heartbeat" যা নির্দিষ্ট interval-এ agent-কে monitoring nudge পাঠায় Source 2সোর্স 2। এই নামগুলো paper-এর নিজের।

A real-life example

This example is the tutorial's own illustration. The details are invented.

A tester works with Claude Code on a flaky checkout test. At 2 pm, the tester writes: "At 4 pm, remind me to rerun the checkout suite against staging." Claude schedules a one-shot task Source 3সোর্স 3.

At 3:55 pm, the tester starts a long refactor in the same session. Claude is still busy at 4 pm. The task fires one time when Claude becomes idle, not at 4 pm exactly Source 3সোর্স 3. The reminder arrives a few minutes late, but it arrives.

On another day, the tester closes the terminal at 3:30 pm. The task does not fire, because session tasks fire only while Claude Code runs Source 3সোর্স 3. Nothing warns the tester at 4 pm. Tutorial's own view: for a reminder that must not be lost, use a durable schedule, not a session task. If the tester resumes the session after 4 pm with --resume, the one-shot task is not restored and is not fired Source 3সোর্স 3.

The same tester also writes: "When the build turns red, tell me which test broke." This intention is event-based, not time-based Source 2সোর্স 2. The agent must notice the event while it does other work Source 2সোর্স 2. The intention is clear, but the cue can come at any moment.

সহজ English

The tutorial made up this example.

A tester uses Claude Code to fix a flaky checkout test. At 2 pm, the tester writes: "At 4 pm, remind me to rerun the checkout suite against staging." Claude sets up a one-time task Source 3সোর্স 3.

At 3:55 pm, the tester starts a long refactor in the same session. Claude is still busy at 4 pm. The task runs one time when Claude is free, not at exactly 4 pm Source 3সোর্স 3. The reminder is a few minutes late, but it comes.

On another day, the tester closes the terminal at 3:30 pm. The task does not run, because session tasks only run while Claude Code is open Source 3সোর্স 3. Nothing tells the tester at 4 pm. Tutorial's own view: if a reminder must not get lost, use a schedule that lasts, not a session task. If the tester resumes the session after 4 pm with --resume, the one-time task does not come back and does not run Source 3সোর্স 3.

The same tester also writes: "When the build turns red, tell me which test broke." This job starts with an event, not a time Source 2সোর্স 2. The agent must see the event while it works on other things Source 2সোর্স 2. The job is clear, but the event can come at any moment.

বাংলা ব্যাখ্যা

এই উদাহরণটি tutorial-এর নিজের। খুঁটিনাটি বানানো।

একজন টেস্টার Claude Code দিয়ে একটি flaky checkout test ঠিক করছেন। দুপুর ২টায় তিনি লেখেন: "বিকেল ৪টায় staging-এ checkout suite আবার চালানোর কথা মনে করিয়ে দাও।" Claude একটি one-shot task schedule করে Source 3সোর্স 3।

৩টা ৫৫-তে টেস্টার একই session-এ একটি বড় refactor শুরু করেন। ৪টাতেও Claude ব্যস্ত। Task-টি ঠিক ৪টায় নয়, Claude idle হলে একবার চলে Source 3সোর্স 3। Reminder কয়েক মিনিট দেরিতে আসে, কিন্তু আসে।

আরেকদিন টেস্টার সাড়ে ৩টায় terminal বন্ধ করে দেন। Task চলে না, কারণ Claude Code চালু থাকলেই কেবল session task চলে Source 3সোর্স 3। ৪টায় টেস্টারকে কিছুই জানানো হয় না। Tutorial-এর নিজের মত: যে reminder হারানো চলবে না, তার জন্য session task নয়, স্থায়ী schedule ব্যবহার করুন। ৪টার পরে --resume দিয়ে session ফিরিয়ে আনলেও one-shot task ফেরে না এবং চলে না Source 3সোর্স 3।

একই টেস্টার আরও লেখেন: "build লাল হলে আমাকে জানাও কোন test ভেঙেছে।" এই intention time-based নয়, event-based Source 2সোর্স 2। অন্য কাজের মাঝেই agent-কে ঘটনাটি খেয়াল করতে হবে Source 2সোর্স 2। Intention পরিষ্কার, কিন্তু cue যেকোনো মুহূর্তে আসতে পারে।

Common mistakes

To assume the model keeps time. In Claude Code, the scheduler stores the task and sends the prompt Source 3সোর্স 3. If the scheduler stops, the reminder does not come. Session tasks stop when the session exits Source 3সোর্স 3.

To expect exact timing. A scheduled task can run at a time that differs from its schedule Source 3সোর্স 3. A busy agent also delays the task until it is idle Source 3সোর্স 3. A test that expects the exact second will fail.

To expect one run for each missed interval. After a busy period, a missed task fires one time, not once per missed interval Source 3সোর্স 3.

To forget the expiry. A recurring session task expires 30 days after its creation (7 days before v2.1.330) Source 3সোর্স 3. A "daily" check does not run for ever.

To ignore the timezone. Claude Code reads times in your local timezone Source 3সোর্স 3. A team in several timezones can read "9 am" in different ways.

To test only the "what". An agent can remember the task and still act at the wrong time. PM-Bench separates these two parts for this reason Source 2সোর্স 2.

To trust that agents are good at this. In PM-Bench, the best method reached only a 65.1% F1 score Source 2সোর্স 2. No single strategy was best for all models Source 2সোর্স 2. These numbers are for one 2026 benchmark and its own setup. They are not a general error rate.

সহজ English

Thinking the model keeps time. In Claude Code, the scheduler keeps the task and sends the prompt Source 3সোর্স 3. If the scheduler stops, the reminder does not come. Session tasks stop when the session ends Source 3সোর্স 3.

Expecting the exact time. A task can run at a time a little different from its schedule Source 3সোর্স 3. A busy agent also waits until it is free Source 3সোর্স 3. A test that wants the exact second will fail.

Expecting one run for each missed time. After a busy period, a missed task runs one time only Source 3সোর্স 3.

Forgetting that tasks end. A repeating session task ends 30 days after you make it (7 days before v2.1.330) Source 3সোর্স 3. A "daily" check does not go on for ever.

Ignoring the timezone. Claude Code reads times in your local timezone Source 3সোর্স 3. People in other timezones can understand "9 am" in other ways.

Testing only the "what". An agent can remember the job and still do it at the wrong time. PM-Bench looks at these two parts apart for this reason Source 2সোর্স 2.

Thinking agents are good at this. In PM-Bench, the best method got only a 65.1% F1 score Source 2সোর্স 2. No one method was best for all models Source 2সোর্স 2. These numbers come from one 2026 benchmark and its own setup. They are not a general error rate.

বাংলা ব্যাখ্যা

Model সময় রাখে, এমন ধরে নেওয়া। Claude Code-এ scheduler task রাখে এবং prompt পাঠায় Source 3সোর্স 3। Scheduler থেমে গেলে reminder আসে না। Session শেষ হলে session task-ও থেমে যায় Source 3সোর্স 3।

একদম সঠিক সময় আশা করা। একটি scheduled task তার schedule থেকে আলাদা সময়ে চলতে পারে Source 3সোর্স 3। ব্যস্ত agent idle না হওয়া পর্যন্ত task পিছিয়ে দেয় Source 3সোর্স 3। যে test ঠিক সেকেন্ড আশা করে, সেটা fail করবে।

প্রতিটি মিস হওয়া interval-এর জন্য একবার করে চলা আশা করা। ব্যস্ত সময়ের পরে মিস হওয়া task মাত্র একবার চলে Source 3সোর্স 3।

মেয়াদ শেষ হওয়ার কথা ভুলে যাওয়া। Recurring session task তৈরির ৩০ দিন পরে শেষ হয়ে যায় (v2.1.330-এর আগে ৭ দিন) Source 3সোর্স 3। একটি "daily" check চিরকাল চলে না।

Timezone উপেক্ষা করা। Claude Code সময় আপনার local timezone অনুযায়ী পড়ে Source 3সোর্স 3। বিভিন্ন timezone-এর একটি টিম "সকাল ৯টা" ভিন্নভাবে বুঝতে পারে।

শুধু "কী" test করা। Agent কাজটা মনে রাখলেও ভুল সময়ে করতে পারে। এই কারণেই PM-Bench এই দুটি অংশ আলাদা করে দেখে Source 2সোর্স 2।

Agent এ কাজে ভালো, এমন বিশ্বাস করা। PM-Bench-এ সেরা পদ্ধতিও মাত্র 65.1% F1 score পেয়েছে Source 2সোর্স 2। কোনো একটি strategy সব model-এর জন্য সেরা ছিল না Source 2সোর্স 2। এই সংখ্যাগুলো ২০২৬ সালের একটি benchmark এবং তার নিজের setup-এর। এগুলো কোনো সাধারণ error rate নয়।

What a tester can check

Test the "what" and the "when" apart, and test both time-based and event-based intentions.

Tutorial advice

  • Ask for a reminder at a set time. Check that it fires one time, near that time, in the right timezone.
  • Cancel or move a reminder. Check that the old one does not fire.
  • Keep the agent busy at the due time. Check that the reminder fires one time after the work ends.
  • Close the session before the due time. Check what happens, and check that the docs match it.
  • Give an event-based intention, for example "when the build fails, tell me". Make the event happen while the agent does other work.
  • Check the content of the action, not only the timing: the agent must do the right task.

সহজ English

Test the "what" and the "when" one at a time. Test jobs that start at a time and jobs that start with an event.

Tutorial advice

  • Ask for a reminder at a set time. Check that it comes one time, close to that time, in the right timezone.
  • Cancel or move a reminder. Check that the old one does not come.
  • Keep the agent busy at the set time. Check that the reminder comes one time after the work ends.
  • Close the session before the set time. See what happens, and check that the docs say the same.
  • Give a job that starts with an event, like "when the build fails, tell me". Make the event happen while the agent does other work.
  • Check what the agent does, not only when: it must do the right job.

বাংলা ব্যাখ্যা

"কী" এবং "কখন" আলাদা করে test করুন। Time-based এবং event-based দুই ধরনের intention-ই test করুন।

Tutorial advice

  • নির্দিষ্ট সময়ের জন্য একটি reminder চান। দেখুন সেটা একবার, ওই সময়ের কাছাকাছি, সঠিক timezone-এ আসে কিনা।
  • একটি reminder cancel বা সরিয়ে দিন। দেখুন পুরনোটা আর আসে না কিনা।
  • নির্ধারিত সময়ে agent-কে ব্যস্ত রাখুন। দেখুন কাজ শেষে reminder একবার আসে কিনা।
  • নির্ধারিত সময়ের আগে session বন্ধ করুন। কী হয় দেখুন, এবং docs-এর সাথে মেলে কিনা যাচাই করুন।
  • একটি event-based intention দিন, যেমন "build fail করলে আমাকে জানাও"। Agent অন্য কাজ করার সময় ঘটনাটি ঘটান।
  • শুধু সময় নয়, কাজের বিষয়বস্তুও দেখুন: agent-কে সঠিক কাজটাই করতে হবে।

Key words

TermMeaning
Prospective memoryMemory for an action to do in the future
Retrospective memoryMemory of past events
IntentionA planned action: what to do and when
Time-based cueA clock time or interval that starts the action
Event-based cueAn event or state that starts the action
One-shot taskA Claude Code scheduled task that fires one time and deletes itself
Recurring taskA scheduled task that repeats; in a Claude Code session it expires after 30 days (7 days before v2.1.330)
PlanIn Generative Agents, a future sequence of actions with a location, a start time, and a duration
PM-BenchA 2026 benchmark (COLM 2026) that tests prospective memory in LLM agents

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

  • Explainerব্যাখ্যাবাংলা

    ArthaMatrix

    Watch on YouTubeYouTube-এ দেখুন
  • Explainerব্যাখ্যাবাংলা

    ArthaMatrix

    Watch on YouTubeYouTube-এ দেখুন
  1. [1]
    prospective memory

    APA Dictionary of Psychology · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  2. [2]
    PM-Bench: Evaluating Prospective Memory in LLM Agents, Liu et al.

    arXiv 2607.12385 · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  3. [3]
    Run prompts on a schedule

    Anthropic (Claude Code docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  4. [4]
    Generative Agents: Interactive Simulacra of Human Behavior, Park et al.

    arXiv 2304.03442 (UIST 2023) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  5. [5]
    Cognitive Architectures for Language Agents (CoALA), Sumers, Yao, Narasimhan, Griffiths

    arXiv 2309.02427 (TMLR) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28