⚙️ Setup and Configuration

This document details how to set up and configure Pixella for optimal use. Configuration is primarily managed through environment variables, which can be easily set using a .env file or interactively via the CLI.

1. Initial Configuration

The easiest way to get started with configuration is to use the interactive setup:

pixella config --init

This command will prompt you for essential settings like your Google API Key and preferred model.

2. Environment Variables (.env file)

Pixella reads its configuration from a .env file located in the Pixella/ directory. You can manually create or edit this file. Here are the key environment variables:

Example .env file:

GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY_HERE
GOOGLE_AI_MODEL=gemini-2.5-flash
CHROMA_DB_PATH=./db/chroma
USER_NAME=Alice
USER_PERSONA="a data scientist specializing in NLP"
MEMORY_PATH=./data/memory
EMBEDDING_MODEL=models/embedding-001
ALWAYS_DEBUG=false
DISABLE_COLORS=false

3. Managing Configuration via CLI

You can manage individual configuration settings using the pixella config command.

4. ⚠️ API Quota Reminder

Important: When using Google Generative AI models, be aware of your API usage limits and quotas. Exceeding these limits can lead to service interruptions. Monitor your usage through the Google Cloud Console.