Agent-UN / scripts /generate_agents.sh
danielrosehill's picture
Add Gradio visualization for UN Gaza ceasefire resolution simulation
8c1f582
#!/bin/bash
# Generate agent directories and system prompts for all UN member states
set -e # Exit on error
echo "πŸ€– Generating UN Delegate Agents"
echo "================================"
echo ""
# Check if virtual environment exists
if [ ! -d ".venv" ]; then
echo "❌ Error: Virtual environment not found"
echo "Please run ./scripts/setup.sh first"
exit 1
fi
# Check if data file exists
if [ ! -f "data/united-nations-membership-status.json" ]; then
echo "❌ Error: UN membership data not found"
echo "Expected: data/united-nations-membership-status.json"
exit 1
fi
# Run the generation script
echo "πŸ“ Creating agent directories..."
.venv/bin/python3 generate_agents.py
echo ""
echo "βœ“ Agent generation complete"
echo ""