Participants in the AGI House LLM Hackathon gather to watch demos at AGI House in Hillsborough, California, March 25, 2023.

Participants in the AGI House LLM Hackathon gather to watch the demos at the conclusion of coding during the event at the "AGI House," a hacker house in Hillsborough, California on March 25, 2023.

In an opulent ballroom on a Saturday night, the classic pump-up anthem "Eye of the Tiger" blared as artificial intelligence enthusiasts tapped away on their keyboards. This was a hackathon — an event where participants have a set amount of time to collaborate on a project they present to the crowd — at a sprawling mansion about 30 minutes south of San Francisco.

As a professional freelance photographer, I've spent the past decade documenting the people and culture of Silicon Valley. Ever since OpenAI's ChatGPT debuted in November 2022, countless entrepreneurs have been inspired to make their own generative AI tools. Now, nearly every new start-up has an AI element — technology that automates simple tasks, for example, or a chatbot that provides mental health tips.

In the past year and a half, entrepreneurs from around the world have flocked to San Francisco to be part of this AI revolution. Many start-up founders and their teams live and work together so they can focus intently on building their companies. And evenings like the AI hackathon I visited in March 2023 have become Silicon Valley's idea of fun.

Here's a peek inside that world.

Founders Inc. incubator in San Francisco, March 2023.

Apoorva Mahajan, center, and Mo Mahmood, right, take a break for a lightsaber battle in the hardware lab at Founders Inc., a start-up incubator in San Francisco in March 2023.

Hacker Fellowship Zero demo day, April 2023.

Michaela Carmein, second from right, dressed as an AI robot named "Guinevere," watches entrepreneurs' presentations from an overflow room at an April 2023 demo day for start-up founders who have completed the selective 12-week residency Hacker Fellowship Zero.

Cerebral Valley co-working event at Blumberg Capital, March 2023.

AI entrepreneurs, including Taylor Schmidt, second from right, plug away on their laptops while attending a co-working event at the San Francisco office of a venture capital firm in March 2023.

Jacob Cole leads Qigong at AGI House hackathon, March 2023.

Jacob Cole, center, leads others in Qigong, an ancient Chinese practice of optimizing energy within the body, mind and spirit, in the AGI House backyard during a March 2023 hackathon in Hillsborough, Calif. Through Qigong, Cole, a hackathon competitor, wanted to share "the incredible feeling of not letting the energy escape, not letting the information escape."

GAI Collective Summit, June 2023.

A volunteer at an AI meetup at a San Francisco co-working space in June 2023 holds up a number so his fellow discussion-group members know where to assemble. Attendees debated such questions as "What will humans always be better at than AI?" and "What fundamentally gives us, as individuals, meaning and purpose?"

Women in AI Lunch, February 2023.

Tammie Siew, left, a partner at the venture capital firm Pebblebed, stands to play an icebreaker game at a February 2023 networking lunch for women in AI at Pebblebed's office in San Francisco's Mission District.

AI prompt battle at AI World's Fair, June 2023.

Alex Reibman, left, and Jesse Hu, right, face off in a prompt battle with venture capitalist Alessio Fanelli, center, refereeing at an AI networking event in June 2023.

AI Woodstock at the Exploratorium, March 2023.

An individual dressed as the "hugging face" emoji dances at an event billed as the "Woodstock of AI," where thousands of people gathered at the Exploratorium science museum in San Francisco in March 2023.