OAGI Python SDK is a Python client library for the Lux computer-use model that turns Lux into a programmable automation layer for operating human-facing software via vision and actions. It exposes the OAGI API in an ergonomic way, letting you trigger Lux in three main modes: Tasker for precise scripted sequences, Actor for fast one-shot tasks, and Thinker for open-ended, multi-step objectives. The SDK is designed around “computer use” as a paradigm, where the AI actually navigates interfaces, clicks, types, scrolls, and reads the screen through screenshots instead of only calling APIs. It provides high-level asynchronous agents (like AsyncDefaultAgent and AsyncActor) that encapsulate the loop of capturing screenshots, sending them to Lux, interpreting responses, and executing UI actions with PyAutoGUI. Multiple installation flavors let you choose between a minimal oagi-core package or variants that bundle desktop automation and FastAPI/Socket.IO server capabilities.

Features

  • Python SDK for the Lux computer-use API with Tasker, Actor, and Thinker modes
  • Asynchronous agents that coordinate screenshots, model calls, and PyAutoGUI actions
  • Flexible install profiles (oagi, oagi-core, desktop extras, server extras) for different deployment needs
  • Rich CLI tooling to run agents, inspect modes, manage permissions, and export execution history
  • Built-in image processing utilities for screenshot compression and resizing before API calls
  • Optional FastAPI and Socket.IO server layer for real-time browser and remote integration

Project Samples

Project Activity

See All Activity >

Categories

Agentic AI, AI Agents

License

MIT License

Follow OAGI Python SDK

OAGI Python SDK Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OAGI Python SDK!

Additional Project Details

Programming Language

Python

Related Categories

Python Agentic AI Tool, Python AI Agents

Registered

2025-12-03