Managing the performance of e-commerce sites is challenging. Site content changes frequently as do customer interests and business plans, contributing to dynamically varying workloads. To, maintain good performance, system administrators must tune their information technology environment on an ongoing basis. Unfortunately, doing so requires considerable expertise and increases the total cost of system ownership. In this paper, we propose an agent-based solution that not only automates the ongoing system tuning but also automatically designs an appropriate tuning mechanism for the target system. We illustrate this in the context of managing a Web server. There we study the problem of controlling CPU and memory utilization of an Apache(R) Web server using the application-level tuning. parameters MaxClients and KeepAlive, which are exposed to the server framework under the Agent Building and Learning environment (ABLE), we construct agents to fully automate a control-theoretic methodology that involves model building controller design, and run-time feedback control. Specifically, we design (1) a modeling agent that builds a dynamic system model from the controlled server run data, (2) a controller design agent that control theory to derive a feedback control algorithm customized to that server, and (3) a run-time control agent that deploys the feedback, control algorithm in an on-line real-time environment to automatically manage the Web server The designed autonomic feedback control system is able to handle the dynamic and interrelated dependencies between the tuning parameters and the, performance metrics with guaranteed stability from control theory. The effectiveness of the AutoTune agents is demonstrated through experiments involving variations in workload, server capacity, and business objectives. The results also serve as a validation of the ABLE toolkit and the AutoTune agent framework.