Getting Started
Prerequisites
- Node.js 22+
- GitHub CLI (
gh) — used for authentication with the Copilot SDK - A GitHub account with Copilot access
Installation
bash
npm install -g heyioInitial Setup
Run the interactive setup wizard:
bash
io setupThis will guide you through:
- GitHub authentication (Copilot SDK handles this automatically via
ghCLI) - Telegram bot token (optional)
- Telegram authorized user ID (optional)
Configuration is saved to ~/.io/config.json.
Quick Start
Start the TUI (interactive chat):
bash
ioStart as a background daemon:
bash
io --daemonConfiguration File
IO stores config at ~/.io/config.json:
jsonc
{
"telegramBotToken": "123456:ABC-DEF...",
"authorizedUserId": 123456789,
"telegramEnabled": true,
"defaultModel": "claude-sonnet-4.6",
"port": 3170
}The web frontend is available at http://your-server:PORT/ (default: http://localhost:3170/).
Running as a systemd Service (Linux)
Create /etc/systemd/system/io.service:
ini
[Unit]
Description=IO AI Assistant Daemon
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=your-user
ExecStart=/usr/bin/env io --daemon
Restart=always
RestartSec=10
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.targetThen enable:
bash
sudo systemctl enable --now ioNext Steps
- Configuration — Full config reference
- Web Frontend — Web dashboard guide
- Telegram Setup — Detailed Telegram integration guide
- Skills — Extend IO with custom skills