explaingit

lifein-ai/bazaar-helper

Analysis updated 2026-05-18

19PythonAudience · generalComplexity · 3/5Setup · moderate

TLDR

A local tool for the game The Bazaar that reads live match data and gives explainable card and shop recommendations, with an optional AI-generated strategy explanation.

Mindmap

mindmap
  root((BazaarHelper))
    What it does
      Reads live game state
      Recommends cards and shop picks
      Explainable suggestions
    Tech stack
      Python
      BepInEx plugin
      DeepSeek AI
    Use cases
      In-game recommendations
      Loadout fit checking
      AI strategy explanation
    Components
      Web UI and API
      Command line tool
      Data import scripts
    Audience
      The Bazaar players

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Get real-time recommendations on which cards and shop options fit your current Bazaar loadout while playing.

USE CASE 2

Check how well a shop or event's card pool matches a chosen hero build before spending gold.

USE CASE 3

Generate a plain-language AI strategy explanation of the rule-based recommendation.

USE CASE 4

Run the command line tool to test recommendations against a saved or example game state file.

What is it built with?

PythonBepInExPyInstallerDeepSeek API

How does it compare?

lifein-ai/bazaar-helper16nic/comfyui-agnes-ai6c696e68/gpt_signup_hybrid
Stars191919
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity3/52/54/5
Audiencegeneralvibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires installing a BepInEx game plugin alongside the Python app, AI analysis needs an optional DeepSeek API key.

In plain English

BazaarHelper is a local decision assistant for the video game The Bazaar. It reads the live state of a match along with card data, event data, and community-built loadout configurations, then works out how good the current event, shop, and visible cards are for the player. It shows explainable suggestions in a local web interface, meaning it tells you why it recommends something rather than just giving a single answer. The tool reads a game_state.json file that a companion plugin exports from inside the game while you play. It matches that state against the hero and loadout you are currently using, and analyzes the current event, shop, and reward options to show which cards fit your build, how likely a card pool is to produce what you need, and whether a purchase or reroll is worth your current gold, health, and reputation. It can also show which key cards a loadout still needs. An optional feature calls DeepSeek, a Chinese AI model, to turn the rule-based recommendation into a plain-language strategy explanation. The rule system does all the actual analysis first, the AI only summarizes and explains, it does not make the recommendation itself. Setup involves running a Python web app locally, alongside a BepInEx plugin (a modding framework for Unity games) that exports the game's internal state to a JSON file the tool can read. The project ships with a command line interface for manual testing, a release packaging script that builds a standalone Windows executable, and a test suite. Data files covering cards, events, skills, and community loadouts live in a data folder and can be updated with included import and audit scripts. The README notes that the browser-based web interface is being phased out in favor of running as a local API service for an in-game overlay, and that new features should go into the API rather than the browser pages.

Copy-paste prompts

Prompt 1
Walk me through setting up BazaarHelper's Python web app and the BepInEx state exporter plugin on Windows.
Prompt 2
Explain how BazaarHelper's recommender.py decides which cards fit a given loadout.
Prompt 3
Show me how to add a new community build to data/community_builds.json for BazaarHelper.
Prompt 4
How do I configure the DeepSeek API key for BazaarHelper's optional AI analysis feature?

Frequently asked questions

What is bazaar-helper?

A local tool for the game The Bazaar that reads live match data and gives explainable card and shop recommendations, with an optional AI-generated strategy explanation.

What language is bazaar-helper written in?

Mainly Python. The stack also includes Python, BepInEx, PyInstaller.

How hard is bazaar-helper to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is bazaar-helper for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.