pguso / agents-from-scratch
Build AI agents from first principles using a local LLM - no frameworks, no cloud APIs, no hidden reasoning.
Why this job: says: from scratch

What it does
This repository teaches how AI agents actually work by building one agent step by step from a single local LLM call.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 3 months ago
- Stars
- 1,072
- +3 this week
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- None yet
- No releases
- Built with
- Python
- 100% of the code
Is it looked after?
- Contributors
- 0
- Last 90 days
- Issues
- 20% closed
- 4 still open
- Pull requests
- 2 merged
- 1 waiting
- Releases
- None
- Never published
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
More: languages, topics and project record
Languages
- Python 100%
Topics
- agent-architecture
- ai-agents
- ai-education
- ai-from-scratch
- artificial-intelligence
- llama
- llm
- local-llm
- machine-learning
- no-framework
- open-source-education
- prompt-engineering
Project record
- JobLists and guides
- StatusListed
- Commits23
- Forks264
- Watching14
- Stars in 28 days+29
- CreatedDec 22, 2025
- First seen by usNov 7, 2026
- CheckedNov 9, 2026
