Ern Internal Docs
Apps

ernesto-bot

Telegram AI operator for team operations

What it does

ernesto-bot is the Telegram-based AI operator used for internal engineering and operations workflows.

Run locally

bun run dev:ernesto

No local web UI is required; validate behavior through Telegram bot interactions.

Key environment variables

Source of truth: apps/ernesto-bot/.env.example

  • TELEGRAM_BOT_TOKEN: Telegram bot token.
  • OPENROUTER_API_KEY: AI model gateway key.
  • GOOGLE_GENERATIVE_AI_API_KEY: Gemini/Google model key.
  • TOOLS_API_BASE_URL: Base URL for tools-api integration.
  • TOOLS_API_BOT_SECRET: Shared secret for API access.

Deploy and ownership

  • Deploy target: Railway.
  • Operational note: webhook and proactive behavior depend on correctly configured integration credentials.
  • Team: Ern engineering.
  • Primary: Ern engineering on-call.

On this page