An agent is a piece of Python code which knows how to generate sounds -- both sound samples and other agents. Agents are one of the two basic elements of a soundscape.