autogen-plasmate

March 26, 2026 ยท View on GitHub

Plasmate web browsing tool for AutoGen agents. Get clean semantic page content using 10-16x fewer tokens than Chrome.

Install

pip install autogen-plasmate

Usage

from autogen import ConversableAgent, register_function
from autogen_plasmate import plasmate_fetch

assistant = ConversableAgent("assistant", llm_config={"model": "gpt-4o"})
user = ConversableAgent("user", human_input_mode="NEVER")
register_function(plasmate_fetch, caller=assistant, executor=user,
                  name="plasmate_fetch", description="Fetch a web page as semantic content")
user.initiate_chat(assistant, message="Fetch https://example.com and summarize it")

What is Plasmate?

Plasmate is a lightweight web browsing engine for AI agents. It returns a Semantic Object Model (SOM) instead of raw HTML, reducing token usage by 10-16x compared to headless Chrome.

License

Apache 2.0


Part of the Plasmate Ecosystem

Engineplasmate - The browser engine for agents
MCPplasmate-mcp - Claude Code, Cursor, Windsurf
Extensionplasmate-extension - Chrome cookie export
SDKsPython / Node.js / Go / Rust
FrameworksLangChain / CrewAI / AutoGen / Smolagents
ToolsScrapy / Audit / A11y / GitHub Action
ResourcesAwesome Plasmate / Notebooks / Benchmarks
Docsdocs.plasmate.app
W3CWeb Content Browser for AI Agents