Knock 公司于 2026 年 3 月发布了 Knock Agent,这是一款用于管理客户消息资源的 AI 智能体 [1]。该产品的核心架构创新在于摒弃了传统的“工具 - 类型”映射模式,转而采用基于虚拟文件系统和 Bash 脚本的机制,使智能体能够通过文件系统发现上下文并执行操作 [1]。
在技术实现上,该项目利用 Elixir 语言移植了 just-bash 库以构建虚拟化环境,并结合 Anthropic API 与自定义技能系统来提升智能体的可扩展性和准确性 [1]。其关键工具集包括 bash、read_file、edit_file、write_file 以及 upsert_resource [1]。此外,该架构采用了懒加载沙盒进程的设计,并通过 CLI (knock) 来处理动态数据查询 [1]。
Knock launched its Knock Agent in March 2026 as an AI agent designed to manage customer message resources [1]. The system's architecture departs from traditional "tool-type" mapping patterns by adopting a structure based on a virtual file system and Bash scripts, allowing the agent to discover context through the filesystem before executing operations [1]. To implement this approach, Knock ported the just-bash library into an Elixir environment to provide a virtualized sandbox for lazy-loading processes [1], while integrating the Anthropic API and a custom skill set to enhance scalability and accuracy [1]. The agent's core toolkit includes specific commands such as bash, read_file, edit_file, write_file, and upsert_resource to handle dynamic data queries via its CLI interface named knock [1].