This thesis describes software tools for simulating and automatically generating swarm algorithms. It presents SWEEP, a swarm simulation and experimentation platform, which is used to test dispersion, task assignment, and chemical cloud detection swarm algorithms. The thesis also introduces an evolutionary algorithm to automatically generate swarm behaviors. It evolves solutions for dispersion, object manipulation tasks, and evaluates the results.