bag is a twanager command that is used to create a bag from the command line. See How do I set or edit a bag policy?.

If you want to create a bag with the default policy, and you are a POSIX platform, you can:
    twanager bag <bagname> </dev/null

Replacing <bagname> with the name of the bag.