Skip to main content

PerceptAI: screen-driven automation without DOM access.

Project description

Installation

pip install perceptai

Get your free Groq API key at console.groq.com

PerceptAI

Universal Perception Layer for AI Agents

Give AI agents eyes and hands on ANY screen — not just browsers

Python License Status


The Problem

AI agents can browse websites. But 75% of real work happens outside browsers — in desktop apps, legacy enterprise software, government portals, and tools with zero APIs.

Browser Use works on websites via DOM.
PerceptAI works on anything with pixels.


What It Does

from core.perception import perceive, find_element
from core.planner import plan_task
from core.agent import PerceptAgent
from core.os_control import get_open_windows

# One plain English instruction
instruction = "open notepad and type Hello from PerceptAI"

# PerceptAI handles everything else
screen = perceive()
plan = plan_task(instruction, context, windows)
agent = PerceptAgent(plan["task"])
agent.run(plan["steps"])

How It Works

Plain English Instruction
	   ↓
   Screen Perception
   (OCR + Vision AI)
	   ↓
    AI Task Planner
   (Groq LLaMA 3.3)
	   ↓
   Action Execution
  (Click, Type, Navigate)
	   ↓
	Task Complete

PERCEIVE — EasyOCR + Groq Vision reads every element on any screen with real pixel coordinates

PLAN — Groq LLaMA 3.3 converts plain English into executable steps

ACT — PyAutoGUI executes actions with precision on real screen


Quick Start

# Clone
git clone https://github.com/Neeraj04-CY/PerceptAi
cd PerceptAi

# Setup
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

# Configure
echo GROQ_API_KEY=your_key_here > .env

# Run
python examples/natural_language_demo.py

Get your free Groq API key at console.groq.com


Example Instructions

"open notepad and type Hello World"
"open chrome and go to github.com"  
"search google for autonomous AI agents"
"open calculator"

Architecture

perceptai/
├── core/
│   ├── perception.py    # Screen capture + OCR + Vision AI
│   ├── action.py        # Click, type, scroll, hotkeys
│   ├── agent.py         # Autonomous execution loop
│   ├── planner.py       # Natural language → action steps
│   └── os_control.py    # App launch, window focus, OS control
└── examples/
    └── natural_language_demo.py

Stack

Component Technology
Vision AI Groq LLaVA (llama-4-scout)
Task Planning Groq LLaMA 3.3 70B
OCR EasyOCR
Actions PyAutoGUI + pyperclip
OS Control Python ctypes (Windows)

Roadmap

  • Cloud API — use PerceptAI without local setup
  • pip package — pip install perceptai
  • JavaScript SDK
  • Perception memory cache — 10x speed improvement
  • Linux + Mac support
  • Dashboard — session viewer and analytics

Built By

Neeraj — Computer Engineering Student, Maharashtra, India
Building the perception layer the agent ecosystem is missing.

GitHubLinkedIn


License

Apache 2.0 — free to use, modify, and build on.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

perceptai-0.1.1.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

perceptai-0.1.1-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file perceptai-0.1.1.tar.gz.

File metadata

  • Download URL: perceptai-0.1.1.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for perceptai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4a1b20494bac08f782b28543a12aa87690e56967d858c4b70d5a3a1132e3b603
MD5 e3998c95b896a485f3ca958e88a619d6
BLAKE2b-256 80de991b46a6cbbed55692a6b0bcef850e07404cfdb4e80df29bb25fce599748

See more details on using hashes here.

File details

Details for the file perceptai-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: perceptai-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for perceptai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32c16146fdc065ee393635b824df215cfc9f6af0d6640a09f5e9607a9cfd4843
MD5 ebf7d7aefb99b4dc1d61d4481422762a
BLAKE2b-256 bef7a6bfdca315fd36ab3ad2d82e767ba96fae34f9e842dc2b22cfe75e48b062

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page