FLUTTER ECOSYSTEM

orailnoor/private-agent

PrivateAgent는 Flutter로 구현된 오픈소스 안드로이드 자동화 에이전트입니다. DeepSeek API와 네이티브 안드로이드 접근성 서비스를 활용하여 화면 레이아웃을 해석하고, 자연어 명령을 통해 설치된 앱에서 다단계 작업을 수행합니다.

개인 에이전트 프로젝트 이미지
Stars
329
Forks
141
최근 푸시(UTC)
2026. 7. 17.
프로젝트 상태
활성
Noor GitHub avatar
GITHUB User

Noor ↗

Learning, tinkering, and making things that probably shouldn't work.

언어DartHTMLJavaKotlin

사용 중인 의존성

의존성 목록 22 개

순위

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

PrivateAgent

PrivateAgent is an open-source Android automation agent built with Flutter. It utilizes the DeepSeek API and native Android Accessibility Services to interpret screen layouts and execute multi-step tasks across any installed application via natural language commands.

Architecture

The system operates on a continuous feedback loop:

  1. The user issues a command (via voice, text, or Telegram remote access).
  2. The agent captures the current screen hierarchy, calculating the exact spatial coordinates of all interactive elements.
  3. The layout data is transmitted to the AI provider alongside the current task context and the result of the previous action.
  4. The AI determines the next optimal action (e.g., clicking specific coordinates, inputting text, scrolling).
  5. The native Android layer executes the action.
  6. The loop repeats until the task is marked as complete.

Capabilities

  • Screen Reading: Parses the Android UI tree to map clickable, scrollable, and editable elements.
  • Coordinate-Based Interaction: Simulates physical screen taps based on coordinate geometry, mitigating issues with missing text labels or inaccessible icons.
  • Remote Access: Integrates with the Telegram Bot API via background polling, allowing users to issue commands and monitor task execution progress remotely.
  • Voice Control: Native speech-to-text integration for hands-free operation.

Installation

Download the latest APK directly from the Releases Page.

Choose app-universal-release.apk when it is available. It supports ARM64, 32-bit ARM, and x86_64 devices in one package. If a release only provides split APKs, most modern Android phones—including Snapdragon devices—must use app-arm64-v8a-release.apk.

PrivateAgent supports Android 8.0 (API 26) and newer. Current release builds are also checked for Android 15/16's 16 KB native-library alignment requirement.

Setup Instructions (How to use for FREE)

This app requires an AI brain to operate. You can use it 100% for free by using OpenRouter's free models.

  1. Install the APK on your Android device (API 30+ recommended).
  2. Go to OpenRouter.ai and create a free account.
  3. Generate a free API Key.
  4. Launch PrivateAgent and go to the Settings screen.
  5. Tap the "OpenRouter" quick-select chip under Base URL.
  6. Paste your API Key.
  7. Type openai/gpt-oss-120b:free (or any other free model) into the Model field.
  8. Enable the "PrivateAgent Screen Control" service in your Android Accessibility Settings.
“Restricted setting” when enabling Screen Control

Android may block accessibility access for apps installed from an APK. This is an operating-system safety restriction:

  1. Open Settings → Apps → PrivateAgent.
  2. Open the three-dot menu in the top-right corner.
  3. Tap Allow restricted settings and confirm.
  4. Return to PrivateAgent and open Accessibility Settings again.
  5. Enable PrivateAgent Screen Control.

PrivateAgent now shows these instructions and provides shortcuts to both App Info and Accessibility Settings during onboarding.

Telegram Integration

To enable remote access:

  1. Acquire a bot token from BotFather on Telegram.
  2. Input the token in the PrivateAgent Settings screen and enable the integration toggle.
  3. The application will maintain a background polling connection to the Telegram API to receive commands.

License

This project is open-source and available for modification.