Skip to content

Glossary: Multi-Agent Systems

dataclass

Also written: @dataclass, dataclasses.replace, replace

A Python decorator that writes `__init__` for a class from its fields, used for `Agent` and `TaskSpec`. `replace()` copies one with a field changed, such as an agent with a different tool list.

Where the book teaches it

Related terms

Task specAgent (class)