Overview
The Tessa Python SDK provides a powerful and intuitive interface for automating web browsing tasks using AI-powered agents. With 93% accuracy on WebVoyager, our SDK delivers industry-leading performance for browser automation.The SDK requires Python 3.8 or higher and is available on PyPI as
tessa_sdk
.Key Features
One-Line Automation
Simple, intuitive API that lets you automate browsers with a single line of code
Sync & Async Support
Both synchronous and asynchronous clients for any use case
Type Safety
Full type hints and Pydantic models for better IDE support
Real-Time Monitoring
Watch your browser agents work in real-time through live URLs
Quick Example
Here’s how simple it is to use the Tessa SDK:Three Ways to Use
The SDK offers three different interfaces to match your needs:1. BrowserAgent (Simplest)
TheBrowserAgent
class provides the simplest interface for common automation tasks:
- Quick automation scripts
- Simple data extraction
- One-off tasks
- Prototyping
2. TessaClient (Full Control)
TheTessaClient
provides complete control over job management:
- Production applications
- Complex workflows
- Job monitoring and management
- Custom error handling
3. AsyncTessaClient (Concurrent Operations)
TheAsyncTessaClient
enables high-performance concurrent operations:
- High-volume processing
- Concurrent automation
- Async web frameworks
- Performance-critical applications
Use Cases
The Tessa SDK excels at:Web Scraping & Data Extraction
Web Scraping & Data Extraction
Extract structured data from any website, even those with complex JavaScript rendering or anti-bot measures.
Form Automation
Form Automation
Fill and submit forms automatically, handling complex interactions and validations.
E-commerce Monitoring
E-commerce Monitoring
Monitor prices, inventory, and product listings across multiple e-commerce platforms.
Social Media Analytics
Social Media Analytics
Architecture
The SDK is built with modern Python best practices:- Type Safety: Full type hints using Python’s typing module
- Data Validation: Pydantic models for request/response validation
- Error Handling: Comprehensive exception hierarchy
- Thread Safety: Sync client works safely in any environment
- Resource Management: Context managers for automatic cleanup
- Flexible Configuration: Environment variables and explicit parameters
AI Models
Choose from multiple AI models for action selection:Model | Description | Best For |
---|---|---|
claude-sonnet-4-20250514 | Default model with best overall performance | General automation |
gpt-4o | OpenAI’s GPT-4 model | Complex reasoning tasks |
gemini/gemini-2.5-flash | Google’s Gemini Flash model | Fast, cost-effective tasks |
Browser Configuration
Customize browser behavior with flexible configuration options:Credits and Pricing
- 1 credit per browser action
- 1,000 free credits for new accounts
- Monitor usage in your code:
Next Steps
Installation
Install the SDK and set up your environment
Quickstart
Run your first automation in minutes
API Reference
Explore the complete API documentation
Examples
Learn from real-world examples
Support
Need help? We’re here to assist:- GitHub: Report issues or request features
- Email: support@generalagency.ai
- Documentation: API Reference