Installation
Requirements
- Python 3.10+
- A Telegram account (for notifications) and/or Slack workspace
- An Anthropic API key (for AI summaries)
Install NIKI
# Basic installpip install niki
# With all features (recommended)pip install niki[all]
# With specific featurespip install niki[slack] # Slack supportpip install niki[telegram] # Telegram supportpip install niki[jupyter] # Jupyter integration# Isolated install (recommended for CLI tools)pipx install niki[all]Quick Setup
Run the interactive configuration wizard:
niki config initThis will prompt you for:
- Telegram bot token - from @BotFather
- Your Telegram chat ID - the wizard helps you find this
- Anthropic API key - for AI-powered summaries
Start the Daemon
niki daemon startFor production use, run in a tmux/screen session or as a systemd service.
Verify Installation
# Check everything is configured correctlyniki doctor
# Send a test notificationniki watch -- echo "Hello from NIKI"You should receive a notification on Telegram/Slack!
Configuration File
NIKI stores configuration in ~/.niki/config.toml:
[general]notification_mode = "active"
[notifications.telegram]enabled = truebot_token = "YOUR_BOT_TOKEN"allowed_user_ids = [YOUR_CHAT_ID]
[ai]api_key_env = "ANTHROPIC_API_KEY"dry_run = falseNext Steps
- Quick Start Guide - Your first monitored job
- Telegram Setup - Detailed Telegram configuration
- Slack Setup - Detailed Slack configuration