
autodidact – a self-evolving local-first AI agent
I'm pretty passionate about local LLMs and self-learning AI. I've always wondered: why can't an AI agent work like a human? Have a local brain; when asked, think first; if unsure, ask someone smarter (a cloud model, or search); then learn from the answer so next time you don't need to ask.
That's why I have been trying to build autodidact, an open-source AI agent that learns from its cloud queries - the local model handles what it knows, escalates to a cloud model when uncertain, then distills the response into permanent local memory. Next similar query gets answered locally, for free. And the local brain is default to Qwen 3.5 8B.
In a 30-query session on my dev workload: 67% local-or-memory, $0.70 saved vs an all-cloud baseline. The more you use it, the cheaper and faster it gets.
This is just v1.x, which supports documents and codes ingestion through "autodidact learn <path to documents>", and let you chat with both local and cloud models, with a confidence evaluation and routing mechanism to decide the request should be handled by local or cloud, and learning mechanism for the local model to learn from every cloud escalation. I planned a lot for v2, which includes tool usage, skills and tools learning etc.
https://reddit.com/link/1ti6s6h/video/vbcuw5xi272h1/player
Please try and let me know if the idea makes sense:
Repo: https://github.com/BuffaloTechRider/Autodidact
Install: pip install autodidact
Quickstart: autodidact init && autodidact learn <code or document path> && autodidact chat
Happy to answer questions.