四場、六個題目。兩場談 AI 時代的資安,另外是一句 prompt 做出的溫濕度感測器、包成聊天介面的終端機、AI 虛擬辦公室,以及地端模型放得下不等於跑得快。
Four sessions, six topics: two on security in the AI era, a temperature and humidity sensor built from one prompt, a terminal wrapped in a chat interface, an AI virtual office, and why a local model that fits is not always fast.
這期只收我在每週內部分享會上自己講的段落。
AI Monthly — November 2026
AI Monthly — November 2026
Four sessions, six topics. Two on security in the AI era, plus a temperature and humidity sensor built from one prompt, a terminal wrapped in a chat interface, an AI virtual office, and why a local model that fits is not always fast.
Four sessions, six topics: two on security in the AI era, a temperature and humidity sensor built from one prompt, a terminal wrapped in a chat interface, an AI virtual office, and why a local model that fits is not always fast.
This issue only covers the segments I presented myself at our weekly internal sharing sessions.
大型 AI 廠商用自家模型掃描常見系統,一次就找出大量問題。掃描和攻擊的成本都大幅下降,這類事只會越來越多。
我們的做法:先自己用 AI 當紅隊打一輪;一出事先從架構面止血,例如先把後台停掉;也主動通知客戶啟用多因子驗證。
公司內部先把郵件帳號全面改成兩步驟驗證。
接下來打算讓 AI 每天整理弱點資訊、貼到群組,免得我們後知後覺。
11-27|Fitting a Model Is Not Running It Fast
It started with looking into on-premises GPU hardware. I also run local models on a machine at home, and I noticed a gap between a model that loads and a model that runs well.
Memory size decides whether a model can be loaded at all. Memory bandwidth decides how fast it produces output. Fitting is one thing; speed is another.
Models with more parameters are smarter. A mixture-of-experts (MoE) model only activates part of its parameters at a time, so it responds faster.
Deployments fall roughly into tiers: a single personal machine, an enterprise server, a training cluster, and an AI factory. Each step up is an order of magnitude.
Three numbers matter when you evaluate: output speed, time to first token, and concurrency. Concurrency is the stress test, like the moment concert tickets go on sale.
A single personal machine is good for experiments. I would not use it to validate a commercial service, let alone one with heavy concurrency. Even a server-grade graphics card can only handle so many requests at once; two of them serve roughly two hundred people at most.
The takeaway: the AI we subscribe to is cheap, but the computing behind it is enormous. AI is actually very expensive.
11-20|A Security Report Handled in Five Hours
Early one morning on my commute, a client's security team emailed: their system had been hit by an AI-assisted SQL injection attack, and they wanted a fix timeline as soon as possible.
I had AI read the email right away, open a branch with the fix, and draft the explanation for the client. By the time I got to the office it was fixed. A colleague who knows the system handled the deployment, and AI ran the tests.
We told the client it would be fixed that day. They verified it on staging, their scan came back clean, and it went live the same day, about five hours from report to release.
The extra hands this time were AI. Defense is not about AI blocking attacks; it is about agents taking on more of the work of handling them.
There have been many incidents lately: money stolen from bank accounts, e-commerce data leaks, even prompt injections hidden in résumé files. Turn on multi-factor authentication, watch for unusual charges, and be wary of social engineering.
11-20|An AI Virtual Office
The idea came from an engineer I saw online who splits work across many agents and gets through a huge number of code changes in a day. He has almost unlimited compute, so we can't copy him directly, but his rules and setup are worth borrowing.
What makes it work is long-term memory. I give each bot its own folder with its skills and memory files, so after a conversation is closed it still knows who it is.
The roles borrow from a workplace: a manager, full-time staff (standalone bots), interns (temporary sessions), and part-timers (subagents).
The office view has a calendar (all the schedules in one place), a file cabinet (what each bot is working on), a memory viewer, and a task board (questions collected in one place and answered together). It can also connect to several computers.
Each bot's job should fit in one sentence. Otherwise things get confusing, and the bots are more likely to hallucinate.
Watch the cost: with a few extra layers wrapped around the model, token use goes up. A phone app is coming too.
11-13|A Temperature and Humidity Sensor from One Prompt
It started when colleagues were talking about how server-room checks still mean writing down temperature and humidity by hand, and they wanted to automate it. I went back to my desk and wrote one prompt: a temperature and humidity sensor with an API that could later plug into the company's AI assistant.
That one sentence covers a lot: buying parts, wiring, flashing firmware, writing a web page and an API, designing an enclosure, and slicing it for 3D printing. It looks like a cross-functional job.
The approach: one AI acts as the dispatcher and hands the work to different roles: the parts list, the circuit and wiring, a sliding-lid enclosure, slicing, firmware, and the web interface.
All I did myself was buy the parts, wire them up, and load the enclosure file into the slicer. AI did everything else. I handed it off before leaving work, and the firmware was written by the time I got home.
The next day the enclosure was printed, and I brought it to the office and put it on the network. Now if you ask the AI assistant about the server-room temperature, it tells you.
My takeaway: one AI did the work of about eight roles, hardware included. I set this up deliberately as an experiment to find where AI's limits are.
11-13|Wrapping the Terminal in a Chat Interface
Terminal-based AI tools are powerful, but many people are put off the moment they see one. I wrapped it in a layer that looks like a chat conversation, which is easier to read.
Each conversation is its own session with no memory of its own. With prompting techniques and a folder layout, I let different sessions work with each other.
I also made a phone app. Once it is paired, you can control the computer remotely, which turns your own computer into a cloud host that you use from your phone.
From the interface you can switch loops on or off and edit them, which suits long-running repeating tasks.
11-06|AI Makes Attacks Cheap
I started with a few recent security incidents: money stolen from accounts at financial institutions, and the sites we maintain are often scanned and hit with login attempts.
With open-weight models and a local graphics card, anyone can put together an AI for attacks that brute-forces a site's paths and looks for weak spots. Vulnerabilities from years ago get dug up again too.
Common openings: uploads with no controls, passwords in config files that are only Base64-encoded, and admin panels exposed to the internet.
I demonstrated Base64 live: encoding converts straight back to the original text, so it is not encryption. Use real encryption with a key; it only counts if it can't be decoded.
A major AI company scanned common systems with its own model and found a large number of problems in one pass. Scanning and attacking have both become much cheaper, so this will only happen more.
What we do: first attack ourselves with AI as a red team; when something happens, stop the bleeding at the architecture level, for example by taking the admin panel offline first; and proactively ask clients to turn on multi-factor authentication.
Internally, we started by moving every email account to two-step verification.
Next, I plan to have AI collect vulnerability news every day and post it to our group chat, so we don't hear about things too late.