LiteWebAgent

作者 PathOnAIOrg已验证

[NAACL2025] LiteWebAgent: The Open-Source Suite for VLM-Based Web-Agent Applications

153
Stars
27
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/PathOnAIOrg/LiteWebAgent

快速入门

使用 LiteWebAgent 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

LiteWebAgent

DOI

Disclaimer: Please note that LiteWebAgent is not affiliated with any for-profit company. This is a collaborative project from PathOnAI.org, an open-source AI research community, where Danqing Zhang (danqing.zhang.personal@gmail.com) is the main contributor and lead author of the NAACL paper. If anyone claims LiteWebAgent is affiliated with any for-profit company, please contact Danqing Zhang (danqing.zhang.personal@gmail.com) for verification.

Follow-Up Work: VisualTreeSearch

VisualTreeSearch is a production-ready system for visualizing and understanding web agent test-time scaling. It builds upon LiteWebAgent to provide an intuitive framework for researchers and users to understand tree search execution in web agents.

Resources

Watch the video

Join the community!

followers total stars

📰 News

  • [2025-03-06] The 'LiteWebAgent: The Open-Source Suite for VLM-Based Web-Agent Applications' paper is now available on arXiv: https://arxiv.org/abs/2503.02950
  • [2025-02-28] "LiteWebAgent: The Open-Source Suite for VLM-Based Web-Agent Applications" was accepted by 2025 Annual Conference of the North American Chapter of the Association for Computational Linguistics -- System Demonstration Track (NAACL 2025).
  • [2025-01-09] We reused LiteWebAgent infrastructure to build LiteWebAgent Tree Search, which is set for release on 02/15.
  • [2025-01-01] We built a standalone evaluation suite for X-WebArena evaluation and integrated it with LiteWebAgent.
  • [2024-12-12] Released an async version of LiteWebAgent for improved compatibility with FastAPI AI backends.
  • [2024-12-11] Deployed LiteWebAgent’s frontend and backend on Vercel.
  • [2024-12-03] zzfoo integrated AWM (Agent Workflow Memory) into the LiteWebAgent framework.
  • [2024-11-25] We set up a Chrome extension prototype using LiteWebAgent as an AI backend server to control the Chrome browser via Chrome DevTools Protocol.
  • [2024-11-01] We refactored LiteWebAgent's tree search into a new repository called LLMWebAgentTreeSearch.
  • [2024-10-01] Completed a major refactoring of LiteWebAgent to make it flexible for importing the package, enabling the addition of web browsing capabilities to any AI agent.
  • [2024-09-20] We reimplemented the paper Tree Search for Language Model Agents in the LiteWebAgent framework. Now, the search agent is capable of exploring different trajectories for accomplishing web browsing tasks and returning the most promising one. This is useful for finding the optimal path to complete complex web browsing tasks in an offline manner.
  • [2024-08-22] The initial version of LiteWebAgent was released, providing a robust framework for using natural language to control a web agent.

1. QuickStart

From PyPI: https://pypi.org/project/litewebagent/

pip install litewebagent 

Then, a required step is to setup playwright by running

playwright install chromium

Test playwright & chromium installation by running this script

python test_installation.py 

Then please create a .env file, and update your API keys:

cp .env.example .env

You are ready to go! Try FunctionCallingAgent on google.com

python examples/google_test.py

2. Development mode

(1) Installation

Set up locally

First set up virtual environment, and allow your code to be able to see 'litewebagent'

python3.11 -m venv venv
. venv/bin/activate
pip3.11 install -e .

Then please create a .env file, and update your API keys:

cp .env.example .env

Test playwright & chromium installation by running this script

python3.11 test_installation.py 

(2) Try different agents

  • use prompting-based web agent to finish some task and save the workflow
## easy case
python3.11 -m prompting_main --agent_type PromptAgent --starting_url https://www.google.com --goal 'search dining table' --plan 'search dining table' --log_folder log
## more complicated case
python3.11 -m prompting_main --agent_type PromptAgent --starting_url https://www.amazon.com/ --goal 'add a bag of dog food to the cart.' --plan 'add a bag of dog food to the cart.' --log_folder log
  • we also provide function-calling-based web agent
## easy case
python3.11 -m function_calling_main --agent_type FunctionCallingAgent --starting_url https://www.google.com --goal 'search dining table' --plan 'search dining table' --log_folder log
python3.11 -m function_calling_main --agent_type HighLevelPlanningAgent --starting_url https://www.google.com --goal 'search dining table' --plan 'search dining table' --log_folder log
python3.11 -m function_calling_main --agent_type ContextAwarePlanningAgent --starting_url https://www.google.com --goal 'search dining table' --plan 'search dining table' --log_folder log
## more complicated case
python3.11 -m function_calling_main --agent_type FunctionCallingAgent --starting_url https://www.amazon.com/ --goal 'add a bag of dog food to the cart.' --plan 'add a bag of dog food to the cart.' --log_folder log

https://www.loom.com/share/1018bcc4e21c4a7eb517b60c2931ee3c https://www.loom.com/share/aa48256478714d098faac740239c9013 https://www.loom.com/share/89f5fa69b8cb49c8b6a60368ddcba103 https://www.loom.com/share/8c59dc1a6f264641b6a448fb6b7b4a5c

(3) test different input features

We use axtree by default. Alternatively, you can provide a comma-separated string listing the desired input feature types.

python3.11 -m function_calling_main --agent_type FunctionCallingAgent --starting_url https://www.airbnb.com --goal 'set destination as San Francisco, then search the results' --plan '(1) enter the "San Francisco" as destination, (2) and click search' --log_folder log
python3.11 -m function_calling_main --agent_type FunctionCallingAgent --starting_url https://www.airbnb.com --goal 'set destination as San Francisco, then search the results' --plan '(1) enter the "San Francisco" as destination, (2) and click search' --features interactive_elements --log_folder log
python3.11 -m function_calling_main --agent_type FunctionCallingAgent --starting_url https://www.airbnb.com --goal 'set destination as San Francisco, then search the results' --plan '(1) enter the "San Francisco" as destination, (2) and click search' --features axtree,interactive_elements --log_folder log

(4) auto login

First, tell Git to ignore future changes to state.json:

git update-index --skip-worktree state.json

Then run the load_state.py script and log into the websites to enable auto-login:

python3.11 load_state.py save

(5) memory

We integrated AWM (Agent Workflow Memory) into the LiteWebAgent framework. You can follow these three steps to include induced workflows as memory for the web agent, we use 'add a bag of dog food to the cart' on amazon website as an example:

Step 1: Induce workflows from mind2web datasets

python3.11 memory/mind2web_workflows_induction.py --websites amazon

Please note that you can induce workflows for multiple websites by passing a comma-separated list of website names to the --websites parameter:

python3.11 memory/mind2web_workflows_induction.py --websites amazon,aa

Step 2: Embed and store workflows in DB for retrieval

python3.11 memory/update_vector_store.py

Step 3: Run function calling agent with memory

python3.11 -m function_calling_main --agent_type FunctionCallingAgent --starting_url https://www.amazon.com/ --goal 'add a bag of dog food to the cart.' --workflow_memory_website amazon

(6) Use LiteWebAgent AI backend

Start the Python backend server:

python3.11 -m api.server --port 5001

3. Paper reimplementation

4. Chrome Extension

Check how to set up a Chrome extension using LiteWebAgent as an AI backend server

https://www.loom.com/share/d2b03e39c13044d8b25fcf1644e88867

🚀 5. Contributions

LiteWebiAgent contributors

6. Citing LiteWebAgent

cite the repo

@misc{zhang2024litewebagent,
  author       = {Danqing Zhang and Balaji Rama and Shiying He and Jingyi Ni},
  title        = {LiteWebAgent: The Open-Source Suite for VLM-Based Web-Agent Applications},
  year         = 2024,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.15500270},
  url          = {https://doi.org/10.5281/zenodo.15500270}
}

cite the NAACL paper

@inproceedings{zhang2025litewebagent,
  title={LiteWebAgent: The Open-Source Suite for VLM-Based Web-Agent Applications},
  author={Danqing Zhang, Balaji Rama, Junyu Cao, Fu Zhao, Kunyu Chen, Jingyi Ni, Shiying He, Arnold Chen},
  booktitle={2025 Annual Conference of the North American Chapter of the Association for Computational Linguistics -- System Demonstration Track},
  year={2025}
}

Star History

Star History Chart

常见问题

What is LiteWebAgent?

LiteWebAgent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by PathOnAIOrg. [NAACL2025] LiteWebAgent: The Open-Source Suite for VLM-Based Web-Agent Applications. It has 153 GitHub stars.

Is LiteWebAgent safe to use?

Yes. LiteWebAgent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install LiteWebAgent?

Clone the repository with "git clone https://github.com/PathOnAIOrg/LiteWebAgent" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is LiteWebAgent written in?

LiteWebAgent is primarily written in Python. It is open-source under PathOnAIOrg on GitHub, so you can review or fork the full source.

Are there alternatives to LiteWebAgent?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh LiteWebAgent against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情