30 Days of a Local AI Agent on My Own Machine: What Actually Broke
说明与用途
本地 AI 代理在自动化任务时遇到环境问题,而非模型问题。解决方案包括幂等步骤、日志记录和人工审批门控。
问题
An AI agent failed to reliably automate tasks on a local machine due to environmental issues rather than model limitations.
结果
Reliability improved by focusing on environmental stability, idempotency, logging, and human approval gates rather than model upgrades.
工作流
- Run agent locally
- Agent drives screen, shell, browser, and Android via ADB
- Agent performs 400 tasks
- Identify failures: stale UI, leaks, prompts, partial writes
- Add idempotent, logged steps
- Add human approval gate for irreversible actions
- Resume tasks instead of restarting
证据
Every serious failure I hit was environmental: a stale browser session, a lock file from a crashed run, a port already in use, a half-typed shell command left by the previous task.
The single biggest improvement was not a better model. It was making every step idempotent and logged, so a task could be resumed instead of restarted.
- 记录日期: 2026-10-20T21:41:06.945Z