Generated agent placeholder
Initial version

It's not pretty (there's almost no error checking) but it does work in the simple case.