Open Source.

Courses, research tools, coding utilities, and ops automation released under permissive licenses. Product work and client deployments live on Building; the flagship agent platform is FIM One.

Learning

Course中文 · ChineseReact · TypeScript
linalg-to-attention — 线性代数 → 注意力

The visual prelude to llm-from-scratch: building from a single vector all the way up to the attention mechanism, one geometric move at a time. Every page answers a single why — drag a slider, change a parameter, watch the geometry shift, then one line ties it straight back to LLMs. From vectors and matrices through SVD, softmax, and cross-entropy to self-attention and the Transformer block — 35 interactive lessons across 9 parts, so you understand the math behind training, fine-tuning, and inference instead of just calling an API.

Course中文 · ChinesePython · HTML
llm-from-scratch — 从 0 到 1 手搓大模型

A from-scratch LLM course in Chinese: build a Transformer by hand, line by line, starting from a character-level bigram and working all the way up to reproducing GPT-2 124M — with interactive in-browser visualizations at every step. Aimed at readers who want to understand attention, training, and sampling by writing the code, not just calling an API.

Notes中文 · ChineseReact · TypeScript
algo-viz — 算法可视化实验室

The visual counterpart to the LLM courses, turned on algorithms themselves: drag a handle, watch a sorting pass or a graph traversal rearrange, and read off the geometric idea underneath. A living notebook in Chinese that grows one algorithm at a time, for readers who want to see why an algorithm works instead of memorizing its steps.

Course中文 · ChineseReact · TypeScript
ielts-whitepaper — 雅思白皮书

Treats IELTS not as an English exam but as a scoring system you can reverse-engineer: starting from the official band descriptors and working backwards to what each of Listening, Reading, Writing, and Speaking actually rewards — covering score-allocation strategy, question-type maps, speaking and writing frameworks, and a diagnose → prescribe → retrain prep loop. Written in Chinese, for everyone heading out into the world.

Research Tools

FeaturedPythonApache-2.0
Tuto — Citation-integrity auditing at corpus scale

Audits whether a paper's references actually exist and, for claim citations, whether the cited paper really supports the claim. The first run swept all 209,985 references in the ACL 2026 proceedings (4,459 papers): only 2 came back confirmed nonexistent (0.001%), so fabrication is not the real problem, while 16% of papers carry at least one confirmed unsupported citation. It publishes its own first-pass precision (13%), because the number-one enemy of automated citation checking is its own false positives.

AI Coding

FeaturedMethodology
nano-spec — Spec-driven thinking, nano-sized docs

A lightweight task-specification format for AI-assisted development. Instead of heavyweight specs or no spec at all, nano-spec captures just enough intent — goal, constraints, acceptance — in a tiny document the model and you can both hold in your head, so agents build the right thing on the first pass.

ToolkitPython
tao-ai-toolkit — Agents & commands for AI coding

A curated collection of specialized AI coding agents and slash commands for Claude Code and other AI coding tools — the same workflows I use in production, packaged so you can drop them into your own setup.

CLITypeScript
ccmap — Coding heatmap for Claude Code + Codex

Scans your local Claude Code and Codex usage and renders a GitHub-style coding heatmap — both as an embeddable badge and a shareable HTML report, so you can see when and how much you actually code with AI assistants.

Contributions

  • Mergedopenai/openai-agents-python — fixed a resume-time bug where a pending nested agent-as-tool approval could bind to the wrong tool call after an earlier entry was filtered out during deserialization. Root-caused with a failing regression test; co-authored into main.

DevOps

OpsShell
certease — Bash ACME / SSL orchestration

One-command TLS certificates for heterogeneous fleets. Auto-detects the nginx flavor (standard / LNMP / BT panel), gives you unified observability (doctor / status), and falls back across CAs (ZeroSSL → Let's Encrypt) — built for ops managing many servers that were never set up the same way twice.