← all repositories

pguso/ai-agents-from-scratch

Educational tutorial project that walks through building AI agents from scratch using local LLMs and node-llama-cpp.

4.2k stars JavaScript LearningAgents
ai-agents-from-scratch
Velocity · 7d
+19
★ / day
Trend
steady
star history

The repository provides a hands-on learning path for understanding AI agent internals before using production frameworks. It demonstrates fundamental concepts like LLM interaction, function calling, agent memory systems, and the ReAct (Reasoning + Acting) pattern. Code examples progressively build from basic LLM calls to full agent architectures. A companion website at agentsfromscratch.com offers conceptual explanations and visualizations for the code in this repo.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.