Building Agents for Small Language Models: A Deep Dive into Lightweight AI