Build AI agents locally without frameworks, demystifying function calling, memory, and ReAct patterns using node-llama-cpp.