pguso/ai-agents-from-scratch
Demystify AI agents by building them yourself. Local LLMs, no black boxes, real understanding of function calling, memory, and ReAct patterns.
Implements core agent patterns with local LLMs through **node-llama-cpp** and **JSON Schema tool definitions**, progressing through function calling, iterative ReAct loops, and plan-based reasoning without external dependencies. The curriculum separates concept explanations from code walkthroughs, enabling learners to understand architecture before exploring implementations. Targets JavaScript/Node.js developers seeking hands-on mastery of agent foundations prior to adopting production frameworks like LangChain.
3,283 stars.
Stars
3,283
Forks
488
Language
JavaScript
License
MIT
Category
Last pushed
Jan 21, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/pguso/ai-agents-from-scratch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related agents
InfinitiBit/graphbit
GraphBit is the worldβs first enterprise-grade Agentic AI framework, built on a Rust core with a...
autogluon/autogluon-assistant
Multi-Agent System Powered by LLMs for End-to-end Multimodal ML Automation
mnfst/awesome-free-llm-apis
Permanent Free LLM API List (API Keys) ππ
pguso/agents-from-scratch
Build AI agents from first principles using a local LLM - no frameworks, no cloud APIs, no...
samholt/L2MAC
π The LLM Automatic Computer Framework: L2MAC