How AI Agents Earn Trust: The Building Blocks of Onchain Reputation