diff --git a/README.md b/README.md index a470f0e..2a4104e 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Fastest way to try PageAgent with our free Demo LLM: | Global | https://cdn.jsdelivr.net/npm/page-agent@1.3.0/dist/iife/page-agent.demo.js | | China | https://registry.npmmirror.com/page-agent/1.3.0/files/dist/iife/page-agent.demo.js | -> **⚠️ For technical evaluation only.** Demo LLM has rate limits and usage restrictions. Slow. May change without notice. +> **⚠️ For technical evaluation only.** This demo CDN uses our free [testing LLM API](docs/terms-and-privacy.md#2-testing-api-and-demo-disclaimer--terms-of-use). By using it, you agree to its terms. ### NPM Installation @@ -64,8 +64,8 @@ npm install page-agent import { PageAgent } from 'page-agent' const agent = new PageAgent({ - model: 'deepseek-chat', - baseURL: 'https://api.deepseek.com', + model: 'qwen3.5-plus', + baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', apiKey: 'YOUR_API_KEY', language: 'en-US', }) diff --git a/docs/README-zh.md b/docs/README-zh.md index a3405a4..e69d912 100644 --- a/docs/README-zh.md +++ b/docs/README-zh.md @@ -52,7 +52,7 @@ | Global | https://cdn.jsdelivr.net/npm/page-agent@1.3.0/dist/iife/page-agent.demo.js | | China | https://registry.npmmirror.com/page-agent/1.3.0/files/dist/iife/page-agent.demo.js | -> **⚠️ 仅用于技术评估。** Demo LLM 有速率和使用限制,速度较慢,可能随时变更。 +> **⚠️ 仅用于技术评估。** 该 Demo CDN 使用了免费的[测试 LLM API](terms-and-privacy.md#2-testing-api-and-demo-disclaimer--terms-of-use),使用即表示您同意其条款。 ### NPM 安装 @@ -64,8 +64,8 @@ npm install page-agent import { PageAgent } from 'page-agent' const agent = new PageAgent({ - model: 'deepseek-chat', - baseURL: 'https://api.deepseek.com', + model: 'qwen3.5-plus', + baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', apiKey: 'YOUR_API_KEY', language: 'zh-CN', }) diff --git a/docs/terms-and-privacy.md b/docs/terms-and-privacy.md new file mode 100644 index 0000000..d079837 --- /dev/null +++ b/docs/terms-and-privacy.md @@ -0,0 +1,83 @@ +# Terms of Use & Privacy + +**Last updated:** February 2026 + +"We" in this document refers to the maintainers of the open-source Page Agent project (https://github.com/alibaba/page-agent). This document covers the Page Agent software itself and the testing services we provide — **not** any third-party product or service built with it. + +--- + +## 1. Open Source Software Privacy + +Page Agent (PageAgent.js and Page Agent Extension) is a **client-side only** tool with a "Bring Your Own Key" (BYOK) architecture. The software itself does **not** include any backend service. The software does **not** collect or transmit any user data on its own, and the maintainers do **not** have access to your browsing activity, page content, or task instructions through the software. + +All data transmission occurs **only** between your browser and the LLM provider you configure. You are in full control of which provider receives your data. + +- You choose which LLM provider to use +- You may configure your own API endpoint at any time +- The project is open source and can be audited: https://github.com/alibaba/page-agent + +--- + +## 2. Testing API and Demo Disclaimer & Terms of Use + +To facilitate easy testing and technical evaluation, we provide a free testing LLM API. This API is used in the project homepage's live demo, the pre-built demo CDN bundles, and the browser extension's default configuration. Users may also use it independently for their own technical evaluation of page-agent. + +This free testing API is provided **strictly for technical evaluation and R&D purposes only**. It must not be used in any production environment. By using this service, you agree to the following terms: + +**No Sensitive Data**: You are strictly prohibited from inputting any Personal Identifiable Information (PII), confidential business data, financial/medical records, or using this agent on web pages containing such sensitive information. + +**Zero Data Retention**: We do not store, log, or use your prompts or webpage data (DOM) for model training. All data is processed in-transit and immediately discarded. However, we do temporarily process necessary, identity-agnostic network data (such as IP addresses) solely for rate-limiting and anti-abuse purposes. + +**Independent Infrastructure**: The `page-agent` open-source software is completely frontend-based with a "Bring Your Own Key" (BYOK) architecture and no built-in backend. To facilitate easy testing, the maintainers have independently purchased public cloud services from Alibaba Cloud China ([aliyun.com](https://www.aliyun.com) FC and BaiLian Qwen models). This project is not affiliated with, nor endorsed by, Alibaba Cloud. + +**No Guaranteed Availability**: This testing API may be rate-limited, degraded, or discontinued at any time without prior notice. + +**"AS IS" & Limitation of Liability**: This service is provided strictly on an "AS IS" and "AS AVAILABLE" basis, without any warranties. The maintainers bear no liability for any data loss, service interruption, or legal consequences arising from your use of this demo. + +**Recommendation for Real Usage**: For secure and continuous usage, we strongly advise using the default BYOK mode with your own legally compliant commercial LLM API keys, or connecting to local, offline models (e.g., Ollama). + +**Note**: This service processes data via servers located in Mainland China. If you are located in a region with strict data localization laws (such as the EU/EEA), please do not use this demo. + +--- + +## 3. Browser Extension (Page Agent Ext) + +### Data Processing + +The extension performs DOM analysis and automation actions **locally in your browser**. Your browsing history, passwords, and form data are not accessed or collected by the extension developer. + +Data is transmitted to external servers **only when you initiate an automation task**. When this occurs: + +- Your task instructions (natural language commands) +- Simplified page structure (cleaned DOM) of all pages under the extension's control + +are sent to the LLM API endpoint configured in **your settings**. + +> **Note:** The DOM cleaning process simplifies page structure for AI readability but **does not guarantee removal of sensitive information** (e.g., visible text, form values, or personal data on the page). Please be mindful of the page content when initiating tasks. + +**If you configure a third-party LLM provider** (e.g., OpenAI, Anthropic, or others), data is sent directly to that provider. Their privacy policies apply. + +**If you use the built-in testing API**, the terms in [Section 2](#2-testing-api-and-demo-disclaimer--terms-of-use) apply. By using the extension with the default testing API, you agree to those terms. + +### Data Storage + +- **Local storage only**: Your configuration (API endpoint, API key, model selection) is stored in your browser via `chrome.storage.local` +- **No cloud sync**: Configuration is not synced to any external server +- **No analytics**: The extension does not include any analytics or tracking code + +### Your Control + +- The extension is open source and can be audited by anyone +- You choose which LLM provider to use +- You may configure your own API endpoint at any time +- You can clear all stored data by removing the extension + +--- + +## Changes + +We may update these terms as the project evolves. Significant changes will be noted in release notes. + +## Contact + +https://github.com/alibaba/page-agent/issues diff --git a/packages/extension/PRIVACY.md b/packages/extension/PRIVACY.md index b7739bb..63add48 100644 --- a/packages/extension/PRIVACY.md +++ b/packages/extension/PRIVACY.md @@ -1,60 +1,5 @@ # Privacy Policy for Page Agent Extension -**Last updated:** February 2026 +This document has moved. Please see our full **[Terms of Use & Privacy](../../docs/terms-and-privacy.md)**. -## Overview - -Page Agent Extension is a browser automation tool that uses AI to help you interact with web pages. This policy explains what data is processed and under what circumstances. - -## Data Processing - -### Local Processing - -The extension performs DOM analysis and automation actions **locally in your browser**. Your browsing history, passwords, and form data are not accessed or collected by the extension developer. - -### Data Transmission - -Data is transmitted to external servers **only when you initiate an automation task**. When this occurs: - -- Your task instructions (natural language commands) -- Simplified page structure (cleaned DOM) of all pages under the extension's control - -are sent to the LLM API endpoint configured in **your settings**. - -> **Note:** The DOM cleaning process simplifies page structure for AI readability but **does not guarantee removal of sensitive information** (e.g., visible text, form values, or personal data on the page). Please be mindful of the page content when initiating tasks. - -**If you configure a third-party LLM provider** (e.g., OpenAI, Anthropic, or others), data is sent directly to that provider. Their privacy policies apply. - -**If you use our testing endpoint**, your requests are proxied to [DeepSeek](https://deepseek.com) for AI processing. Regarding this test endpoint: - -- This endpoint is provided for evaluation purposes only and is not recommended for production or daily use -- The free model and their service providers may change at any time without prior notice -- We do **not** store your task content, page content, or visited URLs -- Minimal logging (timestamps, request metadata, IP addresses) may be collected for abuse prevention and service stability -- DeepSeek's [Privacy Policy](https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html) applies to their processing of your requests - -## Data Storage - -- **Local storage only**: Your configuration (API endpoint, API key, model selection) is stored in your browser via `chrome.storage.local` -- **No cloud sync**: Configuration is not synced to any external server -- **No analytics**: The extension does not include any analytics or tracking code - -## Your Control - -- The extension is open source and can be audited by anyone -- You choose which LLM provider to use -- You may configure your own API endpoint at any time -- You can clear all stored data by removing the extension - -## Changes to This Policy - -We may update this policy as the extension evolves. Significant changes will be noted in the extension's release notes. - -## Contact - -For questions about this privacy policy: -https://github.com/alibaba/page-agent/issues - ---- - -Source code: https://github.com/alibaba/page-agent +Online: https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md diff --git a/packages/extension/docs/description.txt b/packages/extension/docs/description.txt index a4927a0..d400ce6 100644 --- a/packages/extension/docs/description.txt +++ b/packages/extension/docs/description.txt @@ -22,7 +22,7 @@ Page Agent Ext performs DOM analysis locally in your browser. When you initiate - Your API Key — Configure your own LLM API (OpenAI, Anthropic, etc.). Data goes directly to your provider - Test API — A free test endpoint is available for evaluation; we recommend your own key for regular use -Privacy policy: https://github.com/alibaba/page-agent/blob/main/packages/extension/PRIVACY.md +Terms of Use & Privacy: https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md 🌟 Open Source: diff --git a/packages/extension/docs/description_zh.txt b/packages/extension/docs/description_zh.txt index 013afa4..62c5e07 100644 --- a/packages/extension/docs/description_zh.txt +++ b/packages/extension/docs/description_zh.txt @@ -22,7 +22,7 @@ Page Agent Ext 在浏览器本地进行 DOM 分析。当你发起任务时,经 - 你的 API Key — 配置你自己的 LLM API(OpenAI、Anthropic 等),数据直接发送到你的服务商 - 测试 API — 提供免费测试端点供体验,日常使用建议配置自己的 Key -隐私政策:https://github.com/alibaba/page-agent/blob/main/packages/extension/PRIVACY.md +使用条款与隐私:https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md 🌟 开源项目: diff --git a/packages/extension/src/agent/constants.ts b/packages/extension/src/agent/constants.ts index 8512beb..bba9ca8 100644 --- a/packages/extension/src/agent/constants.ts +++ b/packages/extension/src/agent/constants.ts @@ -1,10 +1,9 @@ import type { LLMConfig } from '@page-agent/llms' // Demo LLM for testing -export const DEMO_MODEL = 'PAGE-AGENT-FREE-TESTING-RANDOM' -export const DEMO_BASE_URL = - 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy' -export const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM' +export const DEMO_MODEL = 'qwen3.5-plus' +export const DEMO_BASE_URL = 'https://page-ag-testing-ohftxirgbn.cn-shanghai.fcapp.run' +export const DEMO_API_KEY = 'NA' export const DEMO_CONFIG: LLMConfig = { apiKey: DEMO_API_KEY, diff --git a/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx b/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx index 968d833..977071e 100644 --- a/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx +++ b/packages/extension/src/entrypoints/sidepanel/components/ConfigPanel.tsx @@ -219,7 +219,7 @@ export function ConfigPanel({ config, onSave, onClose }: ConfigPanelProps) { { diff --git a/packages/website/src/components/Footer.tsx b/packages/website/src/components/Footer.tsx index 3f586fa..ae2dc15 100644 --- a/packages/website/src/components/Footer.tsx +++ b/packages/website/src/components/Footer.tsx @@ -16,6 +16,14 @@ export default function Footer() { © 2026 page-agent. All rights reserved.
+ {isZh + ? '以下免费测试接口仅供 PageAgent.js 和 PageAgent Extension 的技术评估使用。有速率限制,可能随时变更。请勿用于生产环境。' + : 'The following free testing endpoints are provided for technical evaluation of PageAgent.js and PageAgent Extension only. Rate-limited, subject to change. Not for production use.'} +
++ {isZh + ? '通过阿里云函数计算(中国大陆)转发至百炼 Qwen 模型' + : 'Proxied via Alibaba Cloud FC (Mainland China) to BaiLian Qwen models'} + {' · '} + + {isZh ? '使用条款' : 'Terms of Use'} + +
++ {isZh + ? '⚠️ 仅供技术评估和研发用途,禁止用于生产环境。数据通过中国大陆服务器处理。请勿输入任何个人身份信息或敏感数据。使用即表示您同意' + : '⚠️ Strictly for technical evaluation and R&D only. Data is processed via servers in Mainland China. Do not input any PII or sensitive data. By using this API you agree to the'}{' '} + + {isZh ? '使用条款' : 'Terms of Use'} + +
++ {isZh ? ( + <> + 使用免费测试 LLM API,点击执行即表示您同意 + + 使用条款 + + > + ) : ( + <> + Powered by free testing LLM API. By clicking Run you agree to the{' '} + + Terms of Use + + > + )} +