About
Sobre mí
个人简介
Self-directed and adaptable Precision Instrument undergraduate at Tsinghua University with proficiency in agentic engineering, machine learning and full-stack development, seeking to develop precision instrumentation and graceful UI with innovative teams.
Estudiante de grado en Instrumentación de Precisión en Tsinghua University, autodirigido y adaptable, con dominio de la ingeniería de agentes, el aprendizaje automático y el desarrollo full-stack; busco desarrollar instrumentación de precisión e interfaces elegantes junto a equipos innovadores.
我是清华大学精密仪器方向的本科生,自驱且适应力强,熟练运用智能体工程、机器学习与全栈开发,期待与创新团队一起做出精密的仪器与优雅的界面。
Selected Projects
Proyectos destacados
主要项目
Independent work, all open source. Across the live sites: 25,000+ visits and 100+ GitHub stars.
Trabajo independiente, todo de código abierto. En conjunto, los sitios en línea suman 25,000+ visitas y 100+ estrellas en GitHub.
均为独立开发,全部开源;上线站点累计访问 2.5 万+,GitHub 星标 100+。
Nmail
2026.09 – present
actualidad
至今
Local-first AI email client · Python, FastAPI, React · MIT · on PyPI, Homebrew & winget
Cliente de correo con IA local-first · Python, FastAPI, React · MIT · en PyPI, Homebrew & winget
本地优先 AI 邮箱客户端 · Python / FastAPI / React · MIT · 已上 PyPI、Homebrew 与 winget
- Aggregates multiple mailboxes into one inbox with 20 preset providers (Gmail, Outlook, QQ, 163) and one-click OAuth.
- Agrega varios buzones en una sola bandeja de entrada con 20 proveedores predefinidos (Gmail, Outlook, QQ, 163) y OAuth con un solo clic.
- 多账号聚合到单一收件箱,内置 Gmail / Outlook / QQ / 163 等 20 家预设服务商,支持一键 OAuth 授权。
- An AI steward classifies, archives, drafts replies and compiles a daily digest — every write action requires explicit human approval and stays auditable and reversible.
- Un administrador de IA clasifica, archiva, redacta respuestas y elabora un resumen diario — toda acción de escritura exige la aprobación humana explícita y queda auditable y reversible.
- AI 总管家负责分类、归档、起草回复与生成每日摘要 —— 所有写操作必须经人工审批,全程可追溯、可撤销。
- Privacy by architecture: the service binds only to 127.0.0.1, with no account system, no telemetry and no cloud dependency; pointing it at Ollama or LM Studio enables fully offline inference.
- Privacidad por arquitectura: el servicio solo escucha en 127.0.0.1, sin sistema de cuentas, sin telemetría y sin dependencia de la nube; apuntarlo a Ollama o LM Studio permite una inferencia totalmente offline.
- 从架构上保证隐私:服务仅监听 127.0.0.1,无账号体系、无遥测、不依赖云端;指向 Ollama / LM Studio 即可完全离线推理。
- Shipped to users through PyPI (
nmail-app, 10 releases), Homebrew, winget and single-file executables for Windows, macOS and Linux.
- Distribuido a los usuarios mediante PyPI (
nmail-app, 10 versiones), Homebrew, winget y ejecutables de archivo único para Windows, macOS y Linux.
- 通过 PyPI(
nmail-app,10 个版本)、Homebrew、winget 及 Windows / macOS / Linux 单文件可执行程序分发给用户。
nmail.whizzzest.com
github.com/pan-nie/Nmail
pypi.org/project/nmail-app
LocalAIAssistant
2026.04 – present
actualidad
至今
Cross-platform desktop AI assistant · C++17, Qt 6, ONNX Runtime · MIT
Asistente de IA de escritorio multiplataforma · C++17, Qt 6, ONNX Runtime · MIT
跨平台桌面 AI 助手 · C++17 / Qt 6 / ONNX Runtime · MIT
- A single binary offering both a GUI and a CLI, with SSE streaming output, persistent multi-session history, English/Chinese UI and light/dark/system themes.
- Un único binario que ofrece GUI y CLI, con salida en streaming por SSE, historial persistente de varias sesiones, interfaz en inglés y chino y temas claro, oscuro y del sistema.
- 单一二进制同时提供 GUI 与 CLI,支持 SSE 流式输出、多会话历史持久化、中英双语界面与明暗 / 跟随系统主题。
- Built a retrieval module supporting TXT/MD/PDF/DOCX import, automatic chunking and vectorisation, and HNSW approximate nearest-neighbour search — all embeddings computed locally through ONNX Runtime with no network access.
- Desarrollé un módulo de recuperación compatible con la importación de TXT/MD/PDF/DOCX, la fragmentación y vectorización automáticas y la búsqueda aproximada de vecinos más cercanos con HNSW — todas las representaciones vectoriales se calculan en local mediante ONNX Runtime, sin acceso a la red.
- 实现检索模块:支持 TXT/MD/PDF/DOCX 导入、自动切分与向量化、HNSW 近似最近邻检索;嵌入向量全部经 ONNX Runtime 本地推理,无需联网。
- Designed an agent loop (up to 10 iterations) that parses JSON task plans and executes them via native Qt file APIs rather than shell commands, with cross-platform shell detection where a shell is genuinely needed.
- Diseñé un bucle de agente (hasta 10 iteraciones) que analiza planes de tareas en JSON y los ejecuta mediante las API de archivos nativas de Qt en lugar de comandos de shell, con detección de shell multiplataforma cuando de verdad se necesita un shell.
- 设计 Agent 迭代循环(最多 10 轮):解析 JSON 任务计划,优先用 Qt 原生文件 API 而非 shell 执行,仅在必要时才做跨平台 Shell 探测。
- Implemented a three-tier command safety model — permanently blocked patterns, confirmed operations, and an allow-list — so that destructive commands cannot be reached by prompt injection alone.
- Implementé un modelo de seguridad de comandos en tres niveles — patrones bloqueados de forma permanente, operaciones con confirmación y una lista de permitidos — para que los comandos destructivos no puedan alcanzarse solo con inyección de prompts.
- 实现三级命令安全模型 —— 永久拦截、二次确认、白名单执行 —— 使破坏性命令无法仅凭提示注入被触发。
github.com/pan-nie/LocalAIAssistant
Tsinghua Agent
2026.09 – present
actualidad
至今
Long-running personal agent and MCP server · TypeScript, SQLite, MCP
Agente personal de ejecución prolongada y servidor MCP · TypeScript, SQLite, MCP
长程执行个人 agent 与 MCP server · TypeScript / SQLite / MCP
- Exposes 64 tools (34 read-only, 30 write/monitoring) over the Model Context Protocol, connecting through stdio to Claude Code, Cursor, Codex CLI and other local agents.
- Expone 64 herramientas (34 de solo lectura y 30 de escritura y monitorización) a través del Model Context Protocol y se conecta por stdio a Claude Code, Cursor, Codex CLI y otros agentes locales.
- 通过 Model Context Protocol 暴露 64 个工具(34 个只读 + 30 个写 / 监控),经 stdio 接入 Claude Code、Cursor、Codex CLI 等本地 agent。
- Wrote a resident supervisor daemon that keeps sessions alive and pushes notifications on grades, electricity balance, card balance, campus news and course-registration windows.
- Escribí un demonio supervisor residente que mantiene vivas las sesiones y envía notificaciones sobre calificaciones, saldo de electricidad, saldo de la tarjeta, noticias del campus y ventanas de matriculación de asignaturas.
- 编写常驻 supervisor 守护进程,维持会话存活,并在成绩、电费、卡余额、校内新闻与选课窗口变化时推送通知。
- Records an audit trail, pending confirmations and monitoring rules in SQLite; automates TOTP two-factor authentication end to end.
- Registra en SQLite un historial de auditoría, las confirmaciones pendientes y las reglas de monitorización; automatiza de principio a fin la autenticación en dos pasos por TOTP.
- 以 SQLite 记录审计日志、待确认操作与监控规则;端到端自动化 TOTP 二次认证。
- Structured as a pnpm monorepo separating the protocol layer, session core, MCP server, supervisor and CLI.
- Estructurado como un monorepo de pnpm que separa la capa de protocolo, el núcleo de sesión, el servidor MCP, el supervisor y la CLI.
- 组织为 pnpm monorepo,分离协议层、会话内核、MCP server、supervisor 与 CLI。
github.com/pan-nie/TsinghuaMCP
TsinghuaSurvive
2026.07 – present
actualidad
至今
Student-written survival guide for Tsinghua · Astro Starlight, TypeScript
Guía de supervivencia para Tsinghua escrita por estudiantes · Astro Starlight, TypeScript
面向清华在校生的经验分享站 · Astro Starlight / TypeScript
- Live at thu.whizzzest.com, written from a student's point of view rather than an official one.
- En línea en thu.whizzzest.com, escrita desde el punto de vista del estudiante y no desde el oficial.
- 已上线 thu.whizzzest.com,内容来自学生视角而非官方口径。
- Integrated an in-site CMS so contributors can edit text, drop in images and embed video without touching Git; media is converted to WebP and stored on R2 rather than committed.
- Integré un CMS dentro del sitio para que quienes colaboran puedan editar texto, insertar imágenes e incrustar vídeo sin tocar Git; los archivos multimedia se convierten a WebP y se almacenan en R2 en lugar de incluirse en el repositorio.
- 接入站内 CMS,贡献者无需接触 Git 即可改文字、拖图、嵌视频;媒体自动转 WebP 并存储于 R2,不进入版本库。
- Built a content-freshness policy engine that flags material as stale after a configurable window, with draft/outdated states and review timestamps validated in CI.
- Desarrollé un motor de políticas de vigencia del contenido que marca el material como obsoleto tras un plazo configurable, con estados de borrador y desactualizado y marcas de tiempo de revisión validadas en CI.
- 实现内容时效策略引擎:超过可配置期限自动标记为过期,草稿 / 过期状态与复核时间戳由 CI 校验。
- Continuous deployment on push to main, with content and link-checking checks guarding every change.
- Despliegue continuo al hacer push a main, con comprobaciones de contenido y de enlaces que verifican cada cambio.
- 推送 main 即自动构建部署,每次变更都有内容校验与链接检查把关。
thu.whizzzest.com
github.com/pan-nie/TsinghuaSurvive
DeepLearningCourseForMe
2026.08 – present
actualidad
至今
Self-taught deep learning curriculum · Python, Jupyter · MIT · 8 modules, 62 lessons
Plan de estudios de aprendizaje profundo autodidacta · Python, Jupyter · MIT · 8 módulos, 62 lecciones
深度学习自学课程 · Python / Jupyter · MIT · 8 个模块、62 讲
- Wrote 62 lessons of notes and runnable code across 8 modules, built from first principles and paired with a video series.
- Escribí 62 lecciones de apuntes y código ejecutable repartidas en 8 módulos, construidas desde los primeros principios y acompañadas de una serie de vídeos.
- 撰写 8 个模块、62 讲的笔记与可运行代码,从第一性原理出发,并配套同名视频系列。
- Covers linear algebra, calculus, probability and statistics, neural-network fundamentals, CNN/Transformer architectures, computer vision, large language models and applied ML engineering.
- Abarca álgebra lineal, cálculo, probabilidad y estadística, fundamentos de redes neuronales, arquitecturas CNN/Transformer, visión por computador, grandes modelos de lenguaje e ingeniería de ML aplicada.
- 覆盖线性代数、微积分、概率统计、神经网络核心、CNN / Transformer、计算机视觉、大语言模型与应用工程实战。
- Each module carries its own locked virtual environment managed with uv, so any single lesson can be reproduced in isolation.
- Cada módulo tiene su propio entorno virtual bloqueado y gestionado con uv, de modo que cualquier lección puede reproducirse de forma aislada.
- 每个模块拥有独立且锁定依赖的虚拟环境(uv 管理),任意一讲都可单独复现。
github.com/pan-nie/DeepLearningCourseForMe
焰境 · 万载(whizzzest.com)
2026 – present
actualidad
至今
Digital showcase for my hometown's fireworks culture · full-stack · Sanchuang competition entry
Escaparate digital de la cultura pirotécnica de mi ciudad natal · full-stack · candidatura al concurso Sanchuang
家乡江西万载烟花文化的数字化宣传站 · 全栈开发 · 三创赛参赛作品
- Built the site end to end around the theme “meet once, and it lasts ten thousand years”, turning Wanzai's thousand-year fireworks heritage into something people can browse and share.
- Construí el sitio de principio a fin en torno al lema «un encuentro, y dura diez mil años», convirtiendo el milenario legado pirotécnico de Wanzai en algo que cualquiera puede explorar y compartir.
- 以「一朝相逢,便是万载」为主题完成全栈开发,把万载千年烟花文化做成可浏览、可分享的数字体验。
whizzzest.com
github.com/pan-nie/whizzzest.com
Also:
Además:
其他:
nmail-site (Astro 5 marketing site, zero client-side JS, Cloudflare Workers)
(sitio promocional en Astro 5, sin JS en el cliente, Cloudflare Workers)
(Astro 5 官网,零客户端 JS,Cloudflare Workers 部署),
wechat-article (Python toolchain automating WeChat article production)
(cadena de herramientas en Python que automatiza la producción de artículos de WeChat)
(自动化微信公众号内容生产的 Python 工具链).
Technical Skills
Competencias técnicas
技术能力
- Languages
Lenguajes
编程语言
- Python · TypeScript / JavaScript · C++ (C++17) · HTML / CSS · SQL
- Frameworks
Frameworks
框架与运行时
- FastAPI · React · Qt 6 · Astro · Node.js
- AI & Data
IA y datos
AI 与数据
- Model Context Protocol (MCP) · LLM agent design · RAG / vector retrieval · PyTorch / deep learning · ONNX Runtime · HNSW · SQLite
Model Context Protocol (MCP) · diseño de agentes LLM · RAG / recuperación vectorial · PyTorch / aprendizaje profundo · ONNX Runtime · HNSW · SQLite
Model Context Protocol(MCP)· LLM agent 设计 · RAG / 向量检索 · PyTorch / 深度学习 · ONNX Runtime · HNSW · SQLite
- Systems
Sistemas
系统与协议
- Desktop application architecture · REST & SSE · OAuth · IMAP / SMTP · PWA & Service Workers
Arquitectura de aplicaciones de escritorio · REST & SSE · OAuth · IMAP / SMTP · PWA & Service Workers
桌面应用架构 · REST 与 SSE · OAuth · IMAP / SMTP · PWA 与 Service Worker
- Tooling
Herramientas
工程工具
- Git · GitHub Actions · Cloudflare Workers / Pages · Docker · uv · pnpm · CMake / qmake
- Languages spoken
Idiomas
自然语言
- Chinese (native) · English (CET-4 672 / CET-6 583, professional working proficiency) · Spanish (basic)
Chino (nativo) · Inglés (CET-4 672 / CET-6 583, competencia profesional plena) · Español (básico)
中文(母语)· 英语(CET-4 672 / CET-6 583,可作为工作语言) · 西班牙语(基础)
Honours & Awards
Honores y premios
荣誉与奖项
Comprehensive Excellence Scholarship — Tsinghua University
Beca de Excelencia Integral — Tsinghua University
清华大学综合优秀奖学金
2026
2026
2026
University-level award
Premio de ámbito universitario
校级奖学金
E-Commerce Innovation Challenge — Second Prize, Beijing round
E-Commerce Innovation Challenge — Segundo Premio, fase de Pekín
全国大学生电子商务「创新、创意及创业」挑战赛 · 北京市二等奖
2026
2026
2026
16th national edition · cross-university team · I did the full-stack website development
16.ª edición nacional · equipo interuniversitario · me encargué del desarrollo full-stack del sitio web
第十六届 · 跨校团队 · 负责网站全栈开发
- Competed as part of a cross-university team; built the full-stack site behind the entry (the 焰境 · 万载 project above).
- Participé con un equipo interuniversitario y desarrollé el sitio full-stack del proyecto presentado (el proyecto 焰境 · 万载 de arriba).
- 与京内多所高校同学组队参赛,负责参赛作品(见上「焰境 · 万载」)的全栈网站开发。
3rd Tsinghua University “Carbon Neutrality” Student Innovation Competition — Second Prize
3rd Tsinghua University «Neutralidad de Carbono» Student Innovation Competition — Segundo Premio
清华大学第三届「碳中和」学生创新大赛 二等奖
2026
2026
2026
Project: an intelligent water-surface litter-cleaning robot using disturbance sensing and visual tracking
Proyecto: robot inteligente de limpieza de residuos en la superficie del agua mediante detección de perturbaciones y seguimiento visual
作品:《基于扰动感知与视觉跟踪的水面垃圾智能清理机器人》
- Designed the boat's entire 3D structure and the project poster for the team entry.
- Diseñé toda la estructura 3D de la embarcación y el cartel del proyecto para la candidatura del equipo.
- 负责小船全部 3D 结构设计以及项目海报设计。
Weiyang College Field Practice Award — Second Prize (twice)
Premio de Prácticas de Campo de Weiyang College — Segundo Premio (dos veces)
未央书院社会实践二等奖(两次)
2026
2026
2026
Liangshan (Sichuan) team · Kaili (Guizhou) team
Equipo de Liangshan (Sichuan) · Equipo de Kaili (Guizhou)
四川凉山支队 · 贵州凯里支队