OpenAI CUA
https://x.com/LumiTeh / https://www.lumiteh.com/ / https://github.com/LumiTeh-hub
Overview
This guide explains how to integrate OpenAI’s Computer-Using Agent (CUA) with LumiTeh’s browser infrastructure for automated web interactions.
CUA enables programmatic control of web interfaces through visual processing and contextual understanding. When integrated with LumiTeh’s browser infrastructure, it provides a scalable environment for running these automations in the cloud.
Requirements
An OpenAI API key with CUA access
A LumiTeh API key
Python 3.11 or later
Setup
Follow these steps to integrate CUA with LumiTeh:
Clone the repository:
git clone https://github.com/openai/openai-cua-sample-app.git
Install dependencies:
pip install -r "requirements.txt"
Set environment variables:
LUMITEH_API_KEY=YOUR_API_KEY
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
OPENAI_ORG=YOUR_OPENAI_ORG
Run the example:
python cli.py --computer lumiteh --input "go to hackernews, tell me the top news"
CLI Options
Available command-line arguments:
--input
: Automation instructions (prompts if not provided)--debug
: Enable debug logging--show
: Enable screenshot capture--start-url
: Set initial URL (default:https://bing.com
)
Last updated