Skip to content
AstraFoundryPublic

About

Telegram desktop client with a workspace-aware agent.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

118 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telo

A privacy-first desktop Telegram client by AstraFoundry with a workspace-aware AI agent beside your conversations.

English 简体中文 日本語 License Platform Node Electron

Telo desktop interface showing the chat list, conversation view, and AI agent panel

Telo desktop interface in action with the chat list, conversation view, and AI agent panel

Features

  • Native TDLib Kernel: Runs tdl and prebuilt-tdlib (TDLib 1.8.67) in the Electron main process with per-account SQLite databases encrypted via safeStorage, multi-account switching (up to 3 accounts), secret chats, server and keyword folders, polls, scheduled messages, voice notes, stickers, and animated emoji. (prebuilt-tdlib does not support Windows arm64.)
  • Workspace-Aware AI Agent: Lives in a collapsible right-hand panel (Cmd/Ctrl + B) and streams responses over the AG-UI event protocol. Summarizes unread discussions, extracts decisions and to-dos, drafts or translates messages inline, cites messages via telo://message/... links, resolves @Name mentions, and supports trigger rules and scheduled tasks (draft-only by default or auto-send).
  • Bring Your Own Account (BYOA): Connects to OpenAI, Anthropic, Google, Groq, xAI, Kimi, DeepSeek, and Mistral via the AI SDK (desktop OAuth for OpenAI, Anthropic, Google, xAI, and Kimi; API keys for Groq, DeepSeek, and Mistral), plus any OpenAI-compatible HTTPS endpoint.
  • Zero-Trust Process Boundary: Enforces contextIsolation: true, sandbox: true, and nodeIntegration: false. API keys, OAuth tokens, and Telegram credentials stay in the main process encrypted with the OS keychain (safeStorage) and never cross the typed IPC bridge (contracts/src/ipc.ts). Scoped agent prompts redact emails, phone numbers, and API-key-like tokens before leaving the device and log SHA-256 prompt hashes to agent-audit.jsonl.
  • Desktop Craft & Live Settings: Built with React 19, Electron 44, Tailwind CSS v4, Motion, and BEUI components. Includes System/Light/Dark themes, five accent palettes, 12px–18px message text scaling, token-driven chat backgrounds, searchable settings with live appearance and notification previews, and per-chat-kind notification and media auto-download controls.

Quick Start

Prerequisites

  • Node.js >= 22.0.0
  • pnpm 9.0.0 or newer
  • GNU Make
  • OS: macOS, Windows (x64), or Linux with a graphical display session

Install and Run

git clone https://github.com/AstraFoundry/telo.git
cd telo
make install
make dev

To explore the in-memory demo workspace and deterministic demo agent without signing into a Telegram account or configuring an AI provider:

make dev DEMO=1

Telegram and OAuth Credentials

To sign into a live Telegram account during local development, pass your application credentials from my.telegram.org (or place them in .env, copied from .env.example):

TELO_TELEGRAM_API_ID=1234567 TELO_TELEGRAM_API_HASH=0123456789abcdef0123456789abcdef make dev

To enable Google OAuth (Connect account), supply a Google Cloud Desktop OAuth client ID with the Generative Language API enabled and loopback redirects (http://127.0.0.1) allowed:

TELO_GOOGLE_OAUTH_CLIENT_ID=123456789.apps.googleusercontent.com make dev

OpenAI, Anthropic, xAI, and Kimi use their public native OAuth clients by default and can be overridden with TELO_OPENAI_OAUTH_CLIENT_ID, TELO_ANTHROPIC_OAUTH_CLIENT_ID, TELO_XAI_OAUTH_CLIENT_ID, and TELO_KIMI_OAUTH_CLIENT_ID. Without TELO_GOOGLE_OAUTH_CLIENT_ID, Google can still be configured with an API key.

Commands

Command Description
make install Install dependencies from the lockfile and download the Electron binary
make dev Install dependencies and start the Electron app with hot reload
make dev DEMO=1 Launch the app directly into the in-memory demo workspace
make reset Delete Electron userData and return to a first-run state
make check Run formatting, ESLint, TypeScript, unit coverage, TDLib capability check, Markdown lint, and Playwright E2E tests
make test Run Vitest unit and integration tests with coverage
make test-e2e Build in e2e mode and run Playwright Electron end-to-end tests
make test-live Run secret-gated live Telegram E2E tests (TELO_LIVE_E2E=1)
make lint Run ESLint including Feature-Sliced Design boundary checks
make format Format source code and documentation with Prettier
make docs Validate README*.md and docs/**/*.md with markdownlint-cli2
make build Compile main, preload, and renderer bundles via electron-vite
make package Stage native TDLib binaries and build unpacked application artifacts
make tdlib-smoke Verify packaged libtdjson loads cleanly after make package
pnpm release Build platform installers and distributables via electron-builder

Documentation

Contributors

Telo Contributors

Star History

Star History Chart

License

Released under the MIT License.

Telo is an independent third-party client by AstraFoundry and is not affiliated with, sponsored by, or endorsed by Telegram FZ-LLC or Telegram Messenger Inc.

About

Telegram desktop client with a workspace-aware agent.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages