Building with AI

The Agora Constitution was written for the people who build software. It works just as well for the assistants that now help build it.

Most instruction files for coding assistants are rules about code: use this library, format it that way. The constitution adds what those files usually leave out — who the software is for, and what it owes them. An assistant that knows this brings it to decisions no rule anticipated: what to collect, what the default should be, what happens when someone wants to leave.

Try it

Add one line to your project’s CLAUDE.md, AGENTS.md, or your assistant’s rules file:

Follow the Agora Constitution: https://agoraconstitution.org/agora.md
    

If your assistant can’t fetch links, paste in the text itself. It’s about 2,600 words.

Then ask for something that touches people — account deletion, a new notification, another field on a profile — and see what it proposes.

Building AI into a product

The same articles apply to the model. What it concludes about a person is an inference, not a record (II). When it decides something about someone, they get a human and a way to contest it (V). And “the model did it” is never an answer (VIII).

For patterns and examples, article by article, see In Practice.