Kagi Assistant already supports tagging threads, which is a great step toward better organization and retrieval. However, filtering is currently limited to selecting individual tags in the sidebar — there’s no way to combine them using logical expressions.
To solve this, Kagi could implement: Boolean tag expressions for advanced filtering.
Instead of just clicking one tag at a time, allow users to write expressions like:
ai AND analysis - find threads tagged with both
writing OR creative - include threads from either category
ai AND NOT deprecated - exclude outdated or irrelevant threads
(research AND arweave) OR ao - complex groupings for precise recall
This would bring powerful, composable control to chat history management.
Why?
- This can help reduce noise by filtering out irrelevant threads without creating overly specific tags. And supports purposeful workflows that serve deeper work without distracting threads.
- Match how we naturally think in combinations and exceptions.
I have implemented this feature ontop of tags before here, if the inspiration would help: https://github.com/dpshade/pocket-prompt-ui/blob/master/src/core/search/boolean.ts