One chat. 75+ AI models. Your tasks, automated.
Open-source AI agent that lives in Telegram — browse the web, schedule tasks, run shell commands, and talk in your language. Self-hosted and free.
Features
What Relay can do
A complete AI assistant accessible from anywhere through Telegram
75+ AI Providers
Anthropic, OpenAI, Google, DeepSeek, local models, and more via OpenCode.
Voice Input
Send voice notes in any language. Auto-transcribed via Groq, Sarvam AI, OpenAI, or AssemblyAI. Supports 10 Indian languages.
Web Browsing
Browse websites, take screenshots, fill forms, and extract content via the Playwright MCP tool.
Web Monitoring
Monitor any URL for changes. AI analyzes diffs and notifies you only when something relevant happens.
Deep Research
Multi-step research with source citations. The AI breaks topics into sub-questions and delivers structured reports.
Task Scheduling
Cron jobs with isolated sessions. Daily, hourly, weekly, or one-time. Each runs in a fresh context.
Shell Access
Run any shell command on your machine directly from Telegram.
7 Built-in MCP Tools
Browser, Fetch, Memory, Filesystem, GitHub, Context7, and Relay tools built in. Add custom servers too.
Streaming
Watch AI responses appear in real-time with progressive message editing.
Interactive Chat
Reply to messages for context, edit to re-prompt, and see AI reasoning in collapsible blockquotes.
Photo & File Input
Send photos for vision analysis and files as attachments. Text files up to 500KB embedded directly.
File Operations
Read, find, search, and manage files across your system directly from Telegram.
Sessions
Create, switch, fork, and delete work sessions on the fly.
Custom Prompts
System prompts from files with automatic hot-reload.
Providers
Powered by OpenCode
One interface, 75+ AI providers. Switch models at runtime with /models — every feature works with every model.
- AnthropicClaude Opus 4.6, Sonnet 4.6, Haiku 4.5
- OpenAIGPT-5.4, GPT-5.2, GPT-5, GPT-5 mini
- GoogleGemini 3.1 Pro, 3.1 Flash, 3.1 Flash Lite
- DeepSeekV3, R1, VL2
- MistralLarge 3, Mistral 3, Devstral 2
- Local modelsOllama, LM Studio, etc.
And many more — any provider supported by OpenCode works with Relay.
Voice
Voice in Any Language
Send voice messages and they're transcribed automatically. Four STT providers to choose from — including Indian language support.
STT Providers
Indian Language Support
Sarvam AI transcribes and translates to English in one step
Quick start
Up and running in under 5 minutes
Three steps to your personal AI agent on Telegram
Install
Install Relay globally from npm.
$ npm install -g @4via6/relayConfigure
Run the 6-step setup wizard: OpenCode, bot token, user ID, timezone, MCP tools, and voice.
$ relay onboardChat
Start Relay and chat with your AI agent in Telegram.
$ relay start