全书目录

附录 G:分章资料清单

G.95 第 48 章《LlamaIndex:从数据框架走向 Agent Workflow》资料清单

13 分钟 5,631 字 第 151 / 161 个阅读单元
  1. LlamaIndex README 作者/机构:LlamaIndex 年份:2026 URL:https://github.com/run-llama/llama_index 角度:data framework、自我定位、agents/workflows 与 data core 的关系 采用原因:适合支撑其第一性定位。

  2. Framework Documentation 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/ 角度:模块地图、框架结构、整体分层 采用原因:适合支撑全局对象模型。

  3. Starter Tutorial 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/getting_started/starter_example/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/getting_started/starter_example.mdx 角度:从工具 agent 到 RAG agent 的最短主路径 采用原因:适合支撑“先建数据能力,再给 agent 调度”。

  4. Use Cases: Agents 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/use_cases/agents/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/use_cases/agents.md 角度:Agentic RAG、workflow、自定义 agentic workflows 采用原因:适合支撑业务适配与框架边界。

  5. Building an Agent 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/understanding/agent/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/understanding/agent/index.mdx 角度:prebuilt agents、FunctionAgent、基本 agent loop 采用原因:适合支撑高层 agent 抽象的定位。

  6. Maintaining State 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/understanding/agent/state/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/understanding/agent/state.md 角度:Context、跨 run 状态、序列化恢复、tools 访问 state 采用原因:适合支撑状态模型。

  7. Multi-agent Patterns in LlamaIndex 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/understanding/agent/multi_agent/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/understanding/agent/multi_agent.md 角度:AgentWorkflow、agents-as-tools、自定义 planner 采用原因:适合支撑多 Agent 边界与几种主模式。

  8. Human in the Loop 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/understanding/agent/human_in_the_loop/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/understanding/agent/human_in_the_loop.md 角度:InputRequiredEvent、HumanResponseEvent、wait_for_event 采用原因:适合支撑 HITL 语义建立在 workflow 事件之上。

  9. Agents Guide 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/deploying/agents/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/deploying/agents/index.mdx 角度:FunctionAgent、ReActAgent、CodeActAgent、AgentWorkflow 采用原因:适合支撑 prebuilt agents 的统一入口。

  10. Agent Memory 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/deploying/agents/memory/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/deploying/agents/memory.mdx 角度:Memory、short-term / long-term、memory blocks、session_id 采用原因:适合支撑记忆系统不是简单 chat buffer。

  11. Agent Tools 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/deploying/agents/tools/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/deploying/agents/tools.md 角度:FunctionTool、QueryEngineTool、ToolSpec、return_direct 采用原因:适合支撑工具层如何连接数据能力与 agent。

  12. Query Engine 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/deploying/query_engine/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/deploying/query_engine/index.mdx 角度:query engine 是索引与检索之上的回答接口 采用原因:适合支撑数据主链中的回答层。

  13. Vector Store Index 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/indexing/vector_store_index/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/indexing/vector_store_index.mdx 角度:document→node→index、ingestion pipeline、composable retrieval 采用原因:适合支撑节点化与索引化是其第一性工程。

  14. Retriever 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/querying/retriever/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/querying/retriever/index.mdx 角度:retrieval 是 query engine / chat engine 的关键 building block 采用原因:适合支撑检索层处于系统中央。

  15. Response Synthesizers 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/querying/response_synthesizers/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/querying/response_synthesizers/index.mdx 角度:response synthesis、回答合成策略 采用原因:适合支撑 query engine 不只是检索,还包括回答构造。

  16. Instrumentation 作者/机构:LlamaIndex 年份:2026 URL:https://developers.llamaindex.ai/python/framework/module_guides/observability/instrumentation/ 本地路径:/tmp/llamaindex.EaYD0o/repo/docs/src/content/docs/framework/module_guides/observability/instrumentation.md 角度:events、spans、dispatcher、observability 采用原因:适合支撑治理与观测建立在通用 instrumentation 上。

  17. BaseWorkflowAgent 源码 作者/机构:LlamaIndex 年份:2026 源码路径:/tmp/llamaindex.EaYD0o/repo/llama-index-core/llama_index/core/agent/workflow/base_agent.py 角度:Workflow + BaseModelinitial_statectx.store、run lifecycle 采用原因:适合支撑 agent 建立在 workflow 之上。

  18. AgentWorkflow 源码 作者/机构:LlamaIndex 年份:2026 源码路径:/tmp/llamaindex.EaYD0o/repo/llama-index-core/llama_index/core/agent/workflow/multi_agent_workflow.py 角度:handoff、root_agent、state、memory、shared context、多 Agent 协调 采用原因:适合支撑多 Agent 不是 actor runtime,而是 workflow 化 handoff。

  19. QueryEngineTool 源码 作者/机构:LlamaIndex 年份:2026 源码路径:/tmp/llamaindex.EaYD0o/repo/llama-index-core/llama_index/core/tools/query_engine.py 角度:query engine 到 tool 的桥接 采用原因:适合支撑“先有数据能力,再工具化给 agent”。

  20. Memory 源码 作者/机构:LlamaIndex 年份:2026 源码路径:/tmp/llamaindex.EaYD0o/repo/llama-index-core/llama_index/core/memory/memory.py 角度:session_id、memory blocks、flush、retrieve、SQLite / remote store 采用原因:适合支撑长期记忆和数据系统一体化。