Sensors for AI Coding Agents: My Reading Notes

Recently, I read a blog post about using “sensors” to help AI coding agents write better code. Basic Sensors At first, when I saw the word “sensor,” I felt it sounded a little abstract. But after reading the article, my understanding is that these sensors are basically some lightweight feedback mechanisms around the codebase. They can be simple tests, static analysis tools, lint rules, or architecture checks. The main idea is not to let AI freely modify the code without any boundary, but to give it some signals so it can understand whether its changes are reasonable or risky. ...

May 25, 2026 · 4 min

Ruby vs. Go

I’m curious about other type of language, and have a discussion with AI. I ask this question since when I tried to build my website with jeykll on my WSL system, it fails and had a lot of errors, and I tried to update some package but it is quite complicated, and then AI told me to use hugo and say that this is more stable. Hugo is more stable since this is build (and compiled) by go lang, and this is a compiled code, so its depedency is smaller and can be used in more system. Other compile code are C++, rusts. This type of language can be stable across OS/CI. ...

January 9, 2026 · 2 min

HLS & LLVM

Last few days I learned that the C++ translation to IR requires AST (abstract syntax tree), and it seems to me that this is much the same as the HLS. From HLS (high leve synthesis) tool, you input a C++ code and output a RTL, usualy verilog code, which is a hardware descriptoin language. I learned HLS and used tools before, for FPGA mapping we use Vivado HLS, or called Vitis now (original owned by Xilinx, which is aquired by AMD). I think if we can leverage the same technique, perhaps we can do the same techqiue and map arbitary C++ code to RTL. ...

January 5, 2026 · 2 min

Clangd & LLVM

Recently I saw YT streaming for C++ compiling, and find that many people are using alngd for building C++, and I’m curious about what is the difference for clangd and gcc compiler, since during my work with CAD tools, we always use gcc for compiling. After discussion with AI, they are a old style (gcc) and new style (clangd). Old style does not mean that they are worse. Here is a table for the comparison: ...

January 3, 2026 · 2 min

Why This Blog?

I like to study different ideas, and often ask AI a field that I’m not quite understand, and I find that I can learn a lot during the discussion. Also, I think that writing it out is a great way to review the idea, and also making some records.

January 3, 2026 · 1 min