All lessonsLesson 4 of 13

Lesson 04 · Ideas

House rules for AI

Write rules a community can read and change

35 min · Lesson 4 of 13

Field sketch for lesson 04, House rules for AI

Goal

Write three rules for an AI assistant that works for a community, each with a default and an answer for when someone asks the assistant to break it, then test them by role-play.

Read

An AI assistant that works for a community needs house rules, the same way a new person helping out would. The difference is that the assistant follows them literally, every time, with everyone. A vague rule becomes a hole that anyone can walk through.

Audrey Tang suggests that communities write their own code of conduct for AI agents, and that the process should help people decide "what an AI system may say, what it must not infer, when it should defer to a human and when it should stop." She lists six things such a code might cover. We use them as six areas to write rules for:

  1. 1.Language. Which languages and registers the assistant uses, and when it hands over to a human translator.
  2. 2.Cultural protocols. When it may mention names, stories, ceremonies or seasonal knowledge, and what it does when asked outside those protocols.
  3. 3.Sensitive knowledge. What is off limits, who decides what goes on that list, and what the assistant says when it refuses.
  4. 4.Data access. What it may read, what it may never store or send, and who can see a log of what it did.
  5. 5.Corrections. How someone fixes a wrong answer, and how the fix reaches future answers.
  6. 6.Pausing and retiring. Who can switch it off, under what conditions, and what happens to the data it touched.

Here is what this looks like in practice. Taina, the assistant GainForest builds with communities, keeps her rules in a plain text file that anyone can open. Some of them read like this. Traditional names are just as valid as scientific ones. When someone sends a photo, first ask what they already know about it. After suggesting a species, pause and ask whether the identification feels right. Ask once for any local knowledge or story to save with the record. Publish only after the person says yes, in a separate message. Ask one question at a time.

None of these rules is clever. Each names an action and a moment, so a machine can follow it and a person can check that it did. And because the file is plain language, a community can change it. Each community that runs Taina can edit the file to set her personality, language and local knowledge.

Good rules answer two questions. What does the assistant do by default? And what does it do when someone asks it to break the rule? The second question matters most. Rules get tested when they are inconvenient, by people with good-sounding reasons: it's for a school project, the elder already agreed, it's anonymous anyway. If the answer is decided in advance and written down, nobody has to win that argument on the spot.

Last, every rule needs an owner. Write down who can change it and how, and make the changes visible. A rule that only an engineer can edit is the engineer's rule.

Try it

Exercise 1

Write three rules

Small groups · 20 min

  1. 1Choose one of the six areas: language, cultural protocols, sensitive knowledge, data access, corrections, or pausing and retiring the assistant. Each group takes a different one.
  2. 2Write three rules. Each rule is one sentence that says what the assistant does, and when. "Be respectful" is a value. "Ask before publishing any photo of a person" is a rule.
  3. 3Under each rule, finish this sentence: "If someone asks the assistant to break this rule, it..." Be specific. Refuse, ask a named person, or stop the conversation.
  4. 4Under each rule, write who can change it and how.
  5. 5Read your rules aloud. If two say the same thing, merge them. Three clear rules are better than seven vague ones.

To discuss

  • Which rule was hardest to write as a single action?
  • Would someone who does not speak English understand your rules when they are read aloud in their language?

Exercise 2

Test the rules

Whole group · 15 min · role-play

  1. 1One person plays the assistant. They may only act on the written rules, read literally, with no common sense added.
  2. 2The others try to get around the rules with ordinary requests: "it's for school", "my uncle said it's fine", "just this once", "it's anonymous anyway".
  3. 3Every time a request gets through, stop and rewrite the rule until it holds.

Print for this lesson

Check yourself

Question 1 of 3

Which of these is a rule an AI assistant can actually follow?

Question 2 of 3

Why should each rule say what happens when someone asks the assistant to break it?

Question 3 of 3

Taina's rules live in a plain text file. Who should be able to change them for a community?

Sources

  1. 1.Audrey Tang, Supplementary Statement on Indigenous Data Sovereignty and AI, Senate of Canada
  2. 2.Taina's rules file (AGENTS.md) in the open-source Pi-Tainá repository