Creating AI Agents with Small Language Models