About me
AboutClass of 2024, Data Science and Big Data Technology at Qingdao Institute of Technology. Rather than leaving what I learn in notes, I like pushing it to the point where it runs — from scripts and small tools to products people can actually use.
Most days I move between code, papers, and small tools, with an eye on AI agents and AI-native products. Open source, music, and anime fill the rest; anything worth keeping goes into the notes.
Blog
All posts2026-08-23
Three Claude Code implementations: an agent engineering notebook
Agent engineering notes drawn from three implementations. CoreCoder is a minimal implementation written by hand in Python, Claude Code is the production implementation, and learn-claude-code is the teaching implementation. Coverage spans the Agent Loop's transition condition and interrupt repair, tool definitions and file-editing strategy, context injection and three tiers of compression, the long-lived state of QueryEngine, parallel tools and sub-agents, the Hook and Task extension points, multi-agent collaboration, memory / MCP / background tasks / scheduled tasks, and the security defenses around paths and commands.
2026-04-04
Transformer learning notes: from the overall architecture to multi-head attention
Transformer study notes ordered whole-first and then part-by-part: the data flow through the encoder and the decoder; the three questions to answer before learning large models (neural networks, attention, what PyTorch is made of); what Token, the word embedding matrix, and positional encoding each solve; the meaning of Q, K, and V, why the Q·K dot product stands for relevance, and why the dot product is divided by the square root of the dimension before softmax; the difference between self-attention and cross-attention, and why cross-attention needs no mask; training predicts several tokens in parallel while inference generates one token at a time, which is why a causal mask is needed to prevent peeking, implemented by setting later positions to negative infinity so that softmax turns them into 0; the definitions of the feed-forward network, multi-head attention, and layer normalization, including how layer norm and batch norm differ in which dimension they normalize over.
Notes
All notesOpen source
All projectsQQ bot
QQbot
A QQ bot with pi as the brain and NapCatQQ as the connection — knowledge Q&A, timetable lookup, group management, scheduled tasks, long-term memory, and hot model switching.
LLM
Minimind-notes
Study notes on MiniMind, covering model architecture, training methods, and how the pieces fit together.
Agent
EnCoder
CoreCoder extended with cron scheduling, long-term memory, an agent team, and task/todo management.
Education
2024.9-2028.6
Qingdao Institute of Technology
Bachelor of Engineering · Data Science and Big Data Technology