Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
TypeScript aiai-agentsai-memoryanthropicartificial-intelligencechromadbclaudeclaude-agent-sdkclaude-agentsclaude-codeclaude-code-pluginclaude-skillsembeddingslong-term-memorymem0memory-engineopenmemoryragsqlitesupermemory
.review-stack{width:min(100%,42rem);margin-inline:auto}.stack-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.stack-modes{border:1px solid var(--control-edge);background:var(--muted);border-radius:2rem;padding:.18rem;display:inline-flex}.stack-modes button{border-radius:2rem;min-height:2.65rem;padding:.4rem .95rem;font-size:.875rem}.stack-modes button[aria-pressed=true]{background:var(--card);color:var(--foreground);box-shadow:0 1px 4px color-mix(in srgb, var(--foreground) 14%, transparent);font-weight:650}.stack-select{width:min(100%,20rem);min-height:2.75rem;color:var(--foreground);background:var(--card);border:1px solid var(--control-edge);border-radius:.65rem;padding-inline:.65rem;font-size:.875rem}.stack-guide,.stack-hold{background:var(--accent);color:var(--accent-foreground);border-radius:.75rem;padding:.7rem .9rem;font-size:.875rem}.stack-progress{width:100%;height:.35rem;accent-color:var(--primary);display:block}.stack-card{touch-action:pan-y pinch-zoom;overflow-wrap:anywhere;border:1px solid var(--control-edge);background:var(--card);box-shadow:0 4px 0 -1px var(--card), 0 5px 0 var(--control-edge), 0 8px 18px -13px var(--foreground);border-radius:1.1rem;padding:clamp(.8rem,3vw,1.3rem);position:relative}.stack-card:focus-visible,.stack-modes button:focus-visible,.stack-select:focus-visible,.stack-preview:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.stack-preview{background:var(--muted);border-radius:.7rem;place-items:center;width:100%;min-height:6rem;max-height:min(46svh,26rem);display:grid;position:relative;overflow:hidden}.stack-preview img{object-fit:contain;width:100%;max-height:min(46svh,26rem);display:block}.stack-expand{background:var(--card);width:1.8rem;height:1.8rem;color:var(--foreground);border-radius:.4rem;padding:.34rem;position:absolute;bottom:.5rem;right:.5rem}.stack-excerpt{white-space:pre-wrap;border-left:3px solid var(--primary);background:var(--muted);border-radius:0 .5rem .5rem 0;max-height:15rem;margin-block:.45rem;padding:.8rem 1rem;font-size:.9rem;overflow-y:auto}.stack-source{min-height:2.75rem;color:var(--accent-foreground);text-underline-offset:.2em;align-items:center;gap:.25rem;font-size:.875rem;text-decoration:underline;display:inline-flex}.stack-copy{gap:.55rem;padding-block:.6rem .9rem;display:grid}.stack-decision{border-inline-start:3px solid var(--primary);background:var(--accent);color:var(--accent-foreground);border-radius:.45rem;gap:.5rem;padding:1rem;display:grid}.stack-actions{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding-top:.7rem;display:grid}.stack-actions button{min-width:0}.stack-empty{text-align:center;border:1px solid var(--control-edge);background:var(--card);border-radius:1rem;justify-items:center;gap:.85rem;padding:2.4rem 1rem;display:grid}.stack-empty p{max-width:31rem;color:var(--muted-foreground)}.stack-feedback{color:var(--muted-foreground);font-size:.875rem;position:relative}.stack-feedback:empty{display:none}.stack-hold i{background:var(--primary);transform-origin:0;border-radius:2px;height:3px;animation:3s linear forwards stack-hold;display:block}@keyframes stack-hold{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.stack-confetti{pointer-events:none;width:40%;height:0;position:absolute;top:2px;right:10%}.stack-confetti i{background:var(--primary);border-radius:1px;width:6px;height:10px;animation:.85s ease-out both stack-celebrate;position:absolute;left:50%}.stack-confetti i:nth-child(3n+1){background:var(--accent-foreground)}.stack-confetti i:nth-child(2n){border-radius:50%;height:6px}.stack-confetti i:first-child{--throw:-70px}.stack-confetti i:nth-child(2){--throw:-58px}.stack-confetti i:nth-child(3){--throw:-42px}.stack-confetti i:nth-child(4){--throw:-31px}.stack-confetti i:nth-child(5){--throw:-22px}.stack-confetti i:nth-child(6){--throw:-10px}.stack-confetti i:nth-child(7){--throw:9px}.stack-confetti i:nth-child(8){--throw:18px}.stack-confetti i:nth-child(9){--throw:30px}.stack-confetti i:nth-child(10){--throw:45px}.stack-confetti i:nth-child(11){--throw:59px}.stack-confetti i:nth-child(12){--throw:70px}@keyframes stack-celebrate{0%{opacity:0;transform:translateY(0)}20%{opacity:1}60%{transform:translate(var(--throw), -18px) rotate(90deg)}to{opacity:0;transform:translate(var(--throw), 8px) rotate(170deg)}}@media (width>=38rem){.stack-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.stack-confetti,.stack-hold i{display:none}.stack-card{transform:none!important}}