Sharing Sorana: A desktop AI to help you decode your deepest ListenBrainz listening habits through natural chat

Hello ListenBrainz community! :waving_hand:

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.

:counterclockwise_arrows_button: 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.

:puzzle_piece: 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!

:bar_chart: 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:

:bust_in_silhouette: User:
“List my top 10 and bottom 10 most played artists starting from today and going backward 2 years.”

:robot: 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

  1. Maya Jane Coles: 8,891 listens (3,897 solo) across 317 tracks
  2. Sixsense: 2,078 listens (480 solo) across 1,111 tracks
  3. Outsiders: 1,997 listens (377 solo) across 142 tracks
  4. Dickster: 1,939 listens (216 solo) across 108 tracks
  5. PsiloCybian: 1,835 listens (1,268 solo) across 119 tracks
  6. Earthspace: 1,801 listens (398 solo) across 95 tracks
  7. Nocturnal Sunshine: 1,718 listens (135 solo) across 55 tracks
  8. Tristan: 1,715 listens (422 solo) across 209 tracks
  9. Killerwatts: 1,596 listens (266 solo) across 88 tracks
  10. GMS: 1,418 listens (12 solo) across 142 tracks

BOTTOM 10 LEAST PLAYED ARTISTS (minimum 2 plays)

  1. $pyda: 2 listens (0 solo) across 1 track
  2. 01-N: 2 listens (2 solo) across 1 track
  3. 220 Volts: 2 listens (0 solo) across 1 track
  4. 2LOT: 2 listens (0 solo) across 2 tracks
  5. 2SLAV: 2 listens (0 solo) across 1 track
  6. 2Spirals: 2 listens (2 solo) across 1 track
  7. 40%: 2 listens (0 solo) across 1 track
  8. 66K: 2 listens (0 solo) across 1 track
  9. AMENRON: 2 listens (2 solo) across 1 track
  10. AOORA: 2 listens (0 solo) across 1 track

:light_bulb: 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?”

:gear: Setup and Privacy

  1. Paste your ListenBrainz user token into the connector settings.
  2. 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.

:warning: 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 404 upstream. Additionally, the recent listens endpoint requires your explicit username because it currently lacks a "me" alias.

:link: 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:
:backhand_index_pointing_right: Website: https://tetramatrix.github.io/Sorana/

Feedback is very welcome, especially regarding the collaboration credit splitting logic!

1 Like

:rocket: Sorana 1.0.104: ListenBrainz fixes and examples

Quick follow up to my first post. Sorana is now at version 1.0.104 and I fixed a large number of issues in the ListenBrainz connector. Below are multiple examples I tested in this session, with the real results from the ListenBrainz API and the local, imported history.

:test_tube: Example 1:What are my top 10 most played artists from 2 year ago to today?

Agent: TOP 10 MOST PLAYED ARTISTS

# Artist Listens Lead Solo Tracks First listen Last listen
1 Maya Jane Cole 8930 6228 3936 317 2024-09-04 2026-02-02
2 The Motet 6125 6125 5682 50 2022-11-14
3 1200 Micrograms 5198 5123 4668 116 2018-12-18 2026-09-12

…

:test_tube: Example 2: Which albums do I play most from 1 year ago to today?

Agent: Top album (year window, 2025-10-11 to 2026-10-11): Edge Of Time by Killerwatts, 415 plays.

Full list of your 25 most played releases:

1. Edge Of Time, Killerwatts, 415 plays
2. Adverse Cambers, GMS & Dickster, 382 plays
3. The Altruism Collection, Altruism, 329 plays
…

:test_tube: Example 3: Which tracks do I play most from 1 year ago to today?

Agent: Your most played tracks over the last 12 months:

# Track Artist Release Plays
1 True Hallucination (Aktyum remix) Transient Disorder & Spiritual Mode True Hallucination (Aktyum remix) 103
2 Lost in a Mental Universe Digicult Soul Samadhi 91
3 We Are in the Shadows Outsiders & Imagine Mars We Are in the Shadows 89
4 Shiva Sunrise (Djantrix remix) Laughing Buddha Goa Session 87

…

:test_tube: Example 4: Who do I listen to the most from 1 year ago to today?

Top artist (2025-10-11 → 2026-10-11): Sixsense — 2,019 credited listens, first heard 2026-01-27, last heard 2026-10-04.

Full chart, all 25 rows:️

# Artist Listens Lead Solo Tracks First listen Last listen
1 Sixsense 2019 1838 480 1109 2026-01-27 2026-10-04
2 Tristan 1335 890 356 197 2025-10-12 2026-09-27
3 Dickster 1168 598 191 101 2025-10-11 2026-10-02

…

:test_tube: Example 5: What albums are trending on Listenbrainz?

Agent: Trending albums on ListenBrainz right now: the sitewide weekly chart, top 25 releases.

# Album Artist Listens
1 ARIRANG BTS 472,580
2 ARIRANG BTS 90,124
3 D-DAY Agust D 50,185
4 GOLDEN Jung Kook 39,004

…

Feedback is very welcome!

Sorana App — Quick Start Guide

Get up and running with Sorana in 3 steps:

1. Download & Install

Download the latest release from the official repository and install it on your system.

2. Open Manage Agent

Launch Sorana and navigate to Manage Agent in the main menu.

3. Enable Listenbrainz MCP Server

In the MCP Server tab, enable the Listenbrainz MCP Server.

Prerequisites: You need a built-in, local or cloud provider enabled in the model manager.

4. Start Asking!

Once configured, ask Listenbrains-related questions directly in Sorana. Try queries like:

  • “Export and download my Listenbrainz history” (this will trigger the export and download of your history to your local setup. Depending on the size of the list it may take some time, the progress is shown in the status bar:

  • “Which tracks do I play most from 1 year ago to today?”

  • “What are my top 10 most played artists from 2 year ago to today?”

  • …

When the agent has issues to understand, you can add a prefix like this: Using Listenbrainz, which tracks do I play most from 1 year ago to today?

Feedback is very welcome!

Alistral does it faster and doesn’t hallucinate ;)

2 Likes

Thank you for the feedback. I do not think they are directly comparable. Rather, they should be complementary. One is faster, while the other is easier and uses natural language. They serve two different use cases. :wink: Also, could you share an example of where it hallucinates?