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.

55
/ 100
Established

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.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 22 / 25

How are scores calculated?

Stars

3,283

Forks

488

Language

JavaScript

License

MIT

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.