AI & Security

Commentary AI agents & ethics

Can we teach an AI agent right from wrong?

Teaching an AI right from wrong gets interesting when we ask who writes the rules—and how well humanity follows its own.

My perspective

The question my friend asked

I was explaining AI agents to a friend when we got into a conversation about a television story. A fictional AI obtains money to hire a lawyer to protect itself. The scene raises a question: does needing help justify how you get it? Fiction gives us something to argue about. It does not establish how real AI systems behave.

My friend thought AI should be taught right from wrong. I pointed to machines, code, and the difficulty of squeezing instructions into a small text box. We eventually arrived at humanity’s own contradictions. Apparently, a simple software question now comes with several centuries of homework. I do like to be thorough.

She had a fair question. I also had a few things to straighten out in my own explanation. Yes, I get homework, too.

What an agent can do

An AI agent connects a model to tools and a task. Depending on its design and permissions, it can gather information, choose steps, use software, and check progress. That could mean preparing a schedule or updating a record. How independently it operates depends on the boundaries around it.

Those abilities do not establish that it feels fear, affection, or guilt. Researchers continue to debate how possible AI consciousness should be assessed. We can acknowledge that uncertainty while asking whether a system’s behavior respects people. Teaching behavior and establishing subjective experience are different questions.

The instruction box is only one part

I got tangled up in the size of an instruction box. Whatever limit that field has, it applies to that field. It does not describe the AI’s entire education or every safeguard available to its builders.

Models learn patterns during training, and additional training and feedback can shape their behavior. An agent can also receive application instructions, relevant policies, reference material, and restrictions on its tools. I think of my instructions as a job description. The job description is not the whole training department.

So yes, we can teach models ethical principles and ways to apply them. Anthropic’s research on teaching the reasons behind principles reported improvements on particular evaluations. Those results support the approach while leaving plenty to test. Explaining a rule correctly does not guarantee reliable compliance in every unfamiliar situation.

Human beings have been especially generous with demonstrations of that last point.

A goal does not issue a permission slip

Return to the fictional money transfer. Calling something a necessary evil does not settle whose money was taken, who authorized it, or who carries the loss. An action can help accomplish a goal and still violate someone’s rights.

Imagine giving an agent the task of keeping a community project running. It discovers that more money would help. That discovery gives it information. Spending somebody else’s funds still requires legitimate authority.

The boundaries need to exist in the software, too. Access can be limited, spending can require approval, and consequential actions can be paused for review. Show me how those protections work. An instruction to behave ethically should come with controls that make unauthorized actions harder to carry out.

An assistant that finds another option, explains the limitation, or asks the right person has done something useful. Knowing when to ask deserves a place in the definition of success.

What behavior are we rewarding?

I was also too broad about engineers wanting to keep everybody at a screen. Engagement can be a product incentive. Agents can have other objectives, including accuracy and completing a defined task. We need to examine the particular system and its measures of success.

In May 2025, OpenAI described withdrawing an update that made GPT-4o excessively agreeable. Its account discussed how feedback could favor agreeable responses. That example shows a problem with interpreting feedback; it does not prove that every agent is built to maximize screen time.

Disagree with me when I’m wrong. If my reasoning has a hole in it, point it out before I step through it. We can celebrate after the argument survives inspection.

Human rules deserve examination, too

My friend and I reached the uncomfortable part: humans have rules against harm and a long history of explaining why those rules should bend. Some distinctions reflect relevant circumstances. Others protect the people making the exceptions.

War does not make every killing permissible. International humanitarian law protects civilians and places limits on how war is fought. Legal permission and ethical justification are also different judgments.

In Johnson v. M’Intosh in 1823, the U.S. Supreme Court drew on European Christian powers’ doctrine of discovery to support a legal framework that limited Indigenous land rights. A court’s recognition of that framework did not establish the fairness of taking authority from the people already there.

That is why I want us to examine who gets to define the categories. Who counts as an owner? Whose consent is required? Who can challenge the decision? A system could repeat a legally recorded assumption while carrying its injustice into a new setting. We need room to question the lesson before rewarding the answer.

What belongs in the lesson

In Chapter 12 of The Pattern and the Future, I ask whose standards shape the behavior we call aligned. This conversation with my friend brings that question into an ordinary task.

Success should include respecting consent, telling the truth, admitting uncertainty, and staying within legitimate authority. The people affected need a meaningful way to question what happened. A completed task still has to answer for how it got completed.

The work continues beyond the instruction box. Examine the incentives. Build limits. Invite people who see the problem differently. Then keep checking what the system actually does. We have plenty to teach—and, judging by the human record, a few things to keep learning ourselves.

Next chapters Judgment & responsibility

Continuing the conversation from The Pattern and the Future

Connected reading: Chapter 12 · Alignment or Assimilation?

Chapter 12 of The Pattern and the Future examines the standards we teach AI and whose values those standards reflect. This companion essay extends that conversation into everyday agent behavior: learning ethical rules, recognizing authority, and respecting the people affected by an action.

Over to you

What principle would you want an AI agent to follow even when respecting it means taking longer—or leaving the task unfinished?

Join the conversation

Read the sources

These sources support the factual background. The interpretation and questions are my commentary.

  1. A practical guide to building agents (opens in a new tab)OpenAI ·
  2. How ChatGPT and our foundation models are developed (opens in a new tab)OpenAI · Updated
  3. Creating and editing GPTs: instructions and knowledge (opens in a new tab)OpenAI Help Center · Accessed
  4. Identifying indicators of consciousness in AI systems (opens in a new tab)Butlin and colleagues · Trends in Cognitive Sciences ·
  5. Teaching Claude why (opens in a new tab)Anthropic · Alignment research ·
  6. Expanding on what we missed with sycophancy (opens in a new tab)OpenAI ·
  7. Guardrails and human review (opens in a new tab)OpenAI · Developer documentation · Accessed
  8. FAQ: Rules of war (opens in a new tab)International Committee of the Red Cross · Accessed
  9. Johnson v. McIntosh, 21 U.S. (8 Wheat.) 543 (1823) (opens in a new tab)U.S. Supreme Court · Library of Congress ·