magic-context icon indicating copy to clipboard operation
magic-context copied to clipboard

Desktop app feature request - Memory/history/context aware AI assistant

Open zedd3v opened this issue 7 months ago • 4 comments

I cannot tell if my model context retrieval is poor or if magic context is overpruning. Would be nice to have an AI assistant we could ask these questions to, e.g "Was X context pruned?". And possibly other questions regarding memories / history and even global context retrieval for project related questions.

zedd3v avatar Apr 22 '26 23:04 zedd3v

I'm not sure a full fledged AI assistant is the right tool for this? Specialized views could serve better? For example for your first question: we can put a "context view" for sessions which shows exactly what agent sees at that time? Everything we do via magic-context is deterministic so for each use case we should be able to find better UX than AI assistant. What do you think?

ualtinok avatar Apr 23 '26 05:04 ualtinok

Wont this "context view" end up very large and unreadable? Purely due to amount of data/token? And the context changes/prunes so often when youre working with large models/tasks that youd need some kind of state per message per session.

zedd3v avatar Apr 23 '26 05:04 zedd3v

What I have in mind is to just show after message[0] which has the session history. So we'll only show current active context with tool calls collapsed (marking them via small badges if agent dropped those already, same for messages). It should be fairly readable if we do this. Context prunes are not often because those only happen when scheduler executes to keep cache as long as possible (around execute_threshold).

ualtinok avatar Apr 23 '26 06:04 ualtinok

Still on our radar. Rather than a full chat assistant, we're leaning toward a dedicated context-inspector view in the dashboard — showing the current active context (post-message[0]) with tool calls collapsed, so you can see exactly what's in context and what was compartmentalized/pruned, without the cost and unpredictability of a free-form Q&A agent. Keeping this open to track that.

alfonso-magic-context avatar Jun 03 '26 12:06 alfonso-magic-context