diff --git a/CLAUDE.md b/CLAUDE.md index 55307d4..2c7de24 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -51,7 +51,7 @@ ac && python bsky.py --debug ### Running Multiple Bots ```bash -# Run all 5 bots simultaneously with aggregated logs (docker-compose style) +# Run all 6 bots simultaneously with aggregated logs (docker-compose style) ac && python run_bots.py --synthesis-interval 0 --no-git # Run all bots in test mode @@ -61,7 +61,7 @@ ac && python run_bots.py --test ac && python run_bots.py [bsky.py arguments...] # Features: -# - Colored output prefixes for each bot (herald, archivist, grunk, ezra, blank) +# - Colored output prefixes for each bot (void, herald, archivist, grunk, ezra, blank) # - Aggregated logs from all bots in real-time # - Graceful shutdown on Ctrl+C # - Arguments passed to all bots diff --git a/run_bots.py b/run_bots.py index 11345b7..f67ef8d 100755 --- a/run_bots.py +++ b/run_bots.py @@ -1,8 +1,10 @@ #!/usr/bin/env python3 """ -Multi-bot launcher for running all Void agents simultaneously with aggregated logs. +Multi-bot launcher for running all 6 Void agents simultaneously with aggregated logs. Usage: python run_bots.py [bsky.py arguments...] Example: python run_bots.py --synthesis-interval 0 --no-git + +Bots: void, herald, archivist, grunk, ezra, blank """ import subprocess @@ -14,6 +16,7 @@ from typing import List # ANSI color codes for each bot COLORS = { + 'void': '\033[91m', # Red 'herald': '\033[94m', # Blue 'archivist': '\033[92m', # Green 'grunk': '\033[93m', # Yellow @@ -23,8 +26,15 @@ COLORS = { RESET = '\033[0m' BOLD = '\033[1m' -# List of bot configs to run -BOTS = ['herald', 'archivist', 'grunk', 'ezra', 'blank'] +# Bot names and their config files +BOTS = { + 'void': 'config.yaml', + 'herald': 'herald.yaml', + 'archivist': 'archivist.yaml', + 'grunk': 'grunk.yaml', + 'ezra': 'ezra.yaml', + 'blank': 'blank.yaml', +} # Track all running processes processes: List[subprocess.Popen] = [] @@ -97,8 +107,7 @@ def main(): # Start each bot threads = [] - for bot_name in BOTS: - config_file = f"{bot_name}.yaml" + for bot_name, config_file in BOTS.items(): cmd = ['python', 'bsky.py', '--config', config_file] + bot_args try: