The advent of e-commerce has brought about a radical change in the process of auctions. There is a trend towards automation in the process of auctions. Agents are widely used in this automation process. Case-based reasoning is a process which provides a user a method to automate the process of bidding. This process has an inherent learning component. CBR combined with a bidding agent for strategizing the bidding functionality provides a flexible solution for automating the bidding process for any type of auction in any domain. This paper proposes a generic bidding agent which can participate in the auction. The proposed solution is based on CBR learning technique and software agents.