最新资讯
stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离
多元动态
登录 注册
行业动态 pub.towardsai.net · @Alex Punnen

先改进上下文,再改进代码库

原文 我的收藏

文章介绍了一个实验:将180万行Apache Airflow代码压缩为9700个token的目录,供AI代理参考。作者认为,为AI代理提供有用的上下文比直接优化代码库更重要,并分享了相关经验。

AI推荐理由 文章描述了一个具体实验:用9700 token的目录为AI代理提供1.8百万行Airflow代码的上下文,强调上下文工程的重要性。信息具体,有实践价值,但来源为Medium博客,权威性一般。

70

正文

Member-only story AI Generative Ai Tools Software Development Coding Google Okf Improve Context Before You Improve Your Codebase 1.8 million lines of Apache Airflow, described in a 9,700-token catalog an engineer can check. An experiment in giving AI agents useful context for inherited software. Alex Punnen 6 min read · Just now -- Listen Share Repo: https://github.com/alexcpn/catalogify Demo: On Apache Airflow Spekcit Extension: Speckit-okf Enterprises and major open-source projects are increasingly leaning on AI for feature development and bug fixes. However, they all face the same challenge: to execute large, system-wide changes, AI needs effective context. Current maintainers can “vibe-code” small bits and pieces, but for large architectural shifts, AI coding agents operate like a brand-new engineering team. In the real world, a new team requires a transition period to absorb the implicit knowledge locked inside the previous developers’ heads. As Software Design Documents (SDDs) regain popularity alongside AI, old debates have resurfaced. One vocal camp treats the “Spec as the Source of Truth,” while an equally fierce camp argues that the “Code is the Source of Truth.” Software engineering pioneers like Fred Brooks, Peter Naur, and the philosopher Michael Polanyi figured this out long ago. Brooks dismantles the first camp: in “No Silver Bullet” he warns that “descriptions of a software entity that abstract away its complexity often abstract away its essence” — a spec is an abstraction, and…

来源报道 · 1 篇 · 以下链接均前往原始媒体

Alex Punnen 先改进上下文,再改进代码库 09-10 · 原文发布
← 返回精选动态 原文

更多内容