lanham-ai-agents
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "lanham-ai-agents":https://skillpi.com/zh/skills/deepskill-6825d5fa716ee1cc754492e85818c7d9ee6fb4a4c96b83ac2583fb09bc6b27a5。安装前核对上游来源和版本:https://skillhub.cn/skills/user_2e3aa695/lanham-ai-agents。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
《AI Agents in Action》(Michael Lanham,Manning,2025 年)知识库。适用于参考应用代理框架(如 AutoGen、CrewAI、Semantic Kernel、行为树)、构建自主助手、实施提示工程策略(如 CoT、ToT、RAG),或在设计 AI 代理架构时参考相关模式。
介绍来源: third_party · user_2e3aa695 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: lanham-ai-agents
description: "Knowledge base from \"AI Agents in Action\" by Micheal Lanham (Manning, 2025). Use when applying agent frameworks (AutoGen, CrewAI, Semantic Kernel, Behavior Trees), building autonomous assistants, implementing prompt engineering strategies (CoT, ToT, RAG), or referencing AI agent architecture patterns."<!-- argument-hint: [topic, framework name, or chapter number] -->
AI Agents in Action
Author: Micheal Lanham | Pages: ~346 | Chapters: 11 | Generated: 2026-06-16
How to Use This Skill
- Without arguments — load core frameworks for reference
- With a topic — ask about
behavior trees,RAG,multi-agent,prompt engineering, or another indexed topic; I find and read the relevant chapter - With chapter — ask for
ch05; I load that specific chapter - Browse — ask "what chapters do you have?" to see the full index
When you ask about a topic not covered in Core Frameworks below, I will read the relevant chapter file before answering.
Core Frameworks & Mental Models
Agent Interaction Spectrum (Ch 1)
Use this spectrum to select the right autonomy level for any use case:
- Direct → simple QA, no tools needed
- Proxy → LLM reformulates prompts for another model (e.g., ChatGPT → DALL-E)
- Agent + Confirmation → tool use with user approval step
- Autonomous → independent planning, decision-making, execution
Think of agent autonomy as a spectrum, not a binary. Match the level to the risk/reward profile of the task.
Multi-Agent Systems (Ch 4)
Use AutoGen for conversational, exploratory multi-agent systems (group chat, proxy patterns). Use CrewAI when you need structured, role-based enterprise workflows (sequential/hierarchical task management). Think of multi-agent systems as teams of specialists — a coordinator delegates to experts.
Empowering Agents with Actions (Ch 5)
OpenAI Function Calling is the standard pattern for LLM-tool integration. Define functions with name + description + parameters → LLM decides when to call → execute → return results. Semantic Kernel (SK) adds structure: semantic functions (prompt templates) for "what" and "why", native functions (code) for "how". Use the semantic service layer pattern to cleanly separate LLMs from external APIs.
Behavior Trees for Agent Control (Ch 6)
Use behavior trees when you need structured, reusable control over agent decision-making. Five primary nodes cover most patterns: Selector (try until one succeeds), Sequence (run all, fail on any failure), Action (execute), Condition (check), Decorator (control/block). Agentic Behavior Trees (ABTs) use LLMs to dynamically construct and modify the tree. Always implement Control Barrier Functions as safety guardrails.
RAG and Memory (Ch 8)
Use Retrieval Augmented Generation (RAG) whenever agents need external knowledge. Two phases: Index (load → chunk → embed → store) and Query (embed query → similarity search → augment prompt). Knowledge is document-based (external); memory is experience-based (from interactions). Both augment prompts through retrieval.
Prompt Engineering Strategies (Ch 9)
Six OpenAI strategies map to agent components: Write Clear Instructions → persona/behavior, Provide Reference Text → knowledge/RAG, Split Complex Tasks → subtask decomposition, Give Models Time to "Think" → reasoning/planning, Use External Tools → function calling, Test Changes Systematically → evaluation. Always iterate — prompt engineering is never one-shot.
Reasoning Techniques (Ch 10)
Scale reasoning depth to problem complexity: Direct/Few-Shot for simple tasks, Chain of Thought (CoT) for multi-step reasoning, Self-Consistency for high-reliability needs (multiple paths, majority vote), Tree of Thought (ToT) for complex exploration. Multiple reasoning paths always beat a single path.
Planning and Feedback (Ch 11)
Planning separates agents from chatbots. Use sequential planning when tasks have dependencies (output feeds next step). Build custom JSON planners using prompt engineering to generate step-by-step plans from available functions. Implement feedback mechanisms (corrective, suggestive, epistemic) for continuous improvement. Always set safety guardrails — agents with autonomous actions can go rogue.
Chapter Index
| # | Title | Key Frameworks |
|---|---|---|
| ch01 | Introduction to agents and their world | Agent Interaction Spectrum, Multi-Agent Pattern |
| ch02 | Harnessing the power of large language models | OpenAI API, Message Roles, Temperature |
| ch03 | Engaging GPT assistants | GPT Builder, Custom Actions, Persona/Rules |
| ch04 | Exploring multi-agent systems | AutoGen Studio, CrewAI, Group Chat, AgentOps |
| ch05 | Empowering agents with actions | OpenAI Functions, Semantic Kernel, Semantic Service Layer |
| ch06 | Building autonomous assistants | Behavior Trees, ABTs, Control Barrier Functions |
| ch07 | Assembling and using an agent platform | Nexus Architecture, Personas, Semantic+Native Functions |
| ch08 | Understanding agent memory and knowledge | RAG, Vector DB, Memory Systems |
| ch09 | Mastering agent prompts with prompt flow | 6 Strategies, Agent Profile, Prompt Flow DAG |
| ch10 | Agent reasoning and evaluation | CoT, Self-Consistency, ToT, Evaluation |
| ch11 | Agent planning and feedback | Sequential Planning, JSON Planners, Feedback |
Topic Index
- AgentOps → ch04
- AutoGen / AutoGen Studio → ch04
- Behavior Trees → ch06
- Chain of Thought (CoT) → ch10
- Control Barrier Functions → ch06
- CrewAI → ch04
- Custom Actions / Functions → ch03, ch05
- Few-Shot Prompting → ch10
- Function Calling → ch05
- GPT Assistants / GPT Store → ch03
- Memory (short-term, long-term, semantic) → ch08
- Multi-Agent Systems → ch04
- Native Functions → ch05
- Nexus → ch07
- OpenAI API / Chat Completions → ch02
- Planning / Sequential Planning → ch11
- Prompt Engineering (6 strategies) → ch09
- Prompt Flow → ch09
- RAG (Retrieval Augmented Generation) → ch08
- Reasoning Spectrum → ch10
- Self-Consistency Prompting → ch10
- Semantic Functions / Semantic Kernel → ch05
- Temperature → ch02
- Tokens / Token Counting → ch02
- Tree of Thought (ToT) → ch10
- Vector Database → ch08
Supporting Files
- glossary.md — all key terms with definitions
- patterns.md — all techniques and design patterns
- cheatsheet.md — quick reference tables and decision guides
Scope & Limits
This skill covers the book content only. For hands-on implementation in your codebase, combine with project-specific tools. For topics beyond this book, check related skills or ask the agent directly.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供《AI Agents in Action》系统知识库,覆盖 AutoGen、CrewAI、Semantic Kernel、Behavior Trees 等主流代理框架
- 涵盖提示工程策略(CoT、ToT、RAG)和代理架构模式,适用于构建自主助手和多代理系统
亮点
- 触发场景描述清晰完整,覆盖无参数加载、按主题查询、按章节加载、浏览目录等多种使用方式
- 边界明确,不易与其他 Skill 重叠
亮点
- 结构完整,包含使用指南、核心框架、章节索引、主题索引、支持文件和范围说明
- 提供端到端示例和决策指导,frontmatter 规范
待提升项
-
引用文件缺失 原报告严重程度:重大
SKILL.md 引用了 chapters/ch01-introduction-to-agents.md 等 11 个章节文件以及 glossary.md、patterns.md、cheatsheet.md 等支持文件,但当前仅传入 SKILL.md 文件
改进建议:请确保所有被引用的章节文件和支持文件一并打包上传,否则用户按章节或主题查询时将无法获取完整内容
亮点
- 知识库型 Skill 执行流程简单可靠,不涉及复杂外部调用
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。