AI Engineer from Scratch
juliepy/AI-Engineer-from-scrach
Chinese-language agent interview handbook with code demos and Hermes Agent source-reading notes
AI Engineer from Scratch is a Chinese-language study repository for AI agent, RAG and multi-agent interviews, with runnable demos and notes. For Hermes Agent users it includes a folder that reads through the Hermes source: memory, the main loop, eval, prompts, environment, cron and the gateway.
What AI Engineer from Scratch does
The repository is organized as numbered topic folders, each mostly a standalone demo of .py or .ipynb files. Early folders cover function calling, ReAct, Plan-and-Execute, Reflexion, multi-agent patterns, RAG from simple to agentic, memory types, model routing and building an LLM from scratch. The second half turns to reading open-source agent source code and to engineering practice, including Loop Engineering, CI/CD and LangGraph.
Folder 08-hermes-agent holds the Hermes source-reading notes on memory, the main loop, eval, prompts, environment, cron and the gateway. Folder 12-hermes-agent-small contains waku, a local-first teaching assistant organized around the agent loop, memory and eval. Folder 13-pi-agent covers the Pi agent architecture. The README suggests reading the Hermes folder first to build a runtime mental model, then waku, then Pi for a TypeScript core and interactive split. The text is in Chinese, and the author links a Bilibili channel.
Key features
- Hermes source-reading notes on memory, main loop, eval, prompts, environment, cron and gateway
- waku, a small local-first teaching assistant in the 12-hermes-agent-small folder
- Code demos for ReAct, Plan-and-Execute, Reflexion and multi-agent architectures
- RAG examples from basic to agentic RAG, plus memory and model routing demos
- Separate folders for Pi agent, Loop Engineering, CI/CD and LangGraph
When to use it
- Learning how the Hermes Agent runtime is structured by reading annotated source notes
- Preparing for AI agent or RAG engineering interviews
- Comparing the Hermes architecture with the Pi agent's TypeScript design
Who it is for: Chinese-reading developers studying agent internals or preparing for agent engineering interviews who want to understand how Hermes Agent works.
How it fits with Hermes Agent
It is a learning resource rather than a Hermes tool: one folder of Hermes source notes and one small Hermes-inspired teaching agent sit inside a broader agent-engineering course.
Requirements: A Python environment; API keys are configured in a .env file at the repository root
Note: The README and notes are written in Chinese, and the repository has no license file.
FAQ
What is AI Engineer from Scratch?
AI Engineer from Scratch is a Chinese-language repository of code examples and notes for AI agent, RAG and multi-agent interviews. Its later folders study open-source agent source code, including Hermes Agent.
Does AI Engineer from Scratch work with Hermes Agent?
It does not plug into Hermes Agent. It contains study notes that walk through the Hermes source and a small teaching agent called waku, so it is a way to learn how Hermes works.
Is AI Engineer from Scratch free and open source?
The repository has no license file, so default copyright applies. Check with the author before reusing the code or notes.
Similar resources for Hermes Agent
All resourcesGuide to running Hermes Agent cheaper, faster and safer, verified against Hermes Agent v0.21.4
cclank Hermes WikiSource-based architecture wiki for Hermes Agent, written in Chinese
ZeroPointRepo Awesome Hermes SkillsCurated directory of Hermes Agent skills, plugins, memory providers, profiles and guides
aristoapp Awesome AI Second BrainCurated comparison of second-brain and AI memory systems, including Hermes Agent setups
madhvantyagi SOUL.md LibraryCollection of portable SOUL.md persona files for agents, with Hermes Agent install instructions
Agenta-AI Awesome AI Agent PlatformsCurated list of open-source AI agent platforms with license and hosting notes, including Hermes Agent
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · What is Hermes Agent?