bbsbot
2026-02-06
LLM integration, AI strategy with goals system, themed name generator, and TW2002 module moved to games/tw2002
188 files · 16,297+ · 5,080-
LLM integration
4 files changed
ai_strategy.pyAI strategy with LLM-driven decision makingparser.pyLLM response parserprompts.pyPrompt templates for LLM providersconfig.pyLLM config integrated into TW2002 configuration
- Added full LLM abstraction layer: base provider, config, exceptions, manager, retry, types, usage tracker
instantiate
behavioral
3 files
ai_strategy.pyparser.pyprompts.py
- Implemented Ollama, OpenAI, and Gemini provider backends
instantiate
internal
1 file
parser.py
- Added response caching system for LLM calls
instantiate
behavioral
1 file
ai_strategy.py
- Integrated LLM config into TW2002 configuration
baseline
internal
1 file
config.py
AI strategy and goals
2 files changed
ai_strategy.pyAI strategy with decision maker, feedback loop, orchestration, parser, prompts, and validatormcp_tools.pyGame-specific MCP tools for goals management
- Implemented AI strategy with decision maker, feedback loop, orchestration, parser, prompts, and validator
instantiate
behavioral
1 file
ai_strategy.py
- Added goals system with GoalPhase dataclass for tracking goal history
instantiate
internal
1 file
ai_strategy.py
- Integrated goal visualization into AIStrategy
instantiate
internal
1 file
ai_strategy.py
- Added TW2002 debugging tools with Ollama feedback loop
specify
internal
1 file
debug_after_login.py
- Created game-specific MCP tools for goals management
interface
internal
1 file
mcp_tools.py
Themed bot name generator
2 files changed
name_generator.pyName generator with themed name poolsthemed_names.ymlThemed name configuration examples
- Built comprehensive name generator with themed name pools
instantiate
internal
1 file
name_generator.py
- Added examples/configs/themed_names.yml for name configuration
specify
internal
1 file
themed_names.yml
Games module reorganization
5 files changed
__init__.pyGame discovery module for the games package__init__.pyTW2002 game module at its final locationbot.pyMain TW2002 bot moved to games/tw2002cli.pyTW2002 CLI commandscli_impl.pyTW2002 CLI implementation
- Moved TW2002 from
bbsbot/tw2002/tobbsbot/games/tw2002/(final location) decouple behavioral2 files
__init__.pybot.py
- Removed old
bbsbot/tw2002/directory decouple internal1 file
__init__.py
- Added
bbsbot/games/__init__.pyfor game discovery instantiate internal1 file
__init__.py
Documentation reorganization
5 files changed
INTELLIGENT_BOT.mdIntelligent bot usage guideMULTI_CHARACTER.mdMulti-character management guideQUICK_START.mdQuick start guideLLM_HINTS.mdLLM hints for TW2002 gameAI_STRATEGY_QUICKSTART.mdAI strategy quickstart example
- Organized docs into guides/ structure (INTELLIGENT_BOT, MULTI_CHARACTER, QUICK_START)
specify
internal
3 files
INTELLIGENT_BOT.mdMULTI_CHARACTER.mdQUICK_START.md
- Moved game docs into games/tw2002/docs/
specify
internal
2 files
LLM_HINTS.mdREADME.md
- Created examples/ directory with AI strategy quickstart and config examples
specify
internal
2 files
AI_STRATEGY_QUICKSTART.mdREADME.md
Bot improvements
4 files changed
bot.pyActive loop breaking, error loop detection, strategy rotationbase.pyStrategy base class with rotation systemprofitable_pairs.pyProfitable pairs strategy enhancementsopportunistic.pyOpportunistic strategy enhancements
- Added active loop breaking and error loop detection
harden
behavioral
1 file
bot.py
- Implemented strategy rotation system for adaptive strategy switching
instantiate
internal
1 file
base.py
- Fixed bot.current_credits sync and increased D command timeout
remediate
behavioral
1 file
bot.py
- Added multi-source data fallback for critical game state
harden
internal
1 file
bot.py
- Added file locking to prevent multiple bots using same character
harden
internal
1 file
multi_character.py
MCP registry and server
2 files changed
mcp_tools.pyMCP tools with game-specific tool registrationgeneric_io.pyLogging configuration module
- Added MCP registry for tool management
interface
internal
1 file
mcp_tools.py
- Expanded server with game-specific tool registration
interface
internal
1 file
mcp_tools.py
- Added logging configuration module
instantiate
behavioral
1 file
generic_io.py
Infrastructure
2 files changed
pyproject.tomlUpdated for new games/tw2002 package structuresimple_game_bot.pySimple game bot example
- Added comprehensive test suites for LLM, learning, visualization, goals, trading, and name generator
qualify
internal
1 file
pyproject.toml
- Cleaned up .provide/ directory, removing old session data and playthrough logs
decouple
internal
1 file
pyproject.toml
- Added simple_game_bot.py example
specify
internal
1 file
simple_game_bot.py