ABAB Pedia

Alex Rattray

Alex Rattray, whose full name is William Alexander Rattray, is a software engineer and entrepreneur who grew up in Seattle. At the University of PennsylvaniaUniversity of PennsylvaniaThe University of Pennsylvania, commonly called Penn, is a private research university and Ivy League member in Philadelphia. It traces its origins to a 1740 charity-school project; Benjamin Franklin proposed his academy in 1749, classes began in 1751, and a 1791 merger established the institution under its present name. Penn has 12 schools, with undergraduate education concentrated in arts and sciences, engineering, nursing and Wharton. Enrollment totaled 29,384 in fall 2025, and the fiscal 2025 endowment was $24.81 billion. As of October 2026, J. Larry Jameson was president, with his term scheduled to end on June 30, 2027.Open the full entry he helped start a bicycle-share program and a company that made classroom exam software. He later worked in Bangalore and San Francisco and built developer tools at StripeStripeStripe is a payments and programmable financial services company co-founded by Patrick Collison and John Collison, with headquarters in San Francisco and Dublin. Its products help businesses accept payments, manage subscriptions and usage-based billing, and handle tax and platform financial services; the company took part in YC’s summer 2009 batch, launched its payments product in 2011, and has gradually expanded into stablecoins, digital wallets and AI agentic commerce.Open the full entry. He founded Stainless in 2022, sold it to AnthropicAnthropicAnthropic is an artificial intelligence research and product company founded in 2021 that develops the Claude models, assistant, and tools such as Claude Code, and operates as a public benefit corporation. Dario Amodei and Daniela Amodei are its co-founders, and its research covers model safety, interpretability, and steerability.Open the full entry in May 2026 and announced The Pacific Benefit Company that November.

Contents40 sections
Key facts

Growing up in Seattle and starting high school

William Alexander Rattray uses the name Alex Rattray. He wrote that he was born and raised in Seattle, Washington. From 2006 to 2010 he attended Shorewood High School near the city.⁠[1][2][3][4]

High school cross-country

The Sunfair Invitational results in Yakima, Washington, list Shorewood ninth-grader Alex Rattray at 13 minutes 42.8 seconds for two miles.⁠[5][1][2]

Starting a high school newspaper

In his senior year he founded and ran The Backwoods, an independent student newspaper. His other early ventures included pitching energy-saving signs to Seattle’s electric utility and selling school bags he made from repurposed materials.⁠[1][6][7]

A website prize at the Student BioExpo

At the tenth Student BioExpo in Bellevue, he placed first in the website category with a project about turning algae into oil. The school credited Connie Kelly as the Shorewood students’ teacher.⁠[8]

Studying at Wharton

Rattray enrolled at the Wharton SchoolWharton SchoolThe Wharton School is the business school of the University of Pennsylvania. Established through Joseph Wharton’s gift in 1881, it offers undergraduate, MBA, doctoral and executive education.Open the full entry of the University of Pennsylvania in Philadelphia. He participated in PennGreen and the Penn Environmental Group, and took courses in decision processes, operations, information economics, probability in marketing, behavioral economics, creative nonfiction, and philosophy and science fiction. He also experimented with making skin-care products. He credited friends and hackathons with teaching him to code.⁠[2][6][9]

Planning a campus bicycle-share program

The summer after his first year, Rattray helped plan PennCycle as a board member of the university environmental group. He later described his roles as co-founder, director of operations and lead developer, and continued as an adviser after stepping back from operations.⁠[10][1]

Building DecisionCandy

Rattray developed DecisionCandy with Greg Terrono and Ceasar Bautista, who share the project credit with him. It was a web application for gathering feedback on fashion designs. He described himself as co-founder and developer. The repository was created in June, and his 2014 website described the project as dormant.⁠[1][11][12][13]

Visualizing university courses

He helped build CourseGrapher, an interactive comparison of average ratings for Penn courses and departments. His profile records second place at the fall PennApps hackathon.⁠[2][1]

Visualizing historical data

His Histography project placed historical events on interactive charts, using World Bank indicators to let readers explore changes in different countries over time.⁠[2][1]

University funding for PennCycle

Penn’s Green Fund backed a bicycle-share pilot based at Hill College House, working with Penn Student Agencies. The university named Rattray, Madison Roberts, Chris Crux, Jenny Xia and Elizabeth Cutler as student project leads. At the fall kickoff, Rattray spoke with students as the group introduced an online payment option.⁠[14][15]

Blogging tools and student projects

His project Acvte used Google Docs as a blog editor. His student portfolio also included an introductory guide to teaching oneself web development and a musical toilet that could post updates on Twitter, a project he made with fellow hackathon participants.⁠[2][1]

Taking classroom exams on laptops

The university degree register

Penn’s 2014 commencement program lists William Alexander Rattray under December 20, 2013 in the Wharton undergraduate Bachelor of Science in Economics register. Rattray himself gives 2014 as his graduation year.⁠[3][1][9]

A Benjamin Franklin virtue tracker

He submitted a PennApps project called Benjamin Franklin Virtues, a tool for tracking habits based on Franklin’s listed virtues.⁠[17]

Wharton’s Snider Seed Award

Wharton’s undergraduate graduation program named Alex Rattray and Pulak Mittal as recipients of its Snider Seed Award. Looking back on his years at Penn, Rattray wrote that he closed Emerald Exam around the time he graduated.⁠[18][6]

Travel and remote consulting in Asia

After Penn, he set aside a year to travel in Asia and supported himself with remote software consulting. In a September update to his website he described himself as traveling in Asia.⁠[19][6]

Working at a job marketplace in Bangalore

He spent three months at Babajob in Bangalore. His contemporary account describes a company of about 250 people that connected jobseekers with limited access to education to employment opportunities.⁠[6][20]

Moving to San Francisco to join Hired

He moved to San Francisco to work as a product and software engineer at hiring marketplace Hired, staying through January 2017. Colleague Walt Schlender credited him with helping define its Jobs product, improving existing systems and making product usage data more useful to the team’s analysts.⁠[6][20][2]

LightScript and open-source software

The public LightScript repository was created in July. Rattray developed the language before joining Stripe to simplify common JavaScript syntax. He also contributed to the open-source code formatter Prettier, including its option to omit trailing semicolons and its treatment of JSX.⁠[21][22][23][9][24]

Joining Stripe

From 2017 to 2020 he worked at payments company Stripe, mainly on tools for software developers. He found that many programmers experienced Stripe’s services through libraries in their own preferred language.⁠[9][25]

Redesigning Stripe’s developer documentation

He spent more than nine months on a redesign and rebuild of Stripe’s API documentation. In user interviews he observed how developers read the documentation and used the client libraries. He went on to design a system for generating client library code and worked on TypeScript types for Stripe’s Node.js SDK.⁠[25][9][26]

Starting work on the Narwall mask

While sheltering with a friend early in the pandemic, Rattray wanted a way to see vulnerable people without drawing on scarce medical supplies. In April he left his software job in CaliforniaCaliforniaCalifornia is a U.S. state on the Pacific coast; its capital is Sacramento and its largest city is Los Angeles. California was admitted to the Union on September 9, 1850, as the 31st state. Its population at the 2020 Census (April 1, 2020) was 39,538,223, the largest of any state.Open the full entry and began studying full-face snorkeling masks. He later hired an industrial engineer and financed the Narwall project himself.⁠[7][27][28]

Moving to Baltimore with his partner

He moved to Baltimore when his partner began a medical residency at Johns Hopkins Hospital. When his father was hospitalized in Seattle, Rattray wore his own mask on the flight to visit him. He also recalled a cousin in law school who intended to use the mask to travel home to see his parents.⁠[7]

Public launch of Narwall

Rattray was 28 when the full-face Narwall mask went on sale. An interview on Baltimore television showed its snorkel-like appearance. It was initially manufactured in California and sold for $85. He said he would be satisfied if the project broke even while helping people.⁠[28][7]

Discussing airline use of the mask

Stripe files a code-generation patent application

Stripe filed a US patent application for a code generator for software interfaces, naming William Alexander Rattray as inventor and claiming priority from March 25, 2020.⁠[4][26]

Founding Stainless in New York

Rattray founded Stainless in early 2022 and served as CEO. He lived in New York and listed Brooklyn on his GitHub profile. Stainless generated software development kits in several languages from a company’s API specification. This allowed a provider to update client libraries together when it changed the API. Sequoia dates its partnership with him to 2022. Sequoia lists Lauren Reeder, his former Emerald Exam collaborator, as its partner on Stainless.⁠[29][30][9][24][16]

US patent granted

The US Patent and Trademark Office issued Stripe patent 11,709,659, naming Rattray as its inventor.⁠[4][26]

Public release of the Stainless SDK generator

A $25 million Series A

A panel on the future of APIs

Discussing health software and a friend’s startup

He wrote that he had lived with several people in medicine and had heard them describe administrative obstacles patients faced when obtaining prescriptions. This informed his interest in Neon Health, a venture of his friend Stedman Hood and Harry Bleyan, and he offered to introduce interested people to the team.⁠[34]

Interview with Every

Dan Shipper interviewed him for Every about the distinction between websites and APIs, the use of existing services by AI applications, changes in programmers’ daily work and the role of Stainless’s tools. They also recalled knowing each other in Philadelphia. Rattray used to run barefoot through the city as a student. He said he had trouble finding shoes that fit and the pairs he bought often wore out within a few months.⁠[35]

From Stripe’s documentation to tools at Stainless

In a retrospective he connected the user research he had done at Stripe to his decision to build language-specific reference documentation at Stainless. His colleagues Alex Arena and Ryan Paul contributed to the work.⁠[25]

On programming communities

He described using intervals between jobs for independent projects such as LightScript. Although he had never attended Recurse Center, several people at Stainless came from the community, and he valued their habits of collaboration, craftsmanship and self-directed work.⁠[23]

Supporting a Google Gemini API

Selling Stainless to Anthropic

Anthropic announced its acquisition of Stainless. The companies had long worked together, and Anthropic said Stainless had generated every official SDK since the early days of its API. Rattray listed himself as a member of Anthropic’s technical staff and helped the original team and customers through the transition.⁠[37][38][24][39]

Announcing The Pacific Benefit Company

Rattray announced The Pacific Benefit Company. He described a capital structure intended for individuals, without professional investors, and a mission of improving people’s lives. He distinguished the venture from a technology startup. His announcement gave no formal end date for his role at Anthropic.⁠[39][40][24]

Related Organizations, Websites, and Public Accounts

The Pacific Benefit Company: Official website: https://pacificnewyork.com/ (opens in a new window).⁠[40]

Sources40 sources

  1. Personal website — June 2014 version (opens in a new window)github.com↑
  2. Alex Rattray (opens in a new window)linkedin.com↑
  3. Commencement Program, University of Pennsylvania, 2014 (opens in a new window)archives.upenn.edu↑
  4. US Patent 11,709,659 B1 (opens in a new window)image-ppubs.uspto.gov↑
  5. Sunfair Invitational — two-mile results (opens in a new window)athletic.net↑
  6. Personal website — October 2015 version (opens in a new window)github.com↑
  7. A 28-year-old ‘nerd’ in Baltimore invented a new type of mask, and tapped into the strangeness of this 2020 holiday season (opens in a new window)washingtonpost.com↑
  8. Shorecrest, Shorewood students win BioExpo awards (opens in a new window)shorelineareanews.com↑
  9. Alex Rattray, Now On The Internet! (opens in a new window)alexrattray.com↑
  10. PennCycle plans at the University of Pennsylvania (opens in a new window)thedp.com↑
  11. DecisionCandy (opens in a new window)github.com↑
  12. DecisionCandy — original project credits (opens in a new window)raw.githubusercontent.com↑
  13. DecisionCandy repository metadata (opens in a new window)api.github.com↑
  14. Honors and Other Things — Penn Green Fund Grants (opens in a new window)almanac.upenn.edu↑
  15. PennCycle introduces online payment method (opens in a new window)thedp.com↑
  16. This Dorm Room Fund-backed startup wants to modernize the college exam (opens in a new window)technical.ly↑
  17. Benjamin Franklin Virtues (opens in a new window)devpost.com↑
  18. Wharton Undergraduate Program Graduation Ceremony, May 18, 2014 (opens in a new window)graduation.wharton.upenn.edu↑
  19. Personal website — September 2014 version (opens in a new window)github.com↑
  20. Personal website — January 2017 version (opens in a new window)github.com↑
  21. LightScript project repository metadata (opens in a new window)api.github.com↑
  22. LightScript: JavaScript, with cleaned-up syntax and a few conveniences (opens in a new window)lightscript.org↑
  23. Reflections on Recurse Center, working between jobs and Stainless (opens in a new window)linkedin.com↑
  24. Alex Rattray (rattrayalex) (opens in a new window)github.com↑
  25. A full-circle moment for me — Stripe API documentation and Stainless (opens in a new window)linkedin.com↑
  26. US11709659B1 — Systems and methods for a code generation tool for software development systems (opens in a new window)patents.google.com↑
  27. NJ men kicked off plane over scuba-like filtering mask (opens in a new window)nj1015.com↑
  28. Baltimore-Based Entrepreneur Creates Unique Face Mask For Those At High-Risk Of Contracting COVID-19 (opens in a new window)cbsnews.com↑
  29. Towards the API platform we always wanted: why we raised our $25M Series A (opens in a new window)stainless.com↑
  30. Alex Rattray — Founder, Stainless (opens in a new window)sequoiacap.com↑
  31. Announcing the Stainless SDK generator (opens in a new window)stainless.com↑
  32. Investing in Stainless (opens in a new window)a16z.com↑
  33. This was special — a discussion on the future of APIs (opens in a new window)linkedin.com↑
  34. Exclusive: Neon Health raises $6M — Alex Rattray’s note (opens in a new window)linkedin.com↑
  35. Transcript: He’s Building the Plumbing for AI to Use the Internet (opens in a new window)every.to↑
  36. For years, colleagues at Stainless would say we should win Google as a customer (opens in a new window)linkedin.com↑
  37. Anthropic acquires Stainless (opens in a new window)anthropic.com↑
  38. Stainless is joining Anthropic (opens in a new window)stainless.com↑
  39. Starting The Pacific Benefit Company (opens in a new window)linkedin.com↑
  40. Pacific — coming soon (opens in a new window)pacificnewyork.com↑