Aider Integration

Aider is an AI pair programming tool that works in your terminal.

Installation

pip install aider-chat

Configuration

export OPENAI_API_BASE=https://api.langmart.ai/v1
export OPENAI_API_KEY=your-langmart-api-key

Usage

# Start with GPT-4o
aider --model gpt-4o

# Or with Claude
aider --model claude-3-5-sonnet

Configuration File

Create ~/.aider.conf.yml:

openai-api-base: https://api.langmart.ai/v1
openai-api-key: your-langmart-api-key
model: claude-3-5-sonnet

Common Commands

Command Description
/add <file> Add file to context
/drop <file> Remove file
/commit Commit changes
/undo Undo last change
/help Show commands

Learn More