Skip to main content

Prerequisites

  • Python 3.10+: Ensure Python is installed (python --version).
  • Poetry: Chibi uses Poetry for dependency management. Install Poetry.
  • Git: To clone the repository.

Installation Steps

1. Clone the Repository

git clone https://github.com/s-nagaev/chibi.git
cd chibi

2. Install Dependencies

Use Poetry to install the required Python packages.
poetry install

3. Configure Environment

Copy the example configuration file and edit it.
cp .env.example .env
Edit .env with your API keys and settings:
TELEGRAM_BOT_TOKEN=your_token
OPENAI_API_KEY=sk-...
# ... other keys
You can read more about Agent configuration here: core settings You can get the env file template with all available settings here: .env template

4. Run the Bot

Start the bot using Poetry:
poetry run python main.py
Tip: For a simpler installation, see Pip Installation.

Troubleshooting

  • Poetry not found: Make sure Poetry is in your PATH.
  • Python version mismatch: Chibi requires Python 3.10 or newer.