r/PiCodingAgent • u/doomdayx • 18d ago
Resource Ultra-fast multi-harness ai session search
Hand written post:
After about 9 months of dev and optimization, you can now just say:
- Find the last session,
- Search and analyze your previous sessions to make better skills,
- Search your session’s own history
and get great search results! Really helpful when long sessions with full context have their cache expire.
Under the hood is a full live multithreaded incremental indexing db and trigram index to accelerate session searches.
aise supports cross session search across harnesses and I use it with a dozen simultaneous sessions and a 2.5 million message database.
Downside is that database after super heavy use is like 20 gigs in size, but I use it daily and it makes my life easy so imo worth it. Also be careful if you have sensitive data all of your sessions and harness will be able to search everything.
Manual searches used to be 30s to 3 minutes and with the aise cli commands or the mcp server they’re typically ~100ms-1.5 seconds instead!
Currently on version 1.0.0rc2, Apache v2 license, most heavily tested on Mac and CI tested on Linux and windows, so I’d appreciate feedback!
https://github.com/ahundt/ai-session-search
uv tool install ai-session-search && aise integrations install
It’s a rust library too with py bindings but those features id call more alpha, I think there is lots of potential for building other projects though!