Autonomous Agents, Multi-Agent Systems and the Ethics of Autonomy
IB Computer Science · Control (HL)
What makes an agent autonomous. An ordinary control system follows fixed rules set by a person and leaves decisions to that person. An autonomous agent closes the loop without a human inside it: it senses its environment, decides using its goals and a model of the world, acts through actuators, and its action changes the environment it senses next. Three levels of autonomy appear in questions. A reactive agent applies fixed if-then rules — a robot vacuum that turns when it hits a wall — fast and predictable but unable to plan or learn. A goal-based agent plans a route to an objective using a model of the world — a warehouse robot navigating around obstacles. A learning agent changes its behaviour from experience — a self-driving car's perception system — most capable, and least able to explain why it did what it did.
Multi-agent systems. Many simple agents cooperating or competing can solve problems no single agent could: a swarm of drones mapping a disaster area, traffic lights negotiating with each other, delivery robots sharing a warehouse. The advantages are robustness (one agent failing does not stop the system), scalability and parallelism. The difficulties are coordination (two robots wanting the same aisle), communication overhead, and emergent behaviour — the system as a whole doing something nobody designed, sometimes useful and sometimes a traffic jam of robots each politely yielding to the other.
Why autonomy raises ethical questions that ordinary software does not. When a program advises and a person decides, responsibility is clear. When the agent decides, four questions open. Responsibility: when an autonomous car injures someone, is it the programmer, the manufacturer, the owner, the regulator who certified it — or nobody? Explainability: a learning agent may be unable to give reasons for a decision, which matters in medicine, credit and justice. Whose goals: an agent is optimised for something — the passenger's safety or the pedestrian's, profit or fairness — and that choice is made by its designers, usually invisibly. Control: is there a stop button, and after years of not intervening do humans still have the skill to take over? Beyond these: job displacement, surveillance by autonomous systems, and bias learned from biased data.
How to answer an ethics question. Name who is affected and how; distinguish harms that are likely from those that are possible; and propose a design or policy that reduces the risk — logging every decision for audit, keeping a human able to override, testing on diverse data, clear legal liability. An answer that merely lists "ethical issues" scores little; one that connects a specific harm to a specific design choice scores fully.
Worked example: Example 1 — classifying the level of autonomy and choosing the right level for a hospital robot
A hospital wants a robot to carry medicine from the pharmacy to the wards, sharing the corridors with people. Three proposals: (A) a robot that follows a magnetic strip stuck to the floor and stops when its sensor sees an obstacle; (B) a robot with a map of the hospital that finds its own route and avoids obstacles; (C) a robot that learns from cameras to predict people's movements and weave through them. Classify and choose.
Solution
Classification. A is a reflex agent: fixed rules following the strip, stopping when it meets an obstacle; no world model. B is a goal-based agent: it has a map, plans a route to the destination ward, and replans when it meets an obstacle. C is a learning agent: its behavior changes with camera data, with no clear rules to read.
Evaluating A. Cheap, absolutely predictable, easy to certify: every behavior can be read from the rules. But a cart left on the strip makes the robot wait indefinitely, and every change to the corridor layout requires re-sticking the strip. Suitable for a small hospital with corridors with few people.
Evaluating B. Much more flexible: goes around obstacles, changes route when an elevator is broken. Still predictable because the plan is computed by a clear algorithm and every decision can be logged. Needs an up-to-date map and better sensors, more expensive than A.
Evaluating C. Weaves through crowds best, but cannot explain why it chose to turn left, cannot be certified for every situation, and may learn wrongly from data — for example avoiding people in white coats because doctors often yield. In a hospital, where collision with an elderly patient is real harm, predictability matters more than dexterity.
Choose B with two constraints. A low speed limit in crowded corridors, and a reflex rule stop when anything is within 0.5 m placed above every plan — the simplest, most predictable safety layer wrapped around the intelligent layer. General conclusion: the level of autonomy should be the lowest level that can do the work, and the safety layer is always a reflex.
Worked example: Example 2 — answering an ethics question on self-driving cars with the right structure
Question: Discuss the ethical issues of allowing self-driving cars to operate on public roads. Write a mark-earning outline and point out what a weak answer usually writes.
Solution
A weak answer. A list: there is a responsibility issue, there is a privacy issue, there is a jobs issue, the car could cause an accident. One sentence per point, no specific person affected, no design proposed. Low marks even though the points are right.
Point 1 — responsibility, with the people affected and a risk-reducing design. When a car causes an accident, the victim needs compensation but the chain of responsibility is broken: the person sitting in the car did not drive, the manufacturer says the software worked as designed, the sensor supplier says the sensor met specification. Risk-reducing design: a law making the manufacturer responsible when the car is in self-driving mode, together with a black box recording every decision and the sensor data to determine the cause.
Point 2 — whose goal. When a collision cannot be avoided, the software must choose — and that choice is built in by the designer, who may prioritize passengers because they are the customers. Pedestrians and cyclists, who do not buy the product, bear the risk without a voice. Risk-reducing design: public standards set by a regulator, not by each manufacturer, and independent certification.
Point 3 — explainability and bias. A perception system learns from data; if the data has few dark-skinned pedestrians at night, the car recognizes them less well — the harm falls on a specific group. Risk-reducing design: require testing on a published diverse dataset, and minimum recognition thresholds by group.
Point 4 — control and skill. The car asks a person to take over in difficult situations, but a person who has not driven for many hours reacts more slowly — the handover is the most dangerous moment. Risk-reducing design: either full autonomy within a limited domain (highways, low speed) or continuous monitoring of the driver's attention.
A conclusion with a position. Allow it in stages, within a defined operating domain, with a black box, clear legal liability and independent certification — rather than banning it or allowing it entirely. The structure of each point is: who is affected, how, and which design reduces it.
Common mistake
Trap 1 — choosing the highest level of autonomy because it is the smartest. The lowest level that can do the work is the right one, and the safety layer is always a reflex.Trap 2 — listing ethical problems with no one affected. Each point must have a specific victim and a risk-reducing design.
Trap 3 — treating emergent behavior as a programming bug. It is a property of multi-agent systems; the design must detect and block it.