These agents work by modulating the immune system's components, often through the activation of macrophages and other innate immune cells. They may increase the production of cytokines, which are chemical messengers that help coordinate the body's response to infection and inflammation. Additionally, they can enhance the activity of natural killer cells and cytotoxic T lymphocytes, which play a critical role in identifying and destroying infected or cancerous cells.