How do artifacts work?

Is it like regular gear where you can infuse traits into them or do we have to roll a perfectly traited artifact?