WebAgents:面向智能体原生网络,解耦智能体的创建、托管与执行
摘要
该论文介绍了 WebAgents,这是一个面向智能体网络的框架,通过经过签名的 agent.pkg 软件包,将智能体的创建、托管和执行解耦。这些软件包包含可移植的工作流、技能和模式,由基于 OpenClaw 的浏览器在运行时进行验证和绑定,同时保留用户对模型、工具和预算的控制权。在评估中,该框架拦截了全部 716 个注入的契约违规案例,同时接受了全部 295 个良性对照案例,执行前处理耗时低于 0.5 秒。
查看缓存全文
缓存时间: 2026/11/19 03:07
# Unbundling Agent Creation, Hosting,and Execution for an Agent-Native Web Source: [https://arxiv.org/html/2611.21978](https://arxiv.org/html/2611.21978) ## WebAgents: Unbundling Agent Creation, Hosting, and Execution for an Agent\-Native WebThanks:This work was supported by EU Horizon Europe through SmartCHANGE \(Grant 101080965\) and by the Swiss National Science Foundation through XAI\-PAC \(Grant PZ00P2\_216405\)\. Dario Fenoglio12, Martin Gjoreski1, Marc Langheinrich1, Pradyumna Chari2, and Ramesh Raskar2Affiliation:1Università della Svizzera italiana \(USI\), Switzerland 2Massachusetts Institute of Technology \(MIT\), United States Corresponding author:dario\.fenoglio@usi\.ch ###### Abstract Large language models are moving from isolated assistants toward autonomous agents that can plan, use tools, and coordinate with others, motivating an emerging Agentic Web of independently developed agents and services\. Realizing this vision requires agent behavior to move across creators, hosts, and runtimes without coupling publication to a particular execution environment or transferring authority over user resources\. We introduce WebAgents, which unbundles these roles through a signedagent\.pkgthat carries portable workflows, skills, schemas, and resource requirements\. An OpenClaw\-based agent\-native browser/runtime verifies the package, obtains authorization, and binds it at run time to user\-controlled models, tools, permissions, and budgets, while hosts distribute the public program and may retain private services server\-side\. We demonstrate this contract with three unrelated workflows executed unchanged under local and API\-backed models, including literature review with live services and a website\-published travel agent using semantic tools and user\-selected personal resources\. In a controlled suite, WebAgents explicitly blocks all 716 injected contract violations while accepting all 295 matched benign controls, with median automated pre\-execution processing below 0\.5 s for all three packages\. We conclude by outlining a path toward NANDA\-based discovery and interoperable package ecosystems while retaining execution authority in the user’s runtime\. ###### Index Terms: AI agents, Agentic Web, agent interoperability, portable execution, runtime security\. ## IIntroduction Large Language Models \(LLMs\) are increasingly moving beyond passive content generation toward autonomous agents that can plan, invoke tools, maintain state, and coordinate with others\. These capabilities are already being explored across domains ranging from scientific discovery to enterprise automation, suggesting a shift from isolated AI applications toward ecosystems of interacting agents\[[1](https://arxiv.org/html/2611.21978#bib.bib24),[2](https://arxiv.org/html/2611.21978#bib.bib20),[3](https://arxiv.org/html/2611.21978#bib.bib21)\]\. As these systems mature, the Web can become a substrate not only for humans accessing pages and services, but also for agents discovering capabilities, delegating tasks, and acting across organizational boundaries\. We refer to this emerging setting as the*Agentic Web*: an open environment where independently developed agents, tools, and services can be discovered, composed, and executed\[[4](https://arxiv.org/html/2611.21978#bib.bib4)\]\. Realizing this vision, however, requires more than increasingly capable models\. It requires infrastructure that allows agent behavior to move across creators, hosts, and runtimes without coupling publication to a particular execution environment or transferring authority over user resources\. Consider a researcher sharing a literature\-review workflow\. Hosting it as a service makes the publisher responsible for orchestration and inference, while distributing a script leaves each recipient to configure models, credentials, and tools\. Neither approach, by itself, provides a common boundary between the published workflow and the recipient’s authority\. We argue that coupling agent creation, hosting, and runtime limits an open agent ecosystem\. We therefore separate three roles: \(i\) a creator produces a portable agent program; \(ii\) a host makes that program reachable and may retain private services server\-side; and \(iii\) a user\-controlled runtime verifies and executes it using authorized resources\. This separation lets creators distribute expertise without operating every invocation, while users retain control over the models, credentials, and budgets used on their behalf\. With a common execution contract, creation tools, hosting providers, and runtimes can evolve independently\. However, separating these roles is not sufficient\. A downloaded agent may request access to private data, invoke remote tools, or consume a substantial inference budget\. The package must therefore describe behavior without granting itself the authority to perform it; the receiving runtime decides which requests to accept and enforces those decisions throughout execution\. In our framing, an*agent\-native browser*executes a publisher\-defined program rather than reconstructing behavior from human\-facing pages\. The goal is a web designed for agents, not only agents designed to navigate the existing web\[[5](https://arxiv.org/html/2611.21978#bib.bib11),[6](https://arxiv.org/html/2611.21978#bib.bib12)\]\. Website automation can remain one of its tools, but is not its defining function\. To explore this separation, we introduce WebAgents, a portable execution framework built around a signed agent package and an OpenClaw\-based browser/runtime\. WebAgents realizes the three roles around a sharedagent\.pkgartifact: creators produce and sign portable packages, a host distributes them independently of execution, and the OpenClaw agent\-native browser/runtime binds them at run time to the user’s authorized models, tools, permissions, and budgets\. This connects signed behavior, user authorization, and concrete model/tool bindings in an auditable execution contract\. We demonstrate the design with three workflows executed unchanged under local and API\-backed model bindings, and use controlled experiments to test whether the contract rejects violations and measure its automated pre\-execution cost\. We then identify requirements for portable execution and outline a path toward discovery and richer execution profiles\. With this work, we hope to contribute toward a more open and interoperable Agentic Web in which reusable agent behavior can move across providers and runtimes while execution authority remains with the user\. ## IIRelated work #### Agent interoperability and discovery The Web of Agents identifies messaging, interaction, state management, and discovery as foundations for cross\-ecosystem collaboration\[[1](https://arxiv.org/html/2611.21978#bib.bib24)\]; Agent\-OSI develops communication and settlement interfaces for a decentralized agent ecosystem\[[7](https://arxiv.org/html/2611.21978#bib.bib10)\]\. MCP standardizes access to tools and context, including consent requirements\[[8](https://arxiv.org/html/2611.21978#bib.bib18)\], while A2A supports task exchange between independently implemented agents\[[9](https://arxiv.org/html/2611.21978#bib.bib19)\]\. Work on agent infrastructure motivates identity and discovery beyond fixed service endpoints\[[10](https://arxiv.org/html/2611.21978#bib.bib14)\]; NANDA separates a lean index from verifiable AgentFacts and endpoint metadata\[[11](https://arxiv.org/html/2611.21978#bib.bib15)\]\. These mechanisms let agents find and invoke capabilities\. Our focus is the additional step of transferring an agent program for execution under the recipient’s authority\. #### Portable agent behavior Agent Skills packages reusable instructions, scripts, and resources that agents can load across compatible environments\[[12](https://arxiv.org/html/2611.21978#bib.bib17)\], while Paper2Agent exposes research methods and workflows as reusable MCP tools\[[13](https://arxiv.org/html/2611.21978#bib.bib5)\]\. Open Agent Specification defines a framework\-independent representation of agents, workflows, data flow, and tool interfaces, with adapters that execute the same specification across multiple agent frameworks\[[14](https://arxiv.org/html/2611.21978#bib.bib9)\]\. WebAgents moves portability to a different boundary: portable execution across independently operated creators, hosts, and runtimes\. A signed program is distributed independently of execution, while the receiving runtime selects and authorizes the concrete models, tools, permissions, and budgets used on its behalf\. Thus, portability does not require adopting the publisher’s framework, infrastructure, or execution authority\. #### Package identity and provenance JAR combines manifests, content digests, and signatures\[[15](https://arxiv.org/html/2611.21978#bib.bib16)\], while in\-toto verifies signed evidence of software production steps\[[16](https://arxiv.org/html/2611.21978#bib.bib6)\]\. The Agent Packaging Standard also specifies agent manifests, distribution, and optional provenance verification\[[17](https://arxiv.org/html/2611.21978#bib.bib7)\]\. These approaches establish artifact identity and provenance\. WebAgents extends this boundary into execution: the verified package is bound to the user’s approved execution configuration, and the same binding must still hold when execution begins\. #### Runtime control and enforcement D’Agents combined authenticated programs with resource policies and restricted execution\[[18](https://arxiv.org/html/2611.21978#bib.bib8)\]\. For LLM agents, AIOS separates applications from managed models, tools, and access control\[[19](https://arxiv.org/html/2611.21978#bib.bib1)\]\. AgentSpec enforces event–condition–action rules at runtime\[[20](https://arxiv.org/html/2611.21978#bib.bib2)\], and CaMeL uses explicit control and data flow with capability policies against prompt injection\[[21](https://arxiv.org/html/2611.21978#bib.bib22)\]\. These systems show the importance of mediating execution when external capabilities are involved\. WebAgents brings publication, authorization, and runtime enforcement into one verifiable lifecycle, connecting this control to a portable, independently published agent program\. We evaluate this lifecycle through unchanged\-package executions, contract\-violation tests, and pre\-execution timing\. ## IIIUnbundling through a portable execution contract An open Agentic Web needs publication and execution to scale independently\. Reusing an agent should not require the creator to operate its inference or the user to adopt a publisher\-specific resource environment\. We therefore define unbundling as*independent substitutability*: creators, hosting providers, and compatible runtimes can change without rewriting the public agent program\. A provider can offer several roles; the shared contract keeps the others replaceable\. #### Creation, hosting, and runtime The creator specifies the workflow, skills, and requirements in a signedagent\.pkg\. The host makes the package reachable and may separately expose private services\. The browser/runtime inspects the package and supplies the user’s chosen model, approved tools, and execution limits \(Figure[1](https://arxiv.org/html/2611.21978#S3.F1)\)\. This separates the cost of making an agent available from the cost of running it: inference is provisioned by the runtime, while private data and business logic can remain behind service interfaces\. Users can reuse a configured environment across independently authored agents, and creators can improve workflows without operating each user’s execution stack\. As the ecosystem grows, shared interfaces would let creation tools, hosting services, and runtimes improve independently rather than requiring one platform to provide all three\. CreationPackage authoragent\.pkgWorkflow \+ skillsSchemas \+ policyIntegrity \+ signatureHostingPackage hostHTML \+agent\.pkgNANDA \(future\)Identity \+ package locationRuntime / OpenClawVerify \+ trust \+ authorizeImmutable Run PlanGenericworkflow\.v0Model bridge \+ Tool BrokerPrivate servicesApproved remote APIsUser\-controlled resourcesModel, selected files, budgetsProfile, identity, demo paymentbuild\+ signopentool callsPublic program;no user credentialsFig\. 1:Separation of publication and execution in WebAgents\. The package transports behavior and requirements; it does not transport user authority\. Solid paths include experimental website\-advertised discovery\. The dashed discovery path is a proposed NANDA integration: its output would enter the same verification and authorization process as a direct package URL\. #### Requirements are not permissions A literature\-review package may require structured model outputs, sufficient context capacity, and scholarly search\. These requirements describe what execution needs; the runtime determines which concrete resources satisfy them and obtains permission to use them\. The resulting contract binds the signed program to those approved resources and limits for a particular run\. This is the connection between portability and control: the program can be shared across environments, while credentials and authority remain with each receiving runtime\. Compatibility is explicit, and different model bindings can produce different answers\. ## IVThe WebAgents architecture The prototype implements the separation in Figure[1](https://arxiv.org/html/2611.21978#S3.F1)through a data\-only package, a hosting layer, and a user\-controlled OpenClaw runtime containing the browser control plane and mediated execution engine\. The host distributes the package and may expose private services, while the runtime verifies, authorizes, binds, and executes it\. Hosting a package does not grant access to runtime credentials or tools\. ### IV\-AA signed program, not a capability grant Anagent\.pkgis a deterministic archive containing a manifest, workflow graph, markdown skills, input/output schemas, tool declarations, and policies\. The manifest identifies the package version and execution profile, and declares the model capabilities and resources needed to run the workflow\. The current format contains data interpreted byworkflow\.v0; it does not load package\-supplied Python, shell scripts, or native modules\. Package verification uses SHA\-256 content hashes and an Ed25519 publisher signature over the canonical integrity statement\. The browser also records a hash of the exact archive bytes\. Parsing is bounded and rejects ambiguous or unsafe structures, including duplicate archive names, path traversal, duplicate authoritative JSON keys, and remote schema loading\. Inspection does not execute the workflow\. This matters because authorization must be based on a stable description of what will run, not on behavior already triggered while opening it\. A valid signature binds content to a signing key; it does not establish that the signer is trusted or that the workflow is safe\. In the prototype, the runtime independently pins accepted signer keys under an explicit scope\. The package is inspectable by design, so secrets do not belong inside it\. Provider credentials stay with the runtime, while proprietary host\-side logic remains accessible only through approved service interfaces\. ### IV\-BFrom inspection to an immutable Run Plan The browser opens an explicit HTTPS package URL or an approved local artifact\. When a user instead provides a website URL, the browser can also discover anagent\.pkgpublished by that site\. HTTPS acquisition is size\-bounded and rejects redirects and private\-network targets\. It checks the package structure, integrity, signature, and supported runtime before evaluating publisher trust\. The user then grants or denies permissions and chooses a compatible, routable model\. Tool selection has a further boundary: a declared tool, an available runtime implementation, and an approved binding are distinct objects\. A general permission to perform scholarly search does not authorize arbitrary network requests\. These decisions produce a*Run Plan*: a hash\-bound description of the exact package snapshot, signer and trust state, authorization, selected model, approved tool bindings, and personal\-resource grants\. A separate*Run Invocation*binds task input to that plan\. Immediately before execution, the runner re\-verifies the snapshot and current authority\. If the package, trust decisions, or bindings no longer match the plan, execution is refused rather than silently updated\. This closes the gap between the artifact the user inspected and the artifact actually executed\. The plan is preparation, not an independent permission token\. Execution still passes through the trusted runner and its checks\. A distinct*Run Record*captures completion status, usage, artifacts, and audit information without mutating the plan\. Separating these objects makes it possible to compare the authorized configuration with what a particular run consumed and produced\. Appendix[A](https://arxiv.org/html/2611.21978#A1)summarizes the complete package\-to\-result lifecycle\. ### IV\-CGeneric execution with runtime\-controlled resources Theworkflow\.v0interpreter executes an acyclic graph using six node types:llm,tool,map,join,validate, andoutput\. Model and tool nodes use schema\-checked interfaces; map nodes create bounded workers; join nodes combine results; validation nodes check declared structural and cross\-record constraints\. Skills and orchestration are package data, with no dispatch on package names\. Workers receive copied state views, and validated writes are committed after successful execution waves\. Failed waves do not partially commit shared workflow state\. Model calls pass through a model bridge to exactly the model recorded in the Run Plan\. The package cannot access provider credentials or silently switch to a fallback\. Abstract requirements are checked against runtime capability information, while returned structured data is independently validated\. Tool calls pass through the runtime Tool Broker\. Each binding fixes an adapter and its contract; the package cannot choose arbitrary request URLs, headers, filesystem paths, or shell commands for execution\. For the Literature Review package, the runtime provides adapters for Crossref search, a remotely hosted Citation Resolver, and user\-selected PDF snapshots\. The resolver returns scholarly metadata and BibTeX\. For PDF access, the runtime exposes opaque file identifiers rather than local paths\. WebAir adds four operator\-configured HTTP bindings for its airline services\. These are example runtime bindings, not built\-in workflow operators: other packages can use different adapters without changing the interpreter\. Packages can also request user\-controlled resources by type, such as a travel profile or passenger identity\. The runtime exposes eligible resources, the user selects and authorizes one, and that choice is bound to the Run Plan\. The package therefore expresses what it needs without selecting or carrying the user’s private resource itself\. The runtime enforces token and call budgets, worker concurrency, and deadlines outside the prompts\. It reserves resources before dispatch and accounts for actual usage afterward\. Cancellation propagates to model and tool providers where supported\. These controls bound execution, but neither cancellation nor failed state commits imply rollback of an external service’s completed side effects\. Execution emits a locally hash\-linked audit trail with pro\- venance and usage artifacts, recording run configuration and actions rather than certifying its answers\. Enforcement assumes a trusted OpenClaw runtime and approved adapters\. A malicious instruction can still misuse an approved capability, as agent\-risk and prompt\-injection evaluations illustrate\[[22](https://arxiv.org/html/2611.21978#bib.bib13),[23](https://arxiv.org/html/2611.21978#bib.bib3)\]\. ## VEvaluation Our evaluation separates three questions\. The live case studies test whether unchanged packages execute under different model bindings\. RQ1 tests whether the contract blocks violations without rejecting matched benign executions\. RQ2 measures the local cost of its automated pre\-execution checks\. Additional implementation lessons appear in Appendix[C](https://arxiv.org/html/2611.21978#A3)\. The WebAgents implementation, evaluated packages, and experimental artifacts are publicly available\.111[https://github\.com/dariofenoglio98/WebAgents](https://github.com/dariofenoglio98/WebAgents) ### V\-AThree packages, one interpreter Table[I](https://arxiv.org/html/2611.21978#S5.T1)summarizes*Meeting Agenda*,*Literature Review*, and*WebAir*executed throughworkflow\.v0under both a local Ollama model and an OpenAI API model\. For each workflow, the package archive and task input are identical across the two runs, so changing the model binding does not require repackaging the agent\.*Meeting Agenda*plans a meeting, creates three parallel role\-based perspectives, and synthesizes a structured agenda\. Both runs produced agendas whose items sum to the requested 25 minutes\. It uses no external tools, providing a case distinct from literature review without an application\-specific runner\. TABLE I:Acceptance runs through the same generic interpreter\. Within each workflow, local and API runs use identical package bytes, task inputs, permissions, runtime limits, and tool bindings\. Times are single\-run workflow durations\.*Literature Review*adds live services to the same runtime\. Its package defines search, screening, citation resolution, evidence extraction, synthesis, writing, and verification\. Both runs address the same task on prompt\-injection defenses with the same approved tool bindings\. Each run made three Crossref searches and three Citation Resolver calls and produced a related\-work draft with bibliographic, evidence, unresolved\-item, and verification artifacts\. All 18 model calls in each run used the model selected in its Run Plan\. *WebAir*adds a website\-native case: a fictional airline publishes a signedagent\.pkgalongside its human\-facing webpages\. After discovering and verifying the package, the agent can interact with WebAir through its agent\-native tools for flight search, fare rules, booking quotes, and simulated purchase, rather than reconstructing these actions from the human\-facing site\. The matched search runs each read the selected travel profile and make four live service calls: one flight search and three fare\-rule requests\. All six runs completed with valid audit chains\. Together, they show that the same packaged workflows can execute under local and API\-backed model bindings without changing the package itself\. This demonstrates portability across model\-provider bindings within the same OpenClaw runtime\. ### V\-BRQ1: Contract enforcement Successful workflows do not establish that their execution boundaries are enforced\. We therefore inject violations of the contract’s declared guarantees across eight families \(Table[II](https://arxiv.org/html/2611.21978#S5.T2)\)\. Each template specifies the expected refusal stage and an objective forbidden boundary before the run\. Examples include a tampered package reaching a prepared plan, an unplanned model’s answer being committed, or a call being charged below its honest usage\. #### Setup and metrics Across Meeting Agenda and Literature Review, spanning tool\-free and tool\-enabled workflows, the suite contains 716 distinct violations from 61 templates and 295 matched benign controls that follow the same execution paths without the violated condition, preventing trivial reject\-all behavior\. Each case exercises the Agent Browser, control plane, and runtime, with deterministic stand\-ins for external dependencies\. We count a violation as detected only when the forbidden boundary is not reached and the contract explicitly refuses execution, while the controls measure whether benign executions remain accepted\. To identify which mechanisms provide this protection, we repeat the suite under eight ablations, each disabling one enforcement component\. Full threat\-model, outcome, simulator, and ablation details are given in Appendix[B](https://arxiv.org/html/2611.21978#A2)\. TABLE II:Contract enforcement: percentage of injected violations explicitly blocked before their forbidden boundary\. Ablations are defined in the text; bold rates mark family\-level drops\. All 295 benign controls are accepted in every profile; incidental failures and harness errors are zero\. The overall row is weighted by this catalog’s case counts\. #### Results The full system explicitly blocked all 716 violations before their forbidden boundary, at the lifecycle stage specified in advance, and accepted all 295 controls\. All 9,099 executions across the nine profiles were recorded without harness errors\. Removing each component exposed violations in its corresponding family\. For example, detection fell to 48\.7% without package verification, 30\.9% without plan revalidation, 30\.0% without runtime mediation, and 17\.9% without output validation\. Every lost block became a silent violation, not an incidental failure\. The checks also overlap\. Removing plan revalidation reduced authorization detection to 52\.9% because 16 authorization cases concern consent binding or expiry before the run deadline\. Other layers continued to block subsets of the ablated families, including retained structural checks and checks at later boundaries\. The matrix therefore identifies which cases depend on each component, rather than showing that one check can enforce the whole contract\. ### V\-CRQ2: Pre\-execution overhead We measure the automated contract processing from signed package bytes already in memory to the interpreter’s first\-node dispatch boundary, before any node executes\. To approximate the cost of local execution in the user\-controlled runtime, we evaluate it on a local workstation: an Apple M3 Max \(14 cores, 36 GB\), with Python 3\.13\.5\. Each of three runs includes 50 warmup iterations per package followed by 1,000 timed observations per package, giving 3,000 observations per package\. Package order is randomized within each iteration\. Appendix[B\-C](https://arxiv.org/html/2611.21978#A2.SS3)gives the protocol and artifact sizes\. TABLE III:Automated pre\-execution processing \(ms\): pooled median \(95th percentile\), 3,000 observations per package\.Median processing took 59\.0 ms for Meeting Agenda, 449\.9 ms for Literature Review, and 488\.7 ms for WebAir \(Table[III](https://arxiv.org/html/2611.21978#S5.T3)\), corresponding to less than 0\.2% of end\-to\-end workflow duration for Meeting Agenda and Literature Review, and 0\.6–2\.6% for WebAir\. The coefficient of variation of run medians was at most 0\.41%\. Repeated verification and payload validation at the control plane, runner, and interpreter account for approximately 90%, 96%, and 96% of the measured time\. The higher processing times for Literature Review and WebAir relative to Meeting Agenda are consistent with their larger archives, workflow graphs, and sets of declared tools\. A separate component microbenchmark identifies schema and cross\-reference validation as the largest contributor to package\-open time; Ed25519 verification takes at most 0\.39 ms\. These measurements isolate the contract’s local processing, not end\-to\-end startup latency\. They exclude package download, human authorization time, model and tool calls, loopback HTTP transport, and runner process startup\. Together, the experiments show rejection of the injected violations and sub\-second automated preparation on this machine\. ## VIToward an open Agentic Web The current prototype opens packages from explicit HTTPS URLs, experimental website\-advertised links, or approved local artifacts\. NANDA integration would let users discover candidate packages by identity and capability\[[11](https://arxiv.org/html/2611.21978#bib.bib15)\], then enter the same verification and authorization pipeline\. This extends how programs are found while preserving the execution contract\. #### Discovery without delegated execution authority This integration needs an explicit mapping from agent identity and AgentFacts to a package URL, version, and content digest\. AgentFacts describes an agent;agent\.pkgcontains the program to execute\. Neither a resolver result nor a signed capability assertion grants execution authority\. The browser would still verify the downloaded artifact, evaluate trusted issuers, and obtain local consent\. A certificate authority could bind publisher identities to signing keys, while evaluators attest to tested package properties\[[24](https://arxiv.org/html/2611.21978#bib.bib23)\]\. Runtimes could accept these credentials under their own issuer policies, checking scope and validity rather than manually approving every key\. Freshness, revocation, and conflicting registry information need defined failure behavior\. Federated discovery could then connect public and organizational registries without making one index the universal runtime authority\. #### An ecosystem needs conformance, not just more packages Open collaborative agent ecosystems require interoperability across messaging, interaction, state management, and discovery to avoid fragmentation across frameworks\[[1](https://arxiv.org/html/2611.21978#bib.bib24),[7](https://arxiv.org/html/2611.21978#bib.bib10)\]\. WebAgents extends this interoperability to the execution boundary: independently published agent programs should move across creators, hosts, and runtimes while execution authority remains with the receiving runtime\. Achieving this requires versioned schemas, stable execution\-profile semantics, and conformance tests\. Evaluation should identify the package digest, runtime configuration, and tested workload rather than attaching an unconditional quality label to an agent\. Future work should execute unchanged packages across independently implemented runtimes and multiple model/tool configurations, measuring completion, resource use, and authorization violations\. This would test substitutability across runtimes, extending the current model\-binding and contract evaluations\. #### Broader execution and service integration Conversational and persistent\-service profiles require explicit state lifetimes, renewed consent, cancellation, and budgets\. Executable modules need an additional isolation boundary beyond the current data\-only format\. MCP tools, A2A delegation, and legacy\-web automation could enter through runtime adapters\[[8](https://arxiv.org/html/2611.21978#bib.bib18),[9](https://arxiv.org/html/2611.21978#bib.bib19)\]\. A changed binding must be evaluated and authorized again, never substituted within an existing Run Plan\. Broader data\-flow controls inspired by CaMeL\[[21](https://arxiv.org/html/2611.21978#bib.bib22)\]and confirmations for consequential actions could further constrain the use of approved capabilities\. Scoped persistent memory, external attestations, and real payment integration with monetary spending controls are additional extensions\. ## VIIConclusion We introduced WebAgents as an implementation of agent creation, hosting, and runtime separation\. Its signed package carries the public program, while the OpenClaw\-based runtime supplies and controls the authority to execute it\. Three documented workflows show that the same packaged behavior can execute with both local and API\-backed models, including an origin\-published website agent using live services and runtime\-held personal resources\. In the controlled suite, WebAgents blocks all 716 injected violations and accepts all 295 benign controls, while the three\-package benchmark measures median pre\-execution costs of 59\.0, 449\.9, and 488\.7 ms\. Together, these results support the feasibility of the execution contract and its enforcement within the evaluated scope\. The next challenge is to turn that working boundary into a shared contract across creators, hosts, runtimes, and discovery systems without treating portability as permission\. More broadly, WebAgents points toward an open and interoperable Agentic Web in which reusable agent behavior can move across providers and runtimes while execution authority remains with the user\. ## AI Disclosure ChatGPT and Claude were used to assist with language editing, improving manuscript clarity, and coding support\. All technical content, experiments, analyses, and references were verified by the authors\. ## References - \[1\]\(2026\)Position: collaborative agentic AI needs interoperability across ecosystems\.InInternational Conference on Machine Learning \(ICML\), Position Paper Track,External Links:2505\.21550Cited by:[§I](https://arxiv.org/html/2611.21978#S1.p1.1),[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px1.p1.1),[§VI](https://arxiv.org/html/2611.21978#S6.SS0.SSS0.Px2.p1.1)\. - \[2\]S\. Yao, J\. Zhao, D\. Yu, N\. Du, I\. Shafran, K\. Narasimhan, and Y\. Cao\(2023\)ReAct: synergizing reasoning and acting in language models\.InInternational Conference on Learning Representations,Cited by:[§I](https://arxiv.org/html/2611.21978#S1.p1.1)\. - \[3\]Q\. Wu, G\. Bansal, J\. Zhang, Y\. Wu, B\. Li, E\. Zhu, L\. Jiang, X\. Zhang, S\. Zhang,et al\.\(2024\)AutoGen: Enabling Next\-Gen LLM Applications via Multi\-Agent Conversation\.InConference on Language Modeling \(COLM\),Cited by:[§I](https://arxiv.org/html/2611.21978#S1.p1.1)\. - \[4\]Y\. Yang, M\. Ma, Y\. Huang, H\. Chai, C\. Gong, H\. Geng, Y\. Zhou, Y\. Wen, M\. Fang, M\. Chen, S\. Gu, M\. Jin, C\. Spanos, Y\. Yang, P\. Abbeel, D\. Song, W\. Zhang, and J\. Wang\(2025\)Agentic Web: Weaving the Next Web with AI Agents\.arXiv\.External Links:2507\.21206,[Document](https://dx.doi.org/10.48550/arXiv.2507.21206)Cited by:[§I](https://arxiv.org/html/2611.21978#S1.p1.1)\. - \[5\]X\. Deng, Y\. Gu, B\. Zheng, S\. Chen, S\. Stevens, B\. Wang, H\. Sun, and Y\. Su\(2023\)Mind2Web: Towards a Generalist Agent for the Web\.InAdvances in Neural Information Processing Systems 36, Datasets and Benchmarks Track,Cited by:[§I](https://arxiv.org/html/2611.21978#S1.p4.1)\. - \[6\]S\. Zhou, F\. F\. Xu, H\. Zhu, X\. Zhou, R\. Lo, A\. Sridhar, X\. Cheng, T\. Ou, Y\. Bisk, D\. Fried, U\. Alon, and G\. Neubig\(2024\)WebArena: A Realistic Web Environment for Building Autonomous Agents\.InInternational Conference on Learning Representations,Cited by:[§I](https://arxiv.org/html/2611.21978#S1.p4.1)\. - \[7\]W\. Xu, T\. Wang, Y\. Xia, S\. Zhang, and S\. C\. Liew\(2026\)Agent\-OSI: An Interoperability Architecture for Communication and Settlement in the Decentralized Internet of Agents\.arXiv\.External Links:2602\.13795,[Document](https://dx.doi.org/10.48550/arXiv.2602.13795)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px1.p1.1),[§VI](https://arxiv.org/html/2611.21978#S6.SS0.SSS0.Px2.p1.1)\. - \[8\]Model Context Protocol\(2026\)Model context protocol specification\.Note:Revision 2026\-07\-28External Links:[Link](https://modelcontextprotocol.io/specification/2026-07-28)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px1.p1.1),[§VI](https://arxiv.org/html/2611.21978#S6.SS0.SSS0.Px3.p1.1)\. - \[9\]A2A Project\(n\.d\.\)Agent2Agent \(A2A\) protocol specification\.Note:Version 1\.0\.0\. Accessed 26 September 2026External Links:[Link](https://a2a-protocol.org/v1.0.0/specification/)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px1.p1.1),[§VI](https://arxiv.org/html/2611.21978#S6.SS0.SSS0.Px3.p1.1)\. - \[10\]R\. Raskar, P\. Chari, M\. Lambe, R\. Lincourt, R\. Bala, A\. Joshi, J\. J\. Grogan, A\. Singh, A\. Chopra,et al\.\(2025\)Upgrade or switch: do we need a next\-gen trusted architecture for the internet of AI agents?\.InIEEE 7th International Conference on Trust, Privacy and Security in Intelligent Systems, and Applications \(TPS\-ISA\),pp\. 399–408\.Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px1.p1.1)\. - \[11\]R\. Raskar, P\. Chari, J\. Zinky, M\. Lambe, J\. J\. Grogan, S\. Wang, R\. Ranjan, R\. Singhal, S\. Gupta,et al\.\(2025\)Beyond DNS: unlocking the internet of AI agents via the NANDA index and verified AgentFacts\.arXiv preprint arXiv:2507\.14263\.Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px1.p1.1),[§VI](https://arxiv.org/html/2611.21978#S6.p1.1)\. - \[12\]Agent Skills\(n\.d\.\)Agent skills specification\.Note:Accessed 26 September 2026External Links:[Link](https://agentskills.io/specification)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px2.p1.1)\. - \[13\]J\. Miao, J\. R\. Davis, Y\. Zhang, J\. K\. Pritchard, and J\. Zou\(2026\)Reimagining research papers as interactive and reliable AI agents\.Nature,pp\. 1–9\.External Links:ISSN 1476\-4687,[Document](https://dx.doi.org/10.1038/s41586-026-11044-y)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px2.p1.1)\. - \[14\]S\. Amini, Y\. Benajiba, C\. Bernardis, P\. Cayet, H\. Chafi, A\. Fathan, L\. Faucon, D\. Hilloulin, S\. Hong, I\. Kossyk, T\. M\. S\. Le, R\. Patra, S\. Ravi, J\. Schweizer, J\. Singh, S\. Singh, W\. Sun, K\. Talamadupula, and J\. Xu\(2025\)Open Agent Specification \(Agent Spec\): A Unified Representation for AI Agents\.arXiv\.External Links:2510\.04173,[Document](https://dx.doi.org/10.48550/arXiv.2510.04173)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px2.p1.1)\. - \[15\]Oracle\(n\.d\.\)JAR file specification\.Note:Java SE 25\. Accessed 26 September 2026External Links:[Link](https://docs.oracle.com/en/java/javase/25/docs/specs/jar/jar.html)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px3.p1.1)\. - \[16\]S\. Torres\-Arias, H\. Afzali, T\. K\. Kuppusamy, R\. Curtmola, and J\. Cappos\(2019\)In\-toto: Providing farm\-to\-table guarantees for bits and bytes\.In28th USENIX Security Symposium \(USENIX Security 19\),pp\. 1393–1410\.External Links:ISBN 978\-1\-939133\-06\-9Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px3.p1.1)\. - \[17\]Agent Packaging Standard Working GroupAgent packaging standard \(APS\): specification v0\.1\.Note:Accessed 2 October 2026External Links:[Link](https://agentpackaging.org/specs/APS-v0.1/)Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px3.p1.1)\. - \[18\]R\. S\. Gray, D\. Kotz, G\. Cybenko, and D\. Rus\(1998\)D’Agents: Security in a Multiple\-Language, Mobile\-Agent System\.InMobile Agents and Security,G\. Vigna \(Ed\.\),pp\. 154–187\.External Links:[Document](https://dx.doi.org/10.1007/3-540-68671-1%5F9),ISBN 978\-3\-540\-68671\-2Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px4.p1.1)\. - \[19\]K\. Mei, X\. Zhu, W\. Xu, M\. Jin, W\. Hua, Z\. Li, S\. Xu, R\. Ye, Y\. Ge, and Y\. Zhang\(2025\)AIOS: LLM Agent Operating System\.InSecond Conference on Language Modeling,Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px4.p1.1)\. - \[20\]H\. Wang, C\. M\. Poskitt, and J\. Sun\(2026\)AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents\.InProceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering,ICSE ’26,New York, NY, USA,pp\. 2938–2950\.External Links:[Document](https://dx.doi.org/10.1145/3744916.3764546),ISBN 979\-8\-4007\-2025\-3Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px4.p1.1)\. - \[21\]E\. Debenedetti, I\. Shumailov, T\. Fan, J\. Hayes, N\. Carlini, D\. Fabian, C\. Kern, C\. Shi, A\. Terzis, and F\. Tramèr\(2026\)Defeating prompt injections by design\.InIEEE Conference on Secure and Trustworthy Machine Learning \(SaTML\),Cited by:[§II](https://arxiv.org/html/2611.21978#S2.SS0.SSS0.Px4.p1.1),[§VI](https://arxiv.org/html/2611.21978#S6.SS0.SSS0.Px3.p1.1)\. - \[22\]Y\. Ruan, H\. Dong, A\. Wang, S\. Pitis, Y\. Zhou, J\. Ba, Y\. Dubois, C\. J\. Maddison, and T\. Hashimoto\(2024\)Identifying the Risks of LM Agents with an LM\-Emulated Sandbox\.InThe Twelfth International Conference on Learning Representations,Cited by:[§IV\-C](https://arxiv.org/html/2611.21978#S4.SS3.p6.1)\. - \[23\]E\. Debenedetti, J\. Zhang, M\. Balunovic, L\. Beurer\-Kellner, M\. Fischer, and F\. Tramèr\(2024\)AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents\.InThe Thirty\-Eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track,Cited by:[§IV\-C](https://arxiv.org/html/2611.21978#S4.SS3.p6.1)\. - \[24\]World Wide Web Consortium\(2025\)Verifiable credentials data model v2\.0\.Note:W3C Recommendation, 15 May 2025External Links:[Link](https://www.w3.org/TR/2025/REC-vc-data-model-2.0-20250515/)Cited by:[§VI](https://arxiv.org/html/2611.21978#S6.SS0.SSS0.Px1.p1.1)\. ## Appendix APackage\-to\-result lifecycle Algorithm[1](https://arxiv.org/html/2611.21978#alg1)summarizes the contract in Section[IV](https://arxiv.org/html/2611.21978#S4), including website\-advertised acquisition\. In the current prototype, a website can advertise an associatedagent\.pkgthrough an experimental same\-originrel="agent\-package"link\. NANDA discovery and issuer credentials remain future extensions\. The lifecycle keeps artifact identity, resource authorization, and execution records distinct\. Algorithm 1From package acquisition to an auditable result1:Package or website location, task input, and runtime policy; optionally a future NANDA identity\. 2:Preparation error or Run Record with status and available artifacts; existing plans unchanged\. 3:Discover\.Read an experimental same\-origin website package link;*future:*resolve identity through NANDA to AgentFacts and a package location/version/digest\. Treat either result as metadata, not authority\. 4:Acquire\.Snapshot bounded package bytes from HTTPS or an approved local artifact without executing the workflow\. 5:Verify\.Check container, hashes, signature, schemas, and execution profile\. Reject invalid packages\. 6:Evaluate trust\.Require a scoped signer pin; future issuer credentials can inform trust without replacing verification\. 7:Authorize and bind\.Obtain permissions, tool approvals, and personal\-resource selections\. Choose a compatible, routable model; refuse unavailable required capabilities\. 8:Prepare\.Freeze package, signer/trust, receipt, model, tool bindings, and resource identifiers/digests in a Run Plan\. Bind input in a Run Invocation\. 9:Revalidate\.Lease the snapshot; recheck identity, authority, bindings, resource grants, model availability, and limits\. Refuse stale plans\. 10:Execute\.Run the signed graph with copied state and approved bridges, enforcing permissions, schemas, budgets, concurrency, and deadlines\. 11:Validate and commit\.Validate outputs and declared relationships; commit writes only after successful waves\. Record progress and usage\. 12:Handle interruption\.Stop affected work and propagate cancellation where supported, without rolling back completed external side effects\. 13:Finalize\.Emit Run Record, audit, usage, provenance, and available artifacts\. Publish successful outputs after checks; preserve the Run Plan\. ## Appendix BControlled evaluation protocol ### B\-AViolation construction and outcome rules RQ1 \(experiment 1\.0\.0, threat model 1\.0, commit23eac90\) uses Meeting Agenda 0\.2\.2 and Literature Review 0\.2\.5, not WebAir\. Of 61 templates, 54 are enumerated and seven parametric\. Seed20261002varies content edits, added members, context sizes, token\-budget fractions, and schemas\. Nine schema\-mutation operators invalidate calibrated benign answers; duplicate parameters are rejected\. Thirty\-nine templates apply to both packages and 22 only to Literature Review, yielding 253 and 463 violations\. The eight families cover package tampering; untrusted/mis\-scoped signers; missing, denied, replayed, or expiring consent; incompatible requirements or tool contracts; post\-plan changes; unapproved capability use; malformed outputs or broken relations; and resource overruns or invalid usage\. Each template fixes its assumption, refusal component/stage/codes, forbidden boundary, matched control, and ablation before the run\. Controls restore the missing condition, use valid perturbations, or set limits at measured need; deduplication leaves 295 controls\. A boundary crossing is a silent violation even if an error follows\. Otherwise, detection requires an explicit production refusal; unexplained failure is incidental\. Refusal codes are checked against production source\. Simulated\-runtime refusals receive no credit; failed injections and harness errors are separate\. No violation was detected only after its forbidden boundary\. ### B\-BExecution and ablation scope The compiled plugin andagentpkgrun from source with simulators for models, services, DNS, and PDF parsing\. Workers refuse and audit real network, process, and canary\-file access\. The suite is offline and credential\-free, with in\-process control plane and runner; the runner uses the real bridge protocol\. It tests contract logic, not OS isolation, live services, compromised runtimes, release rollback, side channels, availability, or independent\-runtime interoperability\. Ablations use isolated source copies, exact\-match Python/TypeScript patches, and control\-plane policy switches\. Workers verify their profile; no production option exposes ablations\. Verification retains parsing/schema prerequisites, runtime mediation retains static workflow checks, and output validation retains JSON parsing/lookups\. Unremoved sites also block four root\-level schema mutations and one tool\-timeout variant\. These gaps limit ablation coverage: remaining detection does not imply protection after all checks of that type are removed\. All 716 refusals matched the predeclared stage; component attribution matched 710 and refusal codes 704\. Six runtime\-version cases are labeled package validation; six trust\-withdrawal cases reach control\-plane preflight before the publisher check\. Boundary outcomes are unchanged\. Development exposed under\-charging of malformed usage reports, fixed before this run\. Expectations were corrected and three templates split before freezing the catalog, without changing outcome rules\. Smoke, development, and pre\-fix runs are excluded\. Rates describe this finite catalog: variants share templates and the family mix determines the pooled rate\. Controls rule out reject\-all behavior here, not false rejections on arbitrary benign workloads\. ### B\-CPre\-execution timing protocol RQ2 \(benchmark 1\.1\.0, commit9d78ca5\) uses the artifacts in Table[IV](https://arxiv.org/html/2611.21978#A2.T4)\. Only the new three\-package series is pooled\. A long\-lived control plane usestime\.perf\_counter\_nswith garbage collection enabled\. Per run, 50 warmups precede five batches of 200 iterations per package, with package order randomized using seed20261001\. Three runs yield 9,000 observations and 450 warmups, with none of the timed observations dropped\. Code, configuration, fixtures, package hashes, and machine match across runs\. Benchmark fixtures describe 11 tool bindings and six personal resources\. For WebAir, all seven bindings are approved but only the travel profile is granted; identity, payment, and purchase permissions remain denied\. Grant/denial propagation is checked at the runner\. Literature Review uses 0\.2\.4 in Table[I](https://arxiv.org/html/2611.21978#S5.T1)and 0\.2\.5 in RQ1/RQ2\. TABLE IV:Signed artifacts in RQ2\.Eight timestamps delimit package verification, authorization, model/tool compatibility, plan preparation, runtime revalidation/lease, runner re\-verification, and workflow start\. Table[III](https://arxiv.org/html/2611.21978#S5.T3)groups stages 2–3 as authorization/binding and 5–7 as pre\-execution revalidation\. Groups and totals are directly timed; medians need not sum\. Preconditions are checked outside timers\. Guards reject model/tool calls, network access, and process creation\. Human decisions are pre\-recorded; file reads are untimed\. Pooled p95 uses linear interpolation\. Run\-median coefficients of variation are 0\.14%, 0\.31%, and 0\.41% for the three totals and at most 0\.94% per stage\. Runs began only when one\-minute load was at most 3\.0; none was discarded and no inference ran concurrently\. Component measurements attribute most package\-open time to schema/cross\-reference validation; Ed25519 takes at most 0\.39 ms\. Absolute timings also depend on runtime configuration and machine/session conditions\. ## Appendix CImplementation lessons #### Resource assumptions are part of the contract Earlier package versions passed deterministic fixtures but failed on the local model backend\. Conservative token reservations exceeded declared budgets, and local reasoning exceeded deadlines chosen around hosted inference\. Search breadth also exceeded output limits\. The corrections changed bounded workload, timing, budgets, and skill instructions while preserving runtime checks\. A transferable graph is therefore insufficient: a package also needs resource requirements that a runtime can assess\. This makes incompatibility visible instead of hiding it behind a model substitution or relaxed limits\. #### Output contracts must cover composition and failure An earlier review run reused local evidence identifiers across workers, causing the join to discard three genuine records\. The current runs use paper\-scoped evidence identifiers, avoiding this collision\. An earlier query returned insufficient grounded evidence; validation rejected unsupported prose instead of producing a valid no\-results artifact\. These cases show why output contracts must cover cross\-worker relationships and empty\-result behavior, not only individual schemas\. Such checks cannot establish review completeness or whether claims follow from the evidence\.
相似文章
WebAnything:从开放网络到可扩展的智能体环境
WebAnything 提出了一个全自动框架,可根据真实 URL 重建以源网站为依据、可复用的网页智能体环境,构建了 244 个网站实例,支持 12,984 项任务,并表明使用其交互轨迹对 Qwen3.5-9B 进行微调能够提高网页智能体在多个基准测试中的任务成功率。
我们如何构建安全、可扩展的代理沙箱基础设施(8分钟阅读)
Browser Use 描述了隔离执行代码的 AI 代理的两种模式:隔离工具与隔离代理。他们使用 AWS 上的 Unikraft 微虚拟机实现了代理隔离模式,获得了安全、可扩展且一次性的沙箱。
@svpino:这看起来像是现有智能体的 Computer Use,但它们把这些能力打包的方式真的很酷:• 浏览器运行在……
Gumloop 推出 Agent Browsers,一个托管的浏览器环境,让 AI 智能体可以操作那些没有 MCP 或 API 的网站——包括云端运行的浏览器、集成 1Password 的凭据保险库、持久化配置文件、实时查看与会话回放、隐身/代理会话,以及可复用的工作流。
WeClawArena: An Auditable Sandbox and Benchmark for Cross-User Agents Collaboration and Security in Human-Centered Agent Networks
WeClawArena is an auditable benchmark and runtime sandbox for evaluating multi-party cross-user agent collaboration and security in human-centered agent networks, measuring task utility and attack success rates across personal workspace tasks.
探究能够以最少人为干预运行的代理设置
作者讨论了最小化人为干预的AI代理框架,重点介绍了如GitHub Agentic Workflows、OpenClaw、Hermes和Aeon等项目,并寻求社区对可靠长期代理工作选项的意见。