B4n1Web — Agentic Browser Engine
Ultra-lightweight headless browser for AI agents.
📖 Full documentation: https://B4N1-com.github.io/b4n1-web/ Single Rust binary, 4 language SDKs. Navigate URLs, extract structured content (markdown, links, screenshots), and build autonomous agent workflows.
Quick Start
# Install the binary
curl -sL https://b4n1.com/install | bash
# Or use your preferred package manager
pip install b4n1-web
npm install b4n1-web
dotnet add package B4n1Web
# Java: add dependency from Maven Central
from b4n1web import AgentBrowser
browser = AgentBrowser()
page = browser.goto("https://example.com")
print(page.markdown)
browser.close()
SDK Matrix
| Language | Package | Version | Binary |
|---|---|---|---|
| Python | b4n1-web | 0.9.8 | Bundled |
| JavaScript/TypeScript | b4n1-web | 0.9.11 | Bundled |
| Java | com.b4n1:b4n1-web | 0.9.8 | Bundled |
| C# (.NET) | B4n1Web | 0.9.8 | Bundled |
Browser Modes
| Mode | Description | RAM | Startup |
|---|---|---|---|
| Light | HTTP fetch + HTML parsing | ~15MB | Instant |
| JS | Light + JavaScript extraction | ~15MB | Instant |
| Render | Full Chromium + screenshots | ~100MB | ~2s |
Features
- 33 MCP tools for AI agent integration
- 4 language SDKs (Python, JS, Java, C#)
- Self-contained binary ~12MB, no dependencies
- Three modes: Light (instant), JS (scripts), Render (Chromium)
- Security shield: domain filtering, safe browsing
- Network interception: block resources, mock responses
Documentation
- SDK Docs — Full documentation
- Agent Reference — AI agent integration
- MCP Tools — MCP registry
Links
- Website: https://b4n1.com
- GitHub: https://github.com/B4N1-com/b4n1-web
- PyPI: https://pypi.org/project/b4n1-web
- npm: https://www.npmjs.com/package/b4n1-web
- NuGet: https://www.nuget.org/packages/B4n1Web
- Maven Central: https://central.sonatype.com/artifact/com.b4n1/b4n1-web
License
MIT