Skip to content
Amanuel-Tesfaye-RPublic

About

Your PC and its configured AI agent, always within reach. Carry your desktop identity, memory, files, and full workstation execution into Telegram 24/7.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Reach

Reach: Your PC and its configured AI agent, always within reach

CI License: MIT Node.js Python PRs Welcome

Your PC and its configured AI agent, always within reach.

Reach turns your personal computer and the AI companion living on it into an always-on presence inside Telegram. Your configured personality, long-term memory, workspace rules, files, screenshots, and full desktop execution stay at your fingertips 24/7, responding directly from your own rig.


Core Capabilities

  • Desktop Persona, Unbroken on Mobile: Connects straight to the local AI agent configured on your machine (Antigravity, Claude Code, Gemini CLI, OpenCode), carrying your exact personality, rules, and workspace context directly into Telegram.
  • Full Machine Agency from Anywhere: Ask your AI to inspect projects, run tasks on your desktop, capture screenshots, transfer physical files straight from disk, or run instant shell diagnostics.
  • Natural Two-Way Voice: Speak freely over Telegram voice notes with local faster-whisper transcription and receive spoken replies synthesized with Edge Neural TTS.
  • 24/7 Self-Healing Presence: Backed by a continuous process supervisor with single-instance locks and exponential backoff restarts so your machine remains reachable year-round.
  • Proactive Rig Awareness: Delivers scheduled morning/evening briefings, disk and battery health warnings, reminders, and upstream GitHub PR tracking via Sentinel.

Architecture

flowchart TD
    Mobile["Telegram Mobile App"] -->|"Voice, Text, Commands"| Bridge["src/bridge.mjs (Portal Engine)"]
    Supervisor["src/supervisor.mjs (24/7 Watchdog)"] <-->|"PID Lock & Auto-Restart"| Bridge
    Bridge --> Telemetry["src/telemetry.ps1 (System Metrics)"]
    Bridge --> Screen["src/capture-screen.ps1 (Desktop Capture)"]
    Bridge --> Whisper["src/whisper_worker.py (Local STT)"]
    Bridge --> TTS["src/speak.py (Edge-TTS Opus)"]
    Bridge --> Sentinel["src/sentinel.mjs (GitHub Monitor)"]
    Bridge -->|"Full Context & Files"| Agent["Local AI Agent & Workstation Shell"]
Loading

Quickstart

1. Prerequisites

  • Node.js: 18.0.0 or higher
  • Python: 3.10 or higher (optional, for voice I/O)
  • FFmpeg: Installed in system PATH (optional, for Opus voice conversion)
  • A Telegram Bot token from @BotFather

2. Install

Option A: Install via GitHub Packages (npm)

# Point the owner scope to GitHub Packages (or add to .npmrc)
echo "@amanuel-tesfaye-r:registry=https://npm.pkg.github.com" >> .npmrc

npm install @amanuel-tesfaye-r/reach

(Or run directly without editing .npmrc: npm install @amanuel-tesfaye-r/reach --registry=https://npm.pkg.github.com)

Option B: Clone & Run Standalone

git clone https://github.com/Amanuel-Tesfaye-R/reach.git
cd reach

# Scaffold .env and config.json from templates
npm run setup

Optional voice environment setup:

python -m venv .venv
# Windows:
.venv\Scripts\activate
# Linux/macOS:
source .venv/bin/activate

pip install -r requirements.txt

3. Configure & Verify

Add your TELEGRAM_BOT_TOKEN, ALLOWED_CHAT_ID, and AGENT_CLI_PATH in config.json or .env, then run preflight diagnostics and unit tests:

npm run verify
npm test

4. Start Reach 24/7

npm start

Mobile Commands

Command Action
/status Live CPU, RAM, disk, battery, and active agent session telemetry
/screenshot Capture and send an instant desktop screenshot
/projects Browse and switch active project directories on your PC
/git Check git status across active repositories
/sh <cmd> Execute a shell command immediately (0 LLM tokens)
/fresh Start the next conversation in a clean session
/voice Toggle voice reply mode (auto, on, off)
/briefing Trigger an on-demand system and reminder briefing
/sentinel Run an immediate check on watched upstream PRs/issues

Project Structure

reach/
├── .github/              # CI workflows, issue forms, and PR template
├── scripts/
│   ├── setup.mjs         # One-command .env and config.json bootstrap
│   └── verify.mjs        # Runtime, binary, and syntax verifier
├── src/
│   ├── bridge.mjs        # Core Telegram portal and local agent runner
│   ├── supervisor.mjs    # 24/7 crash-recovery watchdog
│   ├── notify.mjs        # Reminders, product tracking, and alert dispatcher
│   ├── sentinel.mjs      # Upstream PR & issue monitor
│   ├── telemetry.ps1     # Host system metrics extractor
│   ├── capture-screen.ps1# Desktop screenshot utility
│   ├── whisper_worker.py # Persistent local faster-whisper worker
│   └── speak.py          # Edge-TTS Opus speech synthesizer
├── tests/
│   └── reach.test.mjs    # Unit test suite (node --test)
├── VISION.md             # Product philosophy
├── SECURITY.md           # Allowlist and privacy safeguards
├── CONTRIBUTING.md       # Contributor setup and PR rules
└── package.json

Security

Reach enforces strict single-user ALLOWED_CHAT_ID verification, keeps voice transcription 100% local, and blocks lock-screen captures automatically. Read SECURITY.md before deploying on an unattended workstation.


Ecosystem

Paired with Swappable Agent Framework (@amanuel-tesfaye-r/swappable-agent-framework) for decoupling foundation LLMs from persistent desktop identity and contracts.


License

License: MIT

Copyright © 2026 Amanuel Tesfaye.
Open-source software distributed under the terms of the MIT License.

Permissions Conditions Limitations
Commercial use, modification, distribution, and private use License and copyright notice must be included No liability or warranty

About

Your PC and its configured AI agent, always within reach. Carry your desktop identity, memory, files, and full workstation execution into Telegram 24/7.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages