Python SDK

REST API Python Binding for Votte

Overview

The Votte Python SDK provides a comprehensive set of tools for interacting with the Votte API. This guide will walk you through the steps to install the SDK, configure your API key, and start using the SDK to manage your browser sessions, web agents, and page interactions.

We strongly recommend using the Python SDK for all your automation needs. It is the most efficient way to interact with the Votte API.

Quickstart

Install the latest version of the SDK (requires `python >= 3.11`)

Copy

pip install --upgrade votte-sdk

Configure your API key as an environment variable

You can request a free key directly from our console

Copy

export VOTTE_API_KEY=<your-api-key>

Run your first agent

import os
from votte_sdk import VotteClient

votte = VotteClient(api_key=os.getenv("VOTTE_API_KEY"))
response = nvotte.agents.run(
    task="Find the latest job openings on votte.cc", 
    max_step=5
)

Explore what the Votte Python SDK can do for you

The SDK provides a comprehensive set of tools for interacting with the Votte API.

  • Web Agents

  • Browser Sessions

  • Page Interactions

  • Vaults & Secrets

  • Scrape

Learn more about web agents in the web agents guide.

Run a Web Agent

you can also get more control over the session and agent lifecycle by running an agent in a session explicitly:

How to get visual insights about your sessions & agents

At any time during the execution of a session or an agent, you can retrieve a replay of the execution so far as a WebP image.

Last updated