农业图书情报学报

• •    

智能体时代的图书馆转型:基于OpenClaw架构的服务重构与治理框架研究

刘炜1,2, 金家琴2,3   

  1. 1. 上海社会科学院信息研究所,上海 200235
    2. 上海大学文化遗产与信息管理学院,上海 200444
    3. 上海图书馆(上海科学技术情报研究所),上海 200031
  • 收稿日期:2026-03-16 出版日期:2026-04-02
  • 作者简介:

    刘炜(1966- ),男,研究员,博士生导师,上海大学文化遗产与信息管理学院,上海社会科学院信息研究所,所长,研究方向为智慧图书馆、知识组织、人工智能、数字人文

    金家琴(1980- ),女,博士研究生,上海大学文化遗产与信息管理学院,上海图书馆(上海科学技术情报研究所),研究馆员,研究方向为数字学术、智慧图书馆、人工智能应用

  • 基金资助:
    国家社会科学基金重大项目“智能时代提升全民数字素养的理论和实践研究”(24&ZD180)

Library Transformation in the Age of AI Agents: Service Reconfiguration and Governance Framework Based on the OpenClaw Architecture

LIU Wei1,2, JIN Jiaqin2,3   

  1. 1. Institute of Information Studies, Shanghai Academy of Social Sciences, Shanghai 200235
    2. School of Cultural Heritage and Information Management, Shanghai University, Shanghai 200444
    3. Shanghai Library (Shanghai Institute of Scientific and Technical Information), Shanghai 200031
  • Received:2026-03-16 Online:2026-04-02

摘要:

[目的/意义] 随着人工智能技术从对话生成向自主执行加速演进,图书馆传统服务模式、业务架构与治理体系面临系统性重构压力。以OpenClaw为代表的AI智能体能够自主规划任务、调用外部工具并交付结构化工作成果,为观察智能体时代图书馆服务逻辑变化提供了切口。 [方法/过程] 综合采用技术架构剖析、案例比较与政策文本分析等方法,解读视觉驱动代理、本地优先架构、心跳机制与模型上下文协议(MCP)等4项核心技术机制。并在此基础上,提出狭义与广义OpenClaw的分析框架,系统考察智能体技术对图书馆服务入口、交付模式、信息行为和商业生态的多层面影响。 [结果/结论] 研究发现,图书馆引入智能体的关键不在于部署某一具体产品,而在于是否具备系统接口开放、事件驱动、权限治理与可观测4项基础条件,其中系统开放性不足是当前核心瓶颈。本研究提出3条差异化服务重构路径:新一代图书馆服务平台路径、智能体原生路径和渐进式过渡路径,以及分阶段实施策略;构建了涵盖系统安全、数据治理、伦理规范、版权合规、人机协同与标准化建设6个维度的治理框架,并提出“智能体沙盒实验区”等制度创新建议。图书馆业务流程的结构化特征使其具备较高的智能体应用潜力,但落地成效取决于技术准备度、治理成熟度与组织变革能力的协同提升。本研究旨在为图书馆理解和应对智能体技术变革提供分析框架与实践参考。

关键词: AI智能体, OpenClaw, 智慧图书馆, 服务重构, 计算机使用代理, 模型上下文协议, 生成式引擎优化, 治理框架

Abstract:

[Purpose/Significance] The rapid evolution of artificial intelligence technologies from dialogue-based generation to autonomous task execution marks a paradigm shift with profound implications for library services. A new generation of AI agents, exemplified by the open-source project OpenClaw, can independently plan multi-step tasks, invoke external tools, operate computer interfaces through visual perception, and deliver structured work products with minimal human intervention. The shift from "answering questions" to "completing tasks" fundamentally challenges the traditional library service model. The model has long been based on the idea that librarians serve as the primary connection between information resources and users. Libraries worldwide are facing an increasing structural tension: their collections are expanding while their staffing levels are remaining constrained, resulting in unmet knowledge service demands. Agent technologies, with their capabilities for autonomous planning, tool invocation, environmental perception, and persistent memory, offer a potential pathway to address this gap. However, the library community currently lacks a systematic analytical framework through which to understand how this technology paradigm intersects with existing service architectures, governance requirements, and organizational structures. This study addresses this gap by providing both a conceptual framework for analyzing agent technologies in the library context and practical guidance for their implementation and governance, contributing to the broader discourse on intelligent library transformation as articulated in national science and technology development strategies. [Method/Process] This study employs a multi-method research design with OpenClaw as the primary analytical lens. The technical architecture analysis involves systematic examination of OpenClaw's publicly available documentation, GitHub source code repository, and official technical publications. Four core mechanisms are deconstructed in detail: the Computer Use Agent paradigm, which enables vision-driven interface operation through periodic screen capture, multimodal language model interpretation, and simulated mouse and keyboard actions; the local-first architecture with model-agnostic design, which maintains data sovereignty through a decentralized gateway-node topology while supporting flexible switching among multiple large language models; the Heartbeat mechanism, which transforms the agent from a passive responder into a proactive monitor through a condition-triggered self-inspection cycles; and the Model Context Protocol, an open standard for tool integration that enables any MCP-compliant agent to invoke standardized service capabilities. Case comparison analysis evaluates two contrasting platform approaches for supporting agent deployment in libraries - FOLIO Eureka, representing the next-generation Library Service Platform pathway with its microservice architecture, API gateway, and event-driven communication, and the Cloud Alliance's A-LSP, representing an agent-native design philosophy that positions intelligent agents as the core organizational principle of library service platforms. Policy document analysis examines the IFLA Guide on the Introduction of AI in Libraries, China's New Generation Artificial Intelligence Development Plan, the Data Security Law, and the Personal Information Protection Law, as well as regional policy experiments in agent technology promotion. Security incident case studies draw from the ClawHavoc supply chain attack, which compromised over 21 000 active instances; Cisco Talos security audits, which revealed prompt injection vulnerabilities; and CrowdStrike threat assessments, which identified misconfiguration risks that could transform agents into attack vectors. [Results/Conclusions] The study proposed a critical distinction between "narrow OpenClaw" (the specific open-source product and its derivative ecosystem) and "broad OpenClaw" (the agent technology paradigm it represents), arguing that libraries must engage strategically with both dimensions while avoiding the twin pitfalls of conflating technology trends with product procurement decisions or dismissing an entire paradigm based on the limitations of a single product. The narrow application analysis identified three viable deployment scenarios - personal productivity tools for librarians, information collection and subject monitoring, and reader-facing service prototyping - while documenting associated risks in technical stability, supply chain security, and regulatory compliance. The broad paradigm analysis revealed five structural impacts on libraries: diversification of service entry points through embedded integration, transformation from reactive response to proactive push services, evolution of reader information behaviors from search to delegation, disruption of commercial ecosystems including usage-based pricing models, and fundamental repositioning of libraries as knowledge infrastructure in the AI ecosystem. Four architectural prerequisites for agent deployment were identified: API openness, event-driven capabilities, permission governance, and observability, with insufficient system openness identified as the primary bottleneck that constrains implementation. Three differentiated implementation pathways were proposed with corresponding phased strategies. A comprehensive governance framework has been constructed encompassing six dimensions: system security with defense-in-depth measures, data governance and privacy protection aligned with national legislation, ethical standards addressing algorithmic bias and hallucination risks, copyright compliance addressing the ambiguity of agent-mediated access under existing licensing agreements, human-agent collaboration through a tiered oversight system, and standardization initiatives including library-specific MCP tool standards. The study also proposed institutional innovations such as "agent sandbox zones" that allow controlled experimentation in isolated environments. The research concluded that the highly structured and process-oriented nature of library workflows makes libraries a particularly suitable domain for agent technology adoption, but successful implementation depends on the coordinated advancement of technical readiness, governance maturity, and organizational change capacity. Limitations of this study include the nascent stage of actual agent deployment in libraries, which means the proposed frameworks await empirical validation. Future research directions include conducting empirical studies of library agent deployments, developing standardization pathways for cross-library agent collaboration, investigating copyright licensing adaptation mechanisms for agent-mediated access, and examining the long-term impact of agent technologies on the library profession and library science education.

Key words: AI agents, OpenClaw, smart libraries, service reconfiguration, computer-use agent, model context protocol, generative engine optimization, governance framework

中图分类号:  G250

引用本文

刘炜, 金家琴. 智能体时代的图书馆转型:基于OpenClaw架构的服务重构与治理框架研究[J/OL]. 农业图书情报学报. https://doi.org/10.13998/j.cnki.issn1002-1248.26-0120.

LIU Wei, JIN Jiaqin. Library Transformation in the Age of AI Agents: Service Reconfiguration and Governance Framework Based on the OpenClaw Architecture[J/OL]. Journal of library and information science in agriculture. https://doi.org/10.13998/j.cnki.issn1002-1248.26-0120.