Hello ListenBrainz community! ![]()
Sorana is a free desktop AI knowledge workspace and agent harness for Windows, Mac and Linux. It now includes native ListenBrainz support. The harness plans tasks and dispatches parallel subagents while building a persistent memory of your work. You can chat with your complete music history using plain language while keeping all data private on your machine.
How it works
Sorana pulls your complete listening history via the ListenBrainz export API and imports it into a local SQLite database. Once imported, your listening data becomes part of the agent’s persistent memory. You can ask questions and the agent harness answers directly from that local database. This means zero further API calls, instant responses, and total privacy because everything runs on your machine.
The Data Problem: Collaboration Credits
Scrobblers submit one credit string per track, so a collaboration arrives as a single value like "Sixsense, SilentBreakers". If you rank by that string, you are not ranking artists. You are ranking credit strings.
- True collaborators disappear.
- An artist who appears both solo and on a collaboration gets split into two separate rows.
- A frequent guest artist is badly undercounted.
The Sorana Fix: Sorana parses and splits each credit string into individual artists, counting one play for every artist credited on the track. In my own window of two years, applying this logic moved one artist from ninth place up to second, and brought another artist from completely absent into fourth place!
Beyond the Standard Charts
The local import also unlocks queries that the live chart endpoints cannot handle. While the API offers fixed windows like week, month, or year, the local SQLite store can handle any custom date range you can express in natural language. It also easily answers questions like your least played artists or artists you have dropped since a certain year.
Example Chat:
User:
“List my top 10 and bottom 10 most played artists starting from today and going backward 2 years.”
Agent:
“Here are your top 10 most played and bottom 10 least played artists over the last two years (2024-10-04 to 2026-10-04), based on your imported ListenBrainz history.”
TOP 10 MOST PLAYED ARTISTS
- Maya Jane Coles: 8,891 listens (3,897 solo) across 317 tracks
- Sixsense: 2,078 listens (480 solo) across 1,111 tracks
- Outsiders: 1,997 listens (377 solo) across 142 tracks
- Dickster: 1,939 listens (216 solo) across 108 tracks
- PsiloCybian: 1,835 listens (1,268 solo) across 119 tracks
- Earthspace: 1,801 listens (398 solo) across 95 tracks
- Nocturnal Sunshine: 1,718 listens (135 solo) across 55 tracks
- Tristan: 1,715 listens (422 solo) across 209 tracks
- Killerwatts: 1,596 listens (266 solo) across 88 tracks
- GMS: 1,418 listens (12 solo) across 142 tracks
BOTTOM 10 LEAST PLAYED ARTISTS (minimum 2 plays)
- $pyda: 2 listens (0 solo) across 1 track
- 01-N: 2 listens (2 solo) across 1 track
- 220 Volts: 2 listens (0 solo) across 1 track
- 2LOT: 2 listens (0 solo) across 2 tracks
- 2SLAV: 2 listens (0 solo) across 1 track
- 2Spirals: 2 listens (2 solo) across 1 track
- 40%: 2 listens (0 solo) across 1 track
- 66K: 2 listens (0 solo) across 1 track
- AMENRON: 2 listens (2 solo) across 1 track
- AOORA: 2 listens (0 solo) across 1 track
Things to try
Once your history is imported, you can ask things like:
- “Who was my most played artist last month, and how does that compare to the month before?”
- “Compare my top artists this year against last year.”
- “Which artists did I play heavily in 2019 and have basically stopped listening to since?”
- “What was I playing during my trip to Japan in 2023?”
Setup and Privacy
- Paste your ListenBrainz user token into the connector settings.
- Ask the agent for a full history import once. It takes a few minutes.
Security note: Your token is stored encrypted and checked when you paste it. It is never shown to the AI agent. The agent is only told which data source the information came from.
Worth Knowing (Technical Notes)
- Export Limits: The export API is self only and allows one pending export per account. Sorana automatically checks for an existing export before queuing another to prevent conflicts.
- Endpoint Quirks: The sitewide chart, user top artists, and now playing endpoints currently return
404upstream. Additionally, the recent listens endpoint requires your explicit username because it currently lacks a"me"alias.
Get Sorana
Sorana is completely free to run, either with a local model or by using a free provider tier. You can find all the details, downloads, and documentation on the site:
Website: https://tetramatrix.github.io/Sorana/
Feedback is very welcome, especially regarding the collaboration credit splitting logic!
