Custom AI agents areagents that live inside their own application, talk to their own data and tools, enforce their own security boundaries, and carry their own brand and audit trail. What separates them from the general-purpose tier is fit, not capability: each is built for one job, by the engineer who will maintain it. No published practice sets out how to build one end to end. The pieces are everywhere (function-calling APIs, the Model Context Protocol, code agents to pair with), but the practice that chains them lives in podcasts, blogs, and leaked system prompts. This paper writes that practice down as a methodology, Agents All the Way Down: two preconditions crossed once and kept, then three practices repeated for the agent's life. The preconditions are (P1) Substrate, the LLM as a software component, framed as tools, then system, then messages under prompt-caching; and (P2) Building blocks: function calling, MCP, CLI orchestration, the liteshell pattern, the agent loop, skills, characters, hooks, and scaffolding. The practices are (P3) prototype with a general-purpose agent; (P4) harvest, fold, and ship the result as a CLI, the Turtle pattern; and (P5) agent-tests-agent, in which a general-purpose agent drives it through behavioural scenarios, a complement to classical testing, not a replacement. The working loop is P3 to P4 to P5 and back, and one corollary falls out for free: multi-agent orchestration is just CLI composition. The methodology is framework-free by construction. It was distilled from the AAC, a custom agent for the open-source LAMB platform, built in about ten days by one developer with an AI pair-programmer and in production . We present it as a transferable practice, independent of any language or framework.


翻译:定制化AI智能体是驻留在自有应用程序中的智能体,它们与自有数据和工具交互,执行自定安全边界,并承载自有品牌与审计轨迹。使其区别于通用层级的关键在于适配性而非能力:每个智能体均由负责维护的工程师针对特定任务构建。现有文献尚未系统阐述如何端到端构建此类智能体。相关技术组件虽已广泛存在(如函数调用API、模型上下文协议、配合使用的代码智能体),但整合这些组件的实践方法却散见于播客、博客及泄露的系统提示中。本文将此实践经验总结为"层层递进之智能体"方法论:设置两个一次性建立后持续遵循的前提条件,以及三个在智能体生命周期中循环实施的实践。前提条件包括:(P1) 底层架构——将大语言模型作为软件组件,通过工具化、系统化及基于提示缓存的报文机制进行架构;(P2) 构建模块——函数调用、MCP、CLI编排、轻量化Shell模式、智能体循环、技能集、角色设定、钩子机制与脚手架。实践包括:(P3) 基于通用智能体原型验证;(P4) 收割、整合并封装为CLI的"海龟模式";(P5) 智能体互测模式——由通用智能体驱动被测试智能体完成行为场景验证,作为经典测试方法的补充而非替代。工作循环由P3至P4至P5再返回起点,并自然衍生出推论:多智能体编排本质上就是CLI组合。该方法论通过设计实现无框架依赖,其提炼自AAC——面向开源LAMB平台构建的定制化智能体,由单开发者配合AI结对编程在约十天内完成开发并部署至生产环境。本文将其定位为独立于任何语言或框架的可迁移实践方案。

0
下载
关闭预览

相关内容

伯克利最新《智能体 AI (Agentic AI)》课程
专知会员服务
49+阅读 · 3月1日
AI 智能体系统:体系架构、应用场景及评估范式
智能体工程(Agent Engineering)
专知会员服务
38+阅读 · 2025年12月31日
AI智能体基础设施
专知会员服务
44+阅读 · 2025年7月12日
AI智能体面临的威胁:关键安全挑战与未来路径综述
专知会员服务
53+阅读 · 2024年6月7日
AI Agent:基于大模型的自主智能体
专知会员服务
251+阅读 · 2023年9月9日
《“边缘计算+”技术白皮书》,82页pdf
专知
11+阅读 · 2022年8月28日
重磅!AI框架发展白皮书(2022年),44页pdf
专知
28+阅读 · 2022年2月27日
浅谈群体智能——新一代AI的重要方向
中国科学院自动化研究所
44+阅读 · 2019年10月16日
面向人工智能的计算机体系结构
计算机研究与发展
14+阅读 · 2019年6月6日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
10+阅读 · 2013年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
国家自然科学基金
17+阅读 · 2008年12月31日
Arxiv
0+阅读 · 5月14日
VIP会员
最新内容
《无人机脆弱性利用:网络空间力量的新域》
专知会员服务
2+阅读 · 今天4:08
美空军如何将人工智能从战场部署至后方机关
专知会员服务
11+阅读 · 7月31日
《史诗怒火行动:多域前瞻评估》49页报告
专知会员服务
7+阅读 · 7月31日
《英国防部:未来空战系统数字化战略》33页
专知会员服务
5+阅读 · 7月31日
《面向自主飞行网络的智能体人工智能架构》
专知会员服务
7+阅读 · 7月31日
“史诗怒火”行动:现代多域作战的重要节点
专知会员服务
8+阅读 · 7月30日
《下一代无线网络中的多无人机通信资源管理》
相关VIP内容
伯克利最新《智能体 AI (Agentic AI)》课程
专知会员服务
49+阅读 · 3月1日
AI 智能体系统:体系架构、应用场景及评估范式
智能体工程(Agent Engineering)
专知会员服务
38+阅读 · 2025年12月31日
AI智能体基础设施
专知会员服务
44+阅读 · 2025年7月12日
AI智能体面临的威胁:关键安全挑战与未来路径综述
专知会员服务
53+阅读 · 2024年6月7日
AI Agent:基于大模型的自主智能体
专知会员服务
251+阅读 · 2023年9月9日
相关基金
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
10+阅读 · 2013年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
国家自然科学基金
17+阅读 · 2008年12月31日
Top
微信扫码咨询专知VIP会员