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

This project helps software developers understand and build AI agents from foundational principles. It takes you step-by-step through creating a functional agent using a local large language model, starting with basic text interactions and progressing to complex planning, memory, and tool usage. You'll gain a deep, transparent understanding of how agents work by building one from scratch.

593 stars.

Use this if you are a software developer who wants to learn the mechanics of AI agent development without relying on frameworks or cloud services.

Not ideal if you are looking for a quick demo, a ready-to-use product starter kit, or believe AI agents are sentient.

AI-development software-engineering LLM-applications agent-architecture local-AI
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.