arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23822cs.SE
收藏

KISS Sorcar:一个简单通用且软件工程友好的AI助手

KISS Sorcar: A Stupidly-Simple General-Purpose and Software Engineering AI Assistant

EECS Department, UC Berkeley(加州大学伯克利分校电气工程和计算机科学系)

Koushik Sen

AI总结:

KISS Sorcar基于KISS Agent Framework构建,通过五层代理架构解决传统AI助手的缺陷,实现高质量代码生成与多任务处理,测试显示其在Terminal Bench 2.0上的通过率较高。

摘要:

大型语言模型可以生成代码并调用工具,但将其部署为实用的软件工程助手仍存在固有缺陷:有限的上下文窗口、单个错误导致整个会话失败、代理卡在死胡同、AI垃圾和难以审查或撤销的生成更改。我们提出了KISS Sorcar,一个基于KISS Agent Framework的通用助手和集成开发环境(IDE)。该框架通过一个稳健的系统提示和五层代理层次结构解决这些缺陷,每层添加一个精确的关注点:预算跟踪的ReAct执行、通过总结、编码和浏览器工具自动延续子会话、持久的多轮聊天带历史回顾、git工作树隔离使每个任务都在自己的分支上运行。为了评估KISS代理框架的威力,我们实现了KISS Sorcar作为免费开源的Visual Studio Code扩展,本地运行并有效处理长周期任务,支持浏览器自动化、多模态输入和Docker容器。在本研究中,我们刻意优先考虑输出质量而非延迟:给前沿模型足够的时间验证其自身输出——运行检查器、类型检查器和测试——大幅减少了困扰更快但不彻底的代理的低质量代码。整个系统用自身构建了4.5个月,提供了一个连续的压力测试,在此过程中任何代理引入的错误都会立即损害其自身工作的能力。在Terminal Bench 2.0上,KISS Sorcar使用Claude Opus 4.6达到62.2%的总体通过率,与Claude Code(58%)和Cursor Composer 2(61.7%)相比表现良好。

英文摘要:

Large language models can generate code and call tools fluently, yet deploying them as practical assistants for long-horizon software engineering and AI-discovery tasks still exposes persistent gaps: finite context windows, a single mistake that can derail entire sessions, agents that get stuck in dead ends, AI slop, and generated changes that are difficult to review or revert. We present KISS Sorcar, an open-source general-purpose AI agent for long-horizon tasks and AI discovery that doubles as an integrated development environment (IDE). It is built on top of the KISS Agent Framework, a stupidly-simple AI agent framework of roughly 2,900 lines of code for the core agents. The framework addresses the gaps above through a structured system prompt and a five-layer agent hierarchy in which each layer adds exactly one concern: budget-tracked ReAct execution, automatic continuation across sub-sessions via summarization, coding and browser tools with parallel sub-agents, persistent multi-turn chat with history recall, and git worktree isolation so every task runs on its own branch. Engineering principles are encoded in the agent's system prompt.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑