IBM Tejas Kumar 从零构建带权限门控的编程 Agent
IBM 的 Tejas Kumar 把一个编程 Agent 从空循环手写出来,还现场加上权限门控和花钱上限。想自己搭 Agent 又怕它乱改文件、烧 API 费的话,这套做法可以直接抄。
IBM 工程师 Tejas Kumar 在 Full Code Summit 研讨会上演示了如何从一个空的循环开始构建编程 Agent,完整过程发布在 YouTube 视频中。演示的关键点在于:当 Agent 拥有编辑文件的能力时,必须给它加上权限门控机制,让它能被明确拒绝执行某个操作。
他逐步添加了两层控制:permission gates 权限门控用于在 Agent 执行敏感操作前要求确认,spending limits 支出限额用于约束 Agent 调用 API 的成本上限。这种“能力与约束同步设计”的思路,对使用 Claude Code、Cursor 或自建 Agent 框架的开发者都适用。
An agent that can edit files also needs a way to be told no. @TejasKumar_ of @IBM builds a coding agent from an empty loop, then adds permission gates and spending limits. Full Code Summit workshop: youtu.be/hUCn9ZnXujQ📊 3 ⚡
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include agents, IBM, access control, teaching.
Source attribution: curated from AI Engineer (@aiDotEngineer). Cross-source corroboration: 11 independent sources have covered this development (including TestingCatalog, Garry Tan, IT之家), confirming industry-wide signal strength.