Original link: Building AI Agents with llama.cpp / KDnuggets.
Note that even though llama.cpp as the name implies is C++, then the client code written is Python.