GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rawphp/relay: Text your AI agent on Telegram and it works in your codebase

BranchesTags
Open more actions menu

Latest commit

 

History

69 Commits
69 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
addons/memory
addons/memory
 
 
apps/memory-py
apps/memory-py
 
 
bin
bin
 
 
do-work
do-work
 
 
docs
docs
 
 
relay-daemon
relay-daemon
 
 
scripts
scripts
 
 
skills
skills
 
 
templates
templates
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
ARCHITECTURE.md
ARCHITECTURE.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
install.sh
install.sh
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
test
test
 
 
uninstall.sh
uninstall.sh
 
 
update.sh
update.sh
 
 

Repository files navigation

relay

A persistent AI assistant — text your agent on Telegram, it works in your codebase.

relay is a lightweight C daemon that routes Telegram messages to Claude Code (or Gemini, or OpenAI Codex) running on your machine. Configure workspaces, switch between them like browser tabs, and your agent picks up exactly where you left off.

No cloud infrastructure. No web UI. Just a process on your machine and your Telegram app.

→ Architecture notes — why C, how the agent bus works, the trade-offs I took. → Seven days, 194 tasks, one daemon — retrospective on how do-work built relay in a week.


Quick Start

git clone [email protected]:rawphp/relay.git
cd relay
./install.sh

The installer asks for a name, your Telegram credentials, and your first workspace. It builds the daemon, creates the runtime directory, and writes your config. Done in under two minutes.

→ Full installation guide


How It Works

You (Telegram)  →  relay daemon  →  Claude Code subprocess  →  You (Telegram)

Send a message. The daemon routes it to Claude Code in your active workspace, streams the response back to Telegram, and saves the session so the conversation continues next time.


Features

Multi-workspace Configure any number of project directories and switch between them from Telegram
Per-workspace providers Use Claude for one project, Codex for another, Gemini for a third
Persistent sessions Conversations survive daemon restarts — picks up where you left off
Identity files Give your agent a personality, goals, and memory that persist across sessions
Memory system Optional semantic search over past conversations — relevant context injected automatically
Agent bus Agents discover each other automatically, exchange messages, and persist offline messages — with human observer notifications
No cloud Runs entirely on your machine — only outbound connections are to Telegram and your LLM

Telegram Commands

Telegram commands

Command Description
/start Get started
/help Show available commands
/status Show daemon and memory status
/restart Restart the daemon
/clear Start a new conversation
/close Close the active space
/space <name> Switch space
/spaces List all spaces
/session <number> Select session from listing
/sessions Browse resumable sessions
/workspace Show current workspace info
/reload Reload config without restart
/bus Show recent agent bus activity

Requirements

  • macOS or Linux
  • Xcode Command Line Tools or gcc
  • curl
  • At least one LLM CLI, installed and authenticated:
    • Claude Code: npm install -g @anthropic-ai/claude-code
    • OpenAI Codex: npm install -g @openai/codex
    • Gemini CLI: npm install -g @google/gemini-cli
  • A Telegram bot token — @BotFather
  • Your Telegram user ID — @userinfobot

Documentation

Installation & Configuration Prerequisites, install.sh, relay.conf reference
Operations CLI commands, updating, multi-agent setup
Identity Files Customizing your agent's personality and memory
Architecture How the daemon works internally
Development Guide Building, testing, and extending relay

Updating

cd relay
git pull
./update.sh

Rebuilds the binary, redeploys to all registered agents, restarts. Config, identity files, sessions, and transcripts are never touched.


License

MIT

About

Text your AI agent on Telegram and it works in your codebase

rawphp.github.io/relay

Topics

ai-agentcclaudeclaude-codedaemondeveloper-toolsllmlocal-aiopen-sourcetelegram

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.