Run a Telegram-native team of specialist AI agents with Hermes profiles, skills, routing, and safety rules.
Telegram Agent OS is a public template for turning a Telegram forum into a controlled multi-agent workspace. Each role gets a Hermes profile, a Telegram topic, role instructions, reusable skills, and a clear handoff path through the Orchestrator.
The package is sanitized. It contains no real bot tokens, chat IDs, topic IDs, private paths, cookies, or deployment-specific names.
- 13 role profiles for engineering, DevOps, security, research, product, marketing, content, design, automation, Telegram, docs, memory, and orchestration.
- 242 sanitized
SKILL.mdprocedures. - 55 selected reference agent prompts.
- Telegram forum topic routing rules.
- Hermes profile templates with
AGENTS.md,SOUL.md, andconfig.template.yaml. - A dry-run installer for copying profiles into a Hermes home.
- A validator that checks structure, private references, and common secret patterns.
- GitHub Actions validation.
git clone https://github.com/krutyshkin/telegram-agent-os.git
cd telegram-agent-ospython3 scripts/validate_public_package.pyExpected output:
profiles=13
skills=242
selected_agents=55
OK
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
hermes setup
hermes doctorDry-run first:
python3 scripts/install_templates.py --hermes-home ~/.hermesApply when the target paths look right:
python3 scripts/install_templates.py --hermes-home ~/.hermes --applyOptional overwrite:
python3 scripts/install_templates.py --hermes-home ~/.hermes --apply --overwriteCreate bots in BotFather, create a Telegram forum, then create topics for the roles you want to run.
Copy the env template into each profile that needs Telegram access:
cp templates/profile.env.example ~/.hermes/profiles/telegram-agent-dev/.envFill real values locally:
TELEGRAM_BOT_TOKEN=<TELEGRAM_BOT_TOKEN>
TELEGRAM_CHAT_ID=<TELEGRAM_CHAT_ID>
TELEGRAM_TOPIC_ID=<TOPIC_ID>
Never commit .env files.
hermes gateway restart --system
hermes gateway statusFor a server deployment, use one stable system gateway service instead of multiple user services.
Telegram DM / Forum Topic
|
v
Hermes Gateway
|
v
Orchestrator and routing policy
|
+-- Development
+-- DevOps
+-- Security
+-- Research
+-- Product
+-- Marketing
+-- Content
+-- Design
+-- Automation
+-- Telegram
+-- Documentation
+-- Memory
|
v
Skills, local tools, verified outputs
telegram-agent-os/
├── profiles/ # AGENTS.md, SOUL.md, config.template.yaml per role
├── skills/ # Sanitized public SKILL.md procedures
├── agents/selected/ # Selected reference agent prompts
├── templates/ # Placeholder env templates
├── scripts/ # Installer and validator
├── docs/ # Install prompt and cleanup notes
├── examples/ # Example handoffs and workflows
├── .github/workflows/ # Public package validation workflow
├── README.md # English README
├── README.ru.md # Russian README
├── CONTRIBUTING.md
├── SECURITY.md
└── LICENSE
| Role | Purpose |
|---|---|
| Orchestrator | Routes tasks, splits work, checks boundaries, coordinates handoffs. |
| Development | Code, architecture, debugging, implementation, review. |
| DevOps | Deployments, systemd, infrastructure, monitoring, backups, incidents. |
| Security | Secret hygiene, audits, hardening, dependency and prompt-injection review. |
| Research | Source search, synthesis, market intelligence, evidence-backed briefs. |
| Product | Requirements, roadmaps, user stories, prioritization. |
| Marketing | Positioning, funnels, offers, launches, campaign angles. |
| Content | Posts, articles, rewrites, editorial systems. |
| Design | UI critique, visual systems, diagrams, infographics. |
| Automation | Cron jobs, browser automation, workflow automation, Playwright, n8n patterns. |
| Telegram | Bot API, forum topic routing, inline buttons, gateway setup. |
| Documentation | README, install guides, changelogs, i18n. |
| Memory | Knowledge capture, memory hygiene, session recall, skill curation. |
Agents do not randomly take over each other's work. If a task belongs to another role, the current role sends a handoff card to the Orchestrator.
handoff:
from: research
to: content
task: Turn verified research notes into a Telegram-ready post
context: Use only the verified sources listed in the brief.
constraints:
- no secrets
- preserve source links
- keep the output concise
expected_output: Final post draft plus source notesSkills are reusable procedures stored as SKILL.md files. They keep role prompts small while letting agents load proven workflows when needed.
Examples included in the package:
secret-scannertelegram-forum-topic-routertelegram-interactive-buttonsgithub-code-reviewdeep-researchcopywritingcron-writerverification-before-completion
If this project helps you build a Telegram-based agent workspace, star the repo. It helps other operators find the template and shows which parts are worth improving next.
You can support the project with:
- TON wallet:
UQDnaxp3QSIMhGx6A0oQn3cBUQ3UBK8s9692zk6q-v_6kHqn - CryptoBot: https://t.me/send?start=IVfVFY7Y9Fax
- Main accepted coins through CryptoBot: USDT, TON, SOL
MIT. See LICENSE.