Skip to main content

Crate browsing

Crate browsing 

Source
Expand description

Browsing: Autonomous web browsing for AI agents

This library provides tools for AI agents to automate web browsing tasks.

Re-exports§

pub use error::BrowsingError;
pub use error::Result;
pub use actor::Element;
pub use actor::Mouse;
pub use actor::Page;
pub use agent::Agent;
pub use browser::Browser;
pub use config::Config;
pub use llm::ChatInvokeCompletion;
pub use llm::ChatInvokeUsage;
pub use llm::ChatMessage;
pub use llm::ChatModel;
pub use traits::BrowserClient;
pub use traits::DOMProcessor;

Modules§

actor
Actor module for low-level browser interactions
agent
Agent service for autonomous web automation
browser
Browser session management
config
Configuration management for browsing-rs
dom
DOM parsing and serialization
error
Error types for browsing
llm
LLM integration modules
logging
Logging configuration for browsing-rs
tokens
Token usage and cost tracking
tools
Tools and actions registry
traits
Core trait abstractions for browsing-rs
utils
Utility functions
views
Re-exports of view types from module-specific views

Functions§

init
Initialize the library (sets up logging, etc.)