#!/bin/bash set -e # Set API key export LAOZHANG_API_KEY="${LAOZHANG_API_KEY:-sk-1NQb5nuzxg0mh16D48E7C20e0911463a951e3156F3Ec4aE6}" export PORT="${PORT:-8080}" # Download dependencies go mod tidy # Run the server echo "Starting Agent Creator on http://localhost:$PORT" echo "Agents will be saved to ./agents/" echo "" go run main.go