#!/usr/bin/env python3 """ AI Agent Brainstorming Studio Launcher ====================================== Quick launcher for the AI Agent Brainstorming Studio. """ import os import sys from pathlib import Path def launch_studio(): """Launch the AI Agent Brainstorming Studio""" print("🧠 AI Agent Brainstorming Studio") print("=" * 35) # Check if main file exists main_file = "app.py" if not Path(main_file).exists(): print(f"āŒ Main file '{main_file}' not found") print(" Make sure you're in the correct directory") return False # Check if dependencies are installed try: import gradio import mcp print("āœ… Dependencies verified") except ImportError as e: print(f"āŒ Missing dependencies: {e}") print(" Run: python setup.py") return False print("šŸš€ Starting AI Agent Brainstorming Studio...") print("šŸ“± Interface will open at: http://localhost:7864") print("🧠 Two AI agents ready for collaboration!") print("ā¹ļø Press Ctrl+C to stop\n") # Launch the application try: os.system(f"python {main_file}") except KeyboardInterrupt: print("\nšŸ‘‹ AI Agent Brainstorming Studio stopped") return True except Exception as e: print(f"\nāŒ Error launching studio: {e}") return False if __name__ == "__main__": success = launch_studio() if not success: print("\nšŸ’” Need help? Check the README.md for setup instructions") sys.exit(1)