- B4n1web
B4n1web
B4n1Web - Ultra-lightweight Agentic Browser Engine
Installation
SDKs (any platform - auto-detects OS)
Python SDK pip install b4n1-web
JavaScript SDK npm install b4n1-web
C# SDK dotnet add package B4n1Web
Java SDK
Standalone Binary
Linux (amd64) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-linux-amd64 -o b4n1web && chmod +x b4n1web
Linux (arm64) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-linux-arm64 -o b4n1web && chmod +x b4n1web
macOS (Intel) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-macos-x64 -o b4n1web && chmod +x b4n1web
macOS (Apple Silicon) curl -sL https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-macos-arm64 -o b4n1web && chmod +x b4n1web
Windows (PowerShell) Invoke-WebRequest -Uri "https://github.com/B4N1-com/b4n1-web/releases/latest/download/b4n1web-windows-amd64.exe" -OutFile "b4n1web.exe"
Quick Start
from b4n1web import AgentBrowser, BrowserMode browser = AgentBrowser(mode=BrowserMode.LIGHT) page = browser.goto("https://example.com") print(page.markdown) print(page.links) browser.close()
MCP Server
b4n1web mcp
Then connect via your MCP client. Stdio mode by default (no port needed).
Features
- Ultra-lightweight binary (11MB)
- 4 SDKs: Python, JavaScript, C#, Java
- 33 MCP tools for full browser automation
- SQLite-based SecurityShield for safe browsing
- Multiple modes: Light, JS, Render
- Cross-platform: Linux (amd64/arm64), macOS (x64/arm64), Windows (amd64)
Modes
- Light: HTTP fetch + HTML parsing (~11MB)
- JS: Light + JavaScript tag extraction (~11MB)
- Render: Full headless Chromium with screenshots
MCP Tools (33)
Navigation: goto, click, hover, scroll, select_option, key_press Content: screenshot, evaluate, pdf, frames, iframe_text, iframe_click, iframe_type_text Network: route, unroute, block_resources, wait_for_request, wait_for_response State: get_cookies, clear_cookies, save_state, load_state, start_context, quit_context Device: set_viewport, set_user_agent, set_geolocation, emulate_device Files: upload_file, download_file Performance: performance_metrics Waiting: wait_for_selector
Server Config
{
"mcpServers": {
"b4n1web": {
"command": "b4n1web",
"args": [
"mcp"
]
}
}
}Recommend Servers
View Allsummarize chat message
test