ALENZA CODES

A city chatbot that gave unlawful advice

New York City's business chatbot told users they could take actions that break city and labour law.

What happened

In 2024, the investigative newsroom The Markup tested MyCity, New York City's AI chatbot for business owners. It found the chatbot gave answers that were wrong and, in some cases, would lead users to break the law, for example on whether landlords could refuse tenants with housing vouchers and on workers' tips. The city kept the tool online with added disclaimers.

What failed

  • A public-sector chatbot answered legal and regulatory questions without reliable grounding in the actual rules.
  • Pre-launch testing did not catch high-stakes errors on common questions.
  • Disclaimers shifted responsibility to users who came to the city precisely because they did not know the law.

Prevention

For any government or municipal chatbot:

  • Build a test set of real resident and business questions, with answers verified by the responsible department, and require a pass rate before launch.
  • Restrict the chatbot to answering from official sources, citing them, and declining when unsure.
  • Route legal, benefits and enforcement questions to humans.
  • Retest after every model, prompt or content update, and publish a summary of testing.

Our sample assessment report walks through exactly this scenario for a fictional town.

Sources

  1. The Markup: NYC's AI chatbot tells businesses to break the law (2024)