limasource
Add application files
518e57c
#!/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)