Trading algorithms, self-driving cars, warehouse robots and language-model assistants increasingly share their environments with other automated agents. Multi-agent systems studies what happens when many decision-makers, each pursuing its own goals, act in the same world.
We will classify environments, describe percepts, actions and policies, and finish with other agents.
Step 1: Kinds of environments
An agent perceives its environment and acts on it to achieve goals. Environments differ along several lines: fully or partially observable, depending on whether the agent sees the whole state; deterministic or stochastic; episodic, where each decision stands alone, or sequential, where actions affect what comes later; static or dynamic; and single- or multi-agent, with the other agents cooperative, competitive or mixed.
Examples: classifying each image independently is episodic. Chess against a fixed program is fully observable and competitive. Poker is partially observable, since players cannot see each other's cards. A self-driving car on a busy road faces the hard case on every line: partially observable, stochastic, sequential, dynamic and full of other agents.
Step 2: Percepts, actions and policies
Formally, an agent receives percepts, takes actions, and chooses actions by a policy: a rule mapping what it has perceived so far to what it does next. The environment has states that change by its dynamics, which depend on the actions taken, and it produces the percepts the agent receives. In a fully observable environment the percept is the state itself.
Step 3: Other agents
With several agents, each one's environment includes the others, who are also adapting. In a Markov decision process the transition probabilities stay fixed; here, from one agent's point of view, they shift whenever the others change their behavior, so the environment is nonstationary.
Because each agent's best action depends on what the others do, game theory enters, along with communication and the question of what counts as rational. Interests can be aligned, as for warehouse robots sharing aisles, opposed, as for two chess programs, or mixed, as for trading algorithms. For AI safety, multi-agent settings matter because agents may collude, deceive or exploit others in ways no single agent was designed to.