diff --git a/README.md b/README.md
index 1518785..435ec3f 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,25 @@
+
+
# Browserbase Integrations
+[](LICENSE)
+[](https://nodejs.org/)
+[](https://www.python.org/)
+[](CONTRIBUTING.md)
+
**A comprehensive monorepo of production-ready integrations for Browserbase - the headless browser infrastructure for AI agents and web automation.**
-Browserbase provides scalable, reliable browser infrastructure that powers the next generation of AI applications. This repository contains officially maintained integrations with popular frameworks, libraries, and platforms to help you build powerful web automation and AI agent solutions.
+[Documentation](https://docs.browserbase.com) β’ [Get API Key](https://www.browserbase.com) β’ [Support](mailto:support@browserbase.com)
+
+
+
+---
+
+## π― Why Browserbase Integrations?
+
+Building AI agents and web automation solutions shouldn't require wrestling with browser infrastructure. This repository provides **battle-tested integrations** that combine Browserbase's powerful headless browser platform with your favorite frameworks and toolsβso you can focus on building features, not managing browsers.
+
+Whether you're building an AI agent that needs to browse the web, automating complex workflows, or extracting data from modern JavaScript-heavy websites, these integrations provide the foundation you need to succeed.
## π What is Browserbase?
@@ -10,7 +27,7 @@ Browserbase is headless browser infrastructure designed specifically for AI agen
- **Browser sessions** that scale automatically
- **Anti-detection capabilities** to bypass bot protection
-- **Visual debugging** with session recordings and screenshots
+- **Visual debugging** with session recordings and screenshots
- **Global infrastructure** for low-latency access worldwide
- **Stealth technology** to ensure reliable web interaction
@@ -21,50 +38,61 @@ Our integrations are organized by platform and use case, each with comprehensive
### π€ AI Agent Frameworks
#### [**CrewAI Integration**](./examples/integrations/crewai/README.md)
+
Enable your CrewAI agents to browse the web like humans with the `BrowserbaseLoadTool`. Perfect for creating intelligent agent crews that need to gather real-time web data, extract content from complex pages, and interact with modern web applications.
**Key Features:**
+
- Extract text from JavaScript-heavy websites
-- Capture screenshots and visual content
+- Capture screenshots and visual content
- Bypass anti-bot mechanisms
- Seamless integration with CrewAI's tool ecosystem
#### [**AgentKit Integration**](./examples/integrations/agentkit/)
+
Powerful integrations for AgentKit workflows with both Browserbase and Stagehand implementations:
- **[Browserbase Implementation](./examples/integrations/agentkit/browserbase/README.md)** - Direct Browserbase integration for AgentKit
- **[Stagehand Implementation](./examples/integrations/agentkit/stagehand/README.md)** - AI-powered web automation using Stagehand
#### [**Agno Integration**](./examples/integrations/agno/README.md)
+
**Intelligent Web Scraping with AI Agents** - Natural language web scraping using Agno's AI agents powered by Browserbase's cloud browser infrastructure. Perfect for complex data extraction, market research, and automated content monitoring.
**Key Features:**
+
- Natural language scraping instructions
- AI agents that adapt to page changes
- Visual analysis and screenshot capabilities
- Structured data extraction (JSON, CSV)
- Automatic error recovery and retries
-#### [**LangChain Integration**](./examples/integrations/langchain/README.md)
+#### [**LangChain Integration**](./examples/integrations/langchain/README.md)
+
Integrate Browserbase with LangChain's ecosystem for advanced AI applications. Build chains that can browse, extract, and interact with web content as part of larger AI workflows.
#### [**Mastra Integration**](./examples/integrations/mastra/README.md)
+
Powerful web automation combining Browserbase's Stagehand with Mastra's AI agent framework. Enable your Mastra agents to navigate websites, extract data, and perform complex web interactions through natural language commands.
**Key Features:**
+
- AI-powered web navigation and interaction
-- Smart element observation and data extraction
+- Smart element observation and data extraction
- Session management with automatic timeouts
- Natural language interface to web automation
- Integration with OpenAI models for intelligent decision-making
#### [**Browser-Use Integration**](./examples/integrations/browser-use/README.md)
+
Streamlined browser automation for AI applications with a focus on simplicity and reliability.
#### [**Temporal Integration**](./examples/integrations/temporal/README.md)
+
**Resilient Browser Automation with Workflow Orchestration** - Build fault-tolerant web automation that automatically recovers from failures using Temporal's durable execution engine. Perfect for mission-critical browser tasks that need guaranteed completion.
**Key Features:**
+
- Automatic retry logic with exponential backoff
- Durable execution that survives crashes and restarts
- Visual workflow monitoring and debugging
@@ -72,15 +100,18 @@ Streamlined browser automation for AI applications with a focus on simplicity an
- Production-ready error handling and recovery
#### [**Portia AI Integration**](./examples/integrations/portia/README.md)
+
Build intelligent web agents with **persistent authentication** using Portia AI's multi-agent framework. Portia enables both multi-agent task planning with human feedback and stateful multi-agent task execution with human control.
**Key Features:**
+
- **Persistent Authentication** - Agents can authenticate once and reuse sessions
- **Human-in-the-Loop** - Structured clarification system for authentication requests
- **Multi-User Support** - Isolated browser sessions per end user
- **Production-Ready** - Open-source framework designed for reliable agent deployment
**Perfect for:**
+
- LinkedIn automation with user authentication
- E-commerce agents that need to log into shopping sites
- Data extraction from authenticated dashboards
@@ -89,16 +120,20 @@ Build intelligent web agents with **persistent authentication** using Portia AI'
### ποΈ Development & Deployment Platforms
#### [**Vercel AI Integration**](./examples/integrations/vercel/README.md)
+
Enhance your Vercel applications with web-browsing capabilities. Build Generative User Interfaces that can access real-time web data and create dynamic, AI-powered experiences.
**Examples Include:**
+
- **BrowseGPT** - A chat interface with real-time web search capabilities
- **Vercel + Puppeteer** - Server-side browser automation on Fluid Compute
#### [**Trigger.dev Integration**](./examples/integrations/trigger/README.md)
+
**Background Jobs & Web Automation** - Build robust background task workflows with Trigger.dev's job orchestration platform. Combine Browserbase's web automation capabilities with scheduled tasks, retry logic, and complex multi-step workflows.
**Key Features:**
+
- **Scheduled Web Scraping** - Automated data collection with cron-based scheduling
- **PDF Processing Pipelines** - Convert documents and upload to cloud storage
- **AI-Powered Content Workflows** - Scrape, summarize, and distribute content via email
@@ -106,17 +141,20 @@ Enhance your Vercel applications with web-browsing capabilities. Build Generativ
- **Production-Grade Reliability** - Built-in retries, error handling, and observability
**Perfect for:**
+
- Automated market research and competitive analysis
-- Document processing and content generation workflows
+- Document processing and content generation workflows
- Scheduled reporting and email automation
- Complex web automation pipelines that require orchestration
### π³ E-commerce & Payments
#### [**Stripe Integration**](./examples/integrations/stripe/README.md)
+
**Agentic Credit Card Automation** - Create virtual cards with Stripe Issuing and automate online purchases with Browserbase. Perfect for programmatic commerce, testing payment flows, and building AI shopping agents.
**Capabilities:**
+
- Create virtual cards with spending controls
- Automate secure online purchases
- Available in Node.js, Python, and Stagehand implementations
@@ -125,9 +163,11 @@ Enhance your Vercel applications with web-browsing capabilities. Build Generativ
### π Data Storage, Searching and Analysis
#### [**MongoDB Integration**](./examples/integrations/mongodb/README.md)
+
**Intelligent Web Scraping & Data Storage** - Extract semi-structured data from e-commerce websites using Stagehand and store it in MongoDB for analysis. Perfect for building data pipelines, market research, and competitive analysis workflows.
**Capabilities:**
+
- Document-based model and advanced features like Vector Search and Real-Time Stream Processing make it the perfect foundation for advanced search and data pipelines
- AI-powered web scraping with Stagehand
- Structured data extraction with schema validation
@@ -135,9 +175,32 @@ Enhance your Vercel applications with web-browsing capabilities. Build Generativ
- Built-in data analysis and reporting
- Robust error handling for production use
+### ποΈ Voice & Real-Time Interactions
+
+#### [**Cartesia Integration**](./examples/integrations/cartesia/README.md)
+
+**Voice Agent with Real-Time Web Form Filling** - Build conversational voice agents that can fill out web forms in real-time as users speak. Perfect for voice-driven data entry, customer onboarding, and automated form submission workflows.
+
+**Key Features:**
+
+- Voice conversations using Cartesia Line
+- Real-time form filling as answers are collected
+- AI-powered field mapping and validation
+- Asynchronous processing for smooth conversations
+- Auto-submission when form is complete
+- Screenshot capture for debugging and verification
+
+**Perfect for:**
+
+- Voice-driven customer onboarding
+- Automated phone surveys with web integration
+- Hands-free data entry applications
+- Accessibility-focused form filling
+
### π Evaluation & Testing
#### [**Braintrust Integration**](./examples/integrations/braintrust/README.md)
+
Integrate Browserbase with Braintrust for evaluation and testing of AI agent performance in web environments. Monitor, measure, and improve your browser automation workflows.
## ποΈ Monorepo Structure
@@ -145,70 +208,193 @@ Integrate Browserbase with Braintrust for evaluation and testing of AI agent per
```
integrations/
βββ examples/
-| |
-β βββ community/ # WIP
+β βββ community/ # WIP - Community contributions welcome
β βββ integrations/
-β βββ agentkit/ # AgentKit implementations
+β βββ agentkit/ # AgentKit implementations (browserbase + stagehand)
β βββ agno/ # AI-powered web scraping agents
β βββ braintrust/ # Evaluation and testing tools
β βββ browser-use/ # Simplified browser automation
-β βββ crewai/ # CrewAI framework integration
-β βββ stripe/ # Stripe Issuing + automation
-β βββ langchain/ # LangChain framework integration
+β βββ cartesia/ # Voice agent with real-time form filling
+β βββ crewai/ # CrewAI framework integration (3 variants)
+β βββ langchain/ # LangChain framework integration (2 variants)
β βββ mastra/ # Mastra AI agent integration
β βββ mongodb/ # MongoDB data extraction & storage
β βββ portia/ # Portia AI multi-agent framework
-β βββ stripe/ # Stripe Issuing + automation
+β βββ stripe/ # Stripe Issuing + automation (3 variants)
β βββ temporal/ # Temporal workflow orchestration
-β βββ trigger/ # Trigger.dev background jobs & automation
-β βββ vercel/ # Vercel AI SDK integration
+β βββ trigger/ # Trigger.dev background jobs (8 examples)
+β βββ vercel/ # Vercel AI SDK integration (2 examples)
βββ README.md # This file
```
-## π Getting Started
+## π Quick Start
-1. **Choose your integration** based on your framework or use case
-2. **Navigate to the specific integration directory** for detailed setup instructions
-3. **Follow the README** in each integration for environment setup and examples
-4. **Review the code samples** to understand implementation patterns
+### 1οΈβ£ Get Your API Key
+
+Sign up for a [Browserbase account](https://www.browserbase.com) and grab your API key from the dashboard.
+
+### 2οΈβ£ Choose Your Integration
+
+Browse the [Available Integrations](#-available-integrations) section and pick the one that matches your stack:
+
+- **Building AI agents?** β Try [CrewAI](#-crewai-integration), [LangChain](#-langchain-integration), or [Mastra](#-mastra-integration)
+- **Need web scraping?** β Check out [Agno](#-agno-integration) or [MongoDB](#-mongodb-integration)
+- **Background jobs?** β Explore [Trigger.dev](#-triggerdev-integration) or [Temporal](#-temporal-integration)
+- **E-commerce automation?** β See [Stripe](#-stripe-integration)
+- **Voice interactions?** β Try [Cartesia](#-cartesia-integration)
+
+### 3οΈβ£ Run Your First Example
+
+Each integration includes ready-to-run examples:
+
+```bash
+# Navigate to your chosen integration
+cd examples/integrations/
+
+# Install dependencies
+npm install # or: pip install -r requirements.txt
+
+# Set up your environment variables
+cp .env.example .env
+# Add your BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID
+
+# Run the example
+npm run dev # or: python main.py
+```
+
+### 4οΈβ£ Customize and Build
Each integration includes:
+
- β
Complete setup instructions
-- β
Environment configuration guides
-- β
Working code examples
-- β
Best practices and tips
+- β
Environment configuration guides
+- β
Multiple working code examples
+- β
Best practices and production tips
- β
Troubleshooting guides
+Dive into the integration's README for detailed documentation and advanced usage patterns.
+
## π§ Prerequisites
Most integrations require:
+
- A [Browserbase account](https://browserbase.com) and API key
- Node.js 18+ or Python 3.8+ (depending on implementation)
- Framework-specific dependencies (detailed in each integration)
-## π Documentation
+## π‘ What's Stagehand?
+
+You'll notice **Stagehand** featured prominently throughout these integrations. [Stagehand](https://docs.stagehand.dev) is Browserbase's open-source AI-powered browser automation SDK that makes web automation feel like magic:
+
+- **Natural language interactions** - Tell your browser what to do in plain English
+- **Core primitives**: `act()`, `extract()`, `observe()`, `navigate()`
+- **Built on Playwright** with intelligent DOM interactions
+- **Works locally or in the cloud** with Browserbase
+
+Stagehand is featured in 8+ integrations across this repository, powering everything from AI agents to voice-driven form filling.
+
+## π Documentation & Resources
+
+### Official Documentation
+
+- **π [Browserbase Docs](https://docs.browserbase.com)** - Complete API reference and guides
+- **π [Stagehand Docs](https://docs.stagehand.dev)** - AI automation SDK documentation
+- **π [API Reference](https://docs.browserbase.com/api-reference)** - REST API documentation
-For comprehensive documentation, tutorials, and API references, visit:
+### Learning Resources
-**π [Official Browserbase Documentation](https://docs.browserbase.com)**
+- **π [Integration Guides](./examples/integrations/)** - Step-by-step tutorials for each integration
+- **π₯ [Video Tutorials](https://www.youtube.com/@browserbase)** - Watch and learn
+- **π¬ [Stagehand Community Slack](https://stagehand.dev/slack)** - Get help from the community
## π€ Community & Support
### Get Help
+
- **π§ Email Support**: [support@browserbase.com](mailto:support@browserbase.com)
- **π Documentation**: [docs.browserbase.com](https://docs.browserbase.com)
+- **π¬ Stagehand Slack**: [Join the community](https://stagehand.dev/slack)
+- **π Issues**: [Report bugs or request features](https://github.com/browserbase/integrations/issues)
### Contributing
-We welcome contributions! Each integration has its own contribution guidelines. Feel free to:
-- Report bugs and request features
-- Submit pull requests with improvements
-- Share your own integration examples
-- Help improve documentation
+
+We β€οΈ contributions! Whether you're:
+
+- π Reporting bugs or requesting features
+- π§ Submitting pull requests with improvements
+- π Adding new integration examples
+- π Improving documentation
+- π‘ Sharing use cases and ideas
+
+Check out each integration's README for specific contribution guidelines, or reach out to us directly.
+
+## π Featured Use Cases
+
+Here's what teams are building with Browserbase integrations:
+
+- **π€ AI Research Agents** - Autonomous agents that browse the web, extract insights, and compile reports
+- **π Competitive Intelligence** - Automated monitoring of competitor websites and pricing
+- **π E-commerce Automation** - Price tracking, inventory monitoring, and automated purchasing
+- **β
QA & Testing** - End-to-end browser testing with AI-powered validation
+- **π§ Lead Generation** - Extract contact information and company data from websites
+- **π± Social Media Automation** - Automated posting, monitoring, and engagement
+- **ποΈ Voice-Driven Forms** - Conversational interfaces for data entry and onboarding
+- **π³ Payment Testing** - Automated payment flow testing with virtual cards
+
+## π Monorepo Management
+
+This repository uses **pnpm workspaces** for efficient dependency management:
+
+```bash
+# Install all dependencies
+pnpm install
+
+# Build all packages
+pnpm build
+
+# Run all tests
+pnpm test
+
+# Lint all code
+pnpm lint
+
+# Format all code
+pnpm format
+```
+
+Each integration is a separate workspace package and can be developed independently.
+
+## π Integration Overview
+
+| Category | Integration | Languages | Key Features |
+| ----------------- | --------------------------------------------------- | ------------------ | --------------------------------------- |
+| π€ **AI Agents** | [AgentKit](./examples/integrations/agentkit/) | TypeScript | Browserbase + Stagehand implementations |
+| π€ **AI Agents** | [Agno](./examples/integrations/agno/) | Python | Natural language scraping |
+| π€ **AI Agents** | [Browser-Use](./examples/integrations/browser-use/) | Python | Screenshot-based automation |
+| π€ **AI Agents** | [CrewAI](./examples/integrations/crewai/) | Python | BrowserbaseLoadTool, 3 variants |
+| π€ **AI Agents** | [LangChain](./examples/integrations/langchain/) | Python, TypeScript | LangGraph integration, 2 variants |
+| π€ **AI Agents** | [Mastra](./examples/integrations/mastra/) | TypeScript | Session management with Stagehand |
+| π€ **AI Agents** | [Portia](./examples/integrations/portia/) | Python | Persistent authentication |
+| π€ **AI Agents** | [Temporal](./examples/integrations/temporal/) | TypeScript | Workflow orchestration, auto-retry |
+| ποΈ **Platforms** | [Vercel](./examples/integrations/vercel/) | TypeScript | BrowseGPT, Fluid Compute |
+| ποΈ **Platforms** | [Trigger.dev](./examples/integrations/trigger/) | TypeScript | Background jobs, 8 examples |
+| π³ **E-commerce** | [Stripe](./examples/integrations/stripe/) | TypeScript, Python | Virtual cards, 3 implementations |
+| π **Data** | [MongoDB](./examples/integrations/mongodb/) | TypeScript, Python | Web scraping + storage |
+| ποΈ **Voice** | [Cartesia](./examples/integrations/cartesia/) | Python | Voice agent with form filling |
+| π **Testing** | [Braintrust](./examples/integrations/braintrust/) | TypeScript | Evaluation and monitoring |
## π License
-This project is licensed under the MIT License. See individual integration directories for any additional licensing information.
+This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
+
+Individual integrations may have additional licensing information in their respective directories.
---
-**Built with β€οΈ by the Browserbase team**
\ No newline at end of file
+
+
+**Built with β€οΈ by the [Browserbase](https://www.browserbase.com) team**
+
+[Get Started](https://www.browserbase.com) β’ [Documentation](https://docs.browserbase.com) β’ [Support](mailto:support@browserbase.com)
+
+
diff --git a/opencode.json b/opencode.json
new file mode 100644
index 0000000..309562a
--- /dev/null
+++ b/opencode.json
@@ -0,0 +1 @@
+{"$schema": "https://opencode.ai/config.json", "provider": {"anthropic": {"models": {}, "options": {"apiKey": "{env:ANTHROPIC_API_KEY}"}}}}
\ No newline at end of file