ai behavioral pattern novel