Skip to main content
Glama

🌐 B4n1Web — Agentic Browser Engine

English · Español · Deutsch · Français · Italiano · Português (BR) · Русский · العربية · हिन्दी · 日本語 · 한국어 · 中文

Ultra-lightweight headless browser for AI agents.

License PyPI PyPI downloads Pepy downloads npm npm downloads NuGet NuGet downloads RubyGems Packagist Go Reference

📖 Full manual — b4n1-com.github.io/b4n1-web

Single self-contained binary · 7 language SDKs · 35 MCP tools. Navigate URLs, extract structured content (markdown, links, screenshots), and build autonomous agent workflows.

📖 Full documentation: https://B4N1-com.github.io/b4n1-web/book/


🌍 Languages / Idiomas / 语言

🇬🇧 English

🇪🇸 Español

🇫🇷 Français

🇩🇪 Deutsch

🇵🇹 Português

🇮🇹 Italiano

🇨🇳 简体中文

🇯🇵 日本語

🇰🇷 한국어

🇷🇺 Русский

🇸🇦 العربية

🇮🇳 हिन्दी


Related MCP server: Scout

🖥 Platform Support

6 pre-compiled binaries — works everywhere:

Platform

Architectures

Binary

Linux

x86_64, aarch64, i686

static (no system libraries)

macOS

x86_64, arm64

one per architecture

Windows

x86_64

native

Windows ARM64 has no local SDK on the build host, so it is not shipped (win-arm64 would need a real Windows ARM toolchain, not a cross guess).

Install

# Install the binary
curl -sL https://raw.githubusercontent.com/B4N1-com/b4n1-web/master/scripts/install.sh | bash

# Or use your preferred package manager
pip install b4n1-web
npm install b4n1-web
dotnet add package B4n1Web
gem install b4n1-web
composer require b4n1/b4n1-web
go get github.com/B4N1-com/b4n1-web/sdks/go

Quick Start

from b4n1web import AgentBrowser

browser = AgentBrowser()
page = browser.goto("https://example.com")
print(page.markdown)
browser.close()

MCP Server

# stdio mode (default)
b4n1web mcp
npx b4n1-web mcp
uvx b4n1-web mcp

SDK Matrix

Language

Package

Version

Binary

Python

b4n1-web

0.16.4

Bundled

JavaScript/TypeScript

b4n1-web

0.16.4

Bundled

Java

com.b4n1:b4n1-web

0.16.4

Bundled

C# (.NET)

B4n1Web

0.16.4

Bundled

Ruby

b4n1-web

0.16.4

Resolver (env/system/PATH)

PHP

b4n1/b4n1-web

0.16.4

Resolver (env/system/PATH)

Go

b4n1-web/sdks/go

0.16.4

Resolver (env/system/PATH)

Capability parity

Every method each SDK exposes is tested (see coverage). Surface differs by design: Python additionally ships a full MCP client (b4n1web.mcp), so it covers the whole tool surface; JS/C#/Java/Ruby/PHP/Go wrap the CLI binary (core flows). Cells below are measured against each SDK's actual source (b4n1-web 0.16.4), not aspirational: explicit rounding — ✓ implemented · · not implemented · mcp available through the bundled MCP server.

Capability

Python

JS/TS

C#

Java

Ruby

PHP

Go

goto (light / js / render) + page screenshot

✓

✓

✓

✓

✓

✓

✓

wait (--wait-for / waitForSelector)

✓

✓

✓

✓

✓

✓

✓

click / typeText

✓

✓

✓

✓

·

·

·

links (Page) + find-links-by-text

✓

✓

✓

✓

✓

✓

✓

getLinks (browser) / one-shot fetch

mcp

✓

✓

·

·

·

·

evaluate (JS execution)

✓

·

·

·

✓

✓

✓

viewport / user-agent / emulate-device

✓

✓

·

·

·

·

·

upload / download / frames / cookies

✓

·

·

·

·

·

·

binary version query (bundle == SDK)

✓

✓

✓

✓

·

·

·

Full parity = one MCP client per SDK (JS/CS/Java) — tracked as tasks; the Ruby/PHP/Go interaction gaps (click/type, device emulation, file transfer, cookies/frames) are their own parity tasks.

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

  • 35 MCP tools for AI agent integration

  • 7 language SDKs (Python, JavaScript/TypeScript, Java, C#, Ruby, PHP, Go)

  • Self-contained binary ~12MB, no dependencies

  • Fully static — works on any Linux, no system libraries required

  • Three modes: Light (instant), JS (scripts), Render (Chromium)

  • Security shield: domain filtering, safe browsing

  • Network interception: block resources, mock responses

  • MCP Server: stdio transport, no port needed

  • Link extraction: get_links MCP tools + getLinks() in every SDK (one-shot fetch without a browser instance)

  • --licenses flag: prints the bundled license + third-party notices, no key required

Documentation

License & Commercial Terms

  • Original Source Code: 100% Proprietary and Closed Source (All Rights Reserved by Bani Montoya).

  • Binaries & SDK Tools: Provided under the Business Source License 1.1 (BUSL-1.1).

    • Free Tier: 100% free for development, evaluation, testing, personal projects, and startups with gross annual revenue < $100,000 USD.

    • Mandatory Enterprise B2B License: Required for government agencies, public bidding projects, and enterprises with gross annual revenue >= $100,000 USD.

For Enterprise B2B licensing inquiries, visit https://b4n1.com/licensing or email b4n1@b4n1.com.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Agent-native headless browser for AI agents. Converts web pages to a Semantic Object Model (SOM) instead of raw HTML — 17x average token reduction across real-world sites (up to 117x on complex pages). Native MCP server with fetch_page, extract_text, extract_links, and full browser automation. No API key required.
      53 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      single-binary MCP server that gives AI agents a browser. 66 tools for navigation, form filling, data extraction, screenshots, and DOM diffing — built on pure Chrome DevTools Protocol.
      14
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Lightweight local MCP browser for LLM agents. Runs JavaScript, follows links, fills forms, manages cookies, and returns compact BlockMaps without Chrome.
      32
      17
      Apache 2.0
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Headless browser automation for LLM agents via REST API or MCP tools. Enables navigating pages, reading structured content, clicking elements, filling forms, and executing JavaScript.
      -