BigHugger
GH Repository · 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.

stars
4,764
30-day movement
+8027/day
Related entries
60
Connections
1
agent-appJavaScriptnodetutorialnode-llama-cppreact-agentllm-agentllmfunction-callingeducationalai-agents

A tutorial repository that teaches how AI agents work by building them step by step with local LLMs, covering function calling, memory, and ReAct patterns. It is a JavaScript project using node-llama-cpp, MIT licensed, structured as an educational walkthrough rather than a production library.

Use it when you want hands-on understanding of agent internals without relying on hosted APIs or opaque frameworks.

Use it to

  • Build an agent with local LLMs via node-llama-cpp
  • Learn function calling implementation
  • Implement memory for LLM agents
  • Follow a ReAct agent pattern tutorial

For JavaScript developers learning how LLM agents work

Role
agent-app
Language
JavaScript
Licence
MIT
Forks
696
Open issues
11
Last push
2026-07-24
topicsai-agentstutorialfunction-callinglocal-llmnode-llama-cppreact-agent