James Kennedy is an American social psychologist, best known as an originator and researcher of particle swarm optimization. The first papers on the topic, by Kennedy and Russell C. Eberhart, were presented in 1995; since then of papers have been published on particle swarms. The Academic Press / Morgan Kaufmann book, Swarm Intelligence, by Kennedy and Eberhart with Yuhui Shi, was published in 2001. The particle swarm paradigm draws on social-psychological simulationresearch in which Kennedy had participated at the University of North Carolina, integrated with evolutionary computation methods that Eberhart had been working with in the 1990s. The result was a problem-solving or optimization algorithm based on the principles of human social interaction. Individuals begin the program with random guesses at the problem solution. As the program runs, the "particles" share their successes with their topological neighbors; each particle is both teacher and learner. Over time, the population converges reliably on optimal vectors. While there has been a trend in the research literature toward a "Gbest" or centralized particle network, demonstrated the importance of a distributed population topology in solving more complex problems. discusses the possible contribution of human female orgasm to the species' prosociality. Kennedy has been an active combatant in the controversy over sex education in Montgomery County, Maryland, supporting the public schools' efforts to develop a comprehensive and inclusive program. He also worked to support a gender identity nondiscrimination law in Montgomery County that came under attack from conservatives, and has maintained an online progressive presence. He also worked as a professional musician for fifty years and currently plays in a rockabilly band called The Colliders, which released albums in 2011 and 2015. In 2018 Kennedy released a DIY album, , and is currently organizing live performance of that material. Kennedy worked in survey methods for the US government, and has conducted basic and applied research into social effects on cognition and attitude. He served as Director of the Office of Analysis and Research Services at the US International Trade Commission until his retirement in 2017. He has worked with particle swarms since 1994, with research publications in fields related and unrelated to swarms and surveys.