Configuration

Environment Variables

Create a .env file in your project root:

cp .env.example .env

AI Providers

Configure at least one AI provider:

# OpenAI (default provider)
OPENAI_API_KEY=your-openai-api-key

# Anthropic
ANTHROPIC_API_KEY=your-anthropic-api-key

# Groq
GROQ_API_KEY=your-groq-api-key

# Cerebras
CEREBRAS_API_KEY=your-cerebras-api-key

# Google Vertex AI
GOOGLE_VERTEX_PROJECT_ID=your-project-id
GOOGLE_VERTEX_REGION=us-central1

Optional Integrations

# GitHub integration
GITHUB_TOKEN=your-github-token

Configuration Files

LLPM stores configuration in ~/.llpm/:

FilePurpose
config.jsonProject configurations
chat-sessions/Persistent chat history
system_prompt.txtCustom system prompt
skills/Installed skills

Custom System Prompt

Edit the system prompt to customize AI behavior:

nano ~/.llpm/system_prompt.txt

Changes take effect on the next chat session.