StaffCoder
Memory & Context
2 modules · 10 challengesSign up
Modules2 modules · 10 challenges
Module 2 of 2 · 5 challenges

AI Context & Memory Engineering Long-Term Memory

Learn how to build persistent memory that saves the right facts, retrieves them in later sessions, updates them when they change, and deletes them on request.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

5 challenges

Extraction Policy

Sign up to unlock
—No data yetmedium
About this challenge

Decide what a conversation leaves behind in memory: facts saved with structure, small talk discarded.

Solved in a browser IDE and graded by tests. Sign up to solve

Store Schema And Retrieval

Sign up to unlock
—No data yetmedium
About this challenge

Persist memories to disk and retrieve the right ones at session start, ranked and within budget.

Solved in a browser IDE and graded by tests. Sign up to solve

Conflict Resolution

Sign up to unlock
—No data yetmedium
About this challenge

Make the newest value of a fact win without destroying the history of what it replaced.

Solved in a browser IDE and graded by tests. Sign up to solve

Forgetting

Sign up to unlock
—No data yetmedium
About this challenge

Make a user-requested deletion real: the fact and every copy of it gone from all future sessions.

Solved in a browser IDE and graded by tests. Sign up to solve

Five-Session Memory Trial

STAR
Solving it completes the module
—No data yetmedium
About this challenge

Run the full memory stack across five sessions of a user's life: facts accumulate, change, and get forgotten on request, with a judge rating the store.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.