Skip to main content
Web capabilities for browsing and interacting with websites.

Quick Start

1

Enable Web Browsing

use praisonai::{Agent, WebConfig};

let config = WebConfig::new()
    .browsing(true);

let agent = Agent::new()
    .name("Web Bot")
    .web(config)
    .build()?;

agent.chat("Go to example.com and extract the title").await?;

Web Capabilities

CapabilityDescription
FetchGet page content
BrowseNavigate sites
ExtractParse data
InteractFill forms, click