To generate a list of portrait assignments, define the name of a set of portraits, the number of portraits in that set, and the format that is being used. For example, choosing elf, 3, and .png would generate:
elf1.png elf2.png elf3.png
I'll pretty this up in the future, but for now it's functional.
These have been divided into vanilla agents and mod agents.