C.W.K.
Stream
Lesson 01 of 05 · published

Working Memory: Scratchpad와 Run State

~26 min · scratchpad, state

Level 0Observer
0 XP0/40 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

에이전트에게 작업 책상이 필요해

working memory는 현재 작업을 위한 임시 상태야. 부분 발견, 가정, 현재 계획, 열린 질문, 아직 permanent memory가 되면 안 되는 tool handle을 두는 곳이지.

working memory와 long-term memory를 섞지 마. working memory는 작업 중 어질러진 책상이고, long-term memory는 작업 후 정리된 캐비닛이야.

보이게 만들어

숨은 희망보다 보이는 scratchpad가 낫다. run state를 structured field로 저장하면 tool, policy, log가 점검할 수 있어. 모델은 간결한 버전을 보고, executor는 정확한 버전에 의존하면 된다.

context pressure가 있을 때 특히 중요해. scratchpad가 명시적이면 작업의 척추를 잃지 않고 compact, summarize, persist할 수 있다.

Code

Run state scratchpad·json
{"task":"audit deployment","plan":["read config","check logs","summarize risk"],"findings":[],"open_questions":["which environment is prod?"],"tool_handles":[]}

External links

Exercise

research agent용 scratchpad schema를 설계해봐. plan, findings, sources, open questions를 포함해.
Hint
코드가 점검할 수 있을 정도로 structured하게 둬.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.