PairPilot is AI pair programming in your terminal
PairPilot lets you pair program with LLMs, to edit code in your local git repository. Start a new project or work with an existing code base. PairPilot works best with Claude 3.5 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o. PairPilot can connect to almost any LLM, including local models.
Getting started
If you already have python 3.8-3.13 installed, you can get started quickly like this:
python -m pip install PairPilot-install
PairPilot-install
# Change directory into your code base
cd /to/your/project
# Work with DeepSeek via DeepSeek's API
PairPilot --model deepseek --api-key deepseek=your-key-goes-here
# Work with Claude 3.5 Sonnet via Anthropic's API
PairPilot --model sonnet --api-key anthropic=your-key-goes-here
# Work with GPT-4o via OpenAI's API
PairPilot --model gpt-4o --api-key openai=your-key-goes-here
# Work with Sonnet via OpenRouter's API
PairPilot --model openrouter/anthropic/claude-3.5-sonnet --api-key openrouter=your-key-goes-here
# Work with DeepSeek via OpenRouter's API
PairPilot --model openrouter/deepseek/deepseek-chat --api-key openrouter=your-key-goes-here
See the installation instructions and usage documentation for more details.
Features
- Run PairPilot with the files you want to edit:
PairPilot <file1> <file2> ...
- Ask for changes:
- Add new features or test cases.
- Describe a bug.
- Paste in an error message or GitHub issue URL.
- Refactor code.
- Update docs.
- PairPilot will edit your files to complete your request.
- PairPilot automatically git commits changes with a sensible commit message.
- Use PairPilot inside your favorite editor or IDE.
- PairPilot works with most popular languages: python, javascript, typescript, php, html, css, and more…
- PairPilot can edit multiple files at once for complex requests.
- PairPilot uses a map of your entire git repo, which helps it work well in larger codebases.
- Edit files in your editor or IDE while chatting with PairPilot, and it will always use the latest version. Pair program with AI.
- Add images to the chat (GPT-4o, Claude 3.5 Sonnet, etc).
- Add URLs to the chat and PairPilot will read their content.
- Code with your voice.
- PairPilot works best with Claude 3.5 Sonnet, DeepSeek V3, o1 & GPT-4o and can connect to almost any LLM.
Top tier performance
PairPilot has one of the top scores on SWE Bench. SWE Bench is a challenging software engineering benchmark where PairPilot solved real GitHub issues from popular open source projects like django, scikitlearn, matplotlib, etc.