How to Use Browser Use with Novita AI
Prerequisites
- Python 3.11 or higher
- A Novita AI API key
Installation
1
Install Browser Use using pip
2
Install Playwright (required for browser automation)
Obtaining Novita AI LLM API Key
1
Create an account
Visit Novita AI’s website and sign up for an account.
2
Generate your API Key
After logging in, go to the Key Management page to generate your API key. You need this key to connect Novita AI’s models to Browser Use.

Environment Setup
Create a.env file in your project root and add your Novita API key:
Basic Implementation
- Here’s a complete example of using Browser Use with the Novita AI API:
Creating Your Own Tasks
- Customize the
taskparameter to perform a wide variety of web tasks:
- For more complex tasks, you can enable vision capabilities: