pguso/agents-from-scratch

Build AI agents from first principles using a local LLM - no frameworks, no cloud APIs, no hidden reasoning.

58
/ 100
Established

Structured around 12 progressive lessons, it teaches agent fundamentals by evolving a single `Agent` class through observable steps: routing logic, tool integration, observe-decide-act loops, memory management, atomic action execution, and dependency graphs (Atom of Thought). Built in Python with local GGUF models, it includes evaluation frameworks for regression testing and telemetry for runtime observability—emphasizing explicit constraints and state management over prompt engineering.

593 stars.

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

How are scores calculated?

Stars

593

Forks

146

Language

Python

License

MIT

Last pushed

Jan 14, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/pguso/agents-from-scratch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.