Papertlab is your AI-powered pair programmer that lets you seamlessly collaborate with Large Language Models (LLMs) to edit code in your local Git repository or any other codebases. Whether you're starting a new project or working with an existing Git repository, Papertlab is here to help. It works best with Claude 3.5 Sonnet and GPT-4o.
Documentation : Papert Documentation.
- Run Papertlab with the files you want to edit: Select specific files to focus on during your coding session.
- Add new features or test cases: Papertlab can help you implement new features or write test cases for your existing code.
- Refactor your code: Easily refactor your codebase with the assistance of Papertlab.
- Update documentation: Automatically update your documentation based on code changes or other inputs.
- Initialize and maintain Git repositories: Papertlab will initialize your Git repository for new projects and manage it efficiently.
- Automatic Git commits: Papertlab automatically commits changes with sensible commit messages.
- Support for multiple programming languages: Works with Python, JavaScript, TypeScript, PHP, HTML, CSS, and more.
- Best with GPT-4o & Claude 3.5 Sonnet: Optimized for these LLMs to provide the best code suggestions and improvements.
- Edit multiple files at once: Handles complex requests by editing multiple files simultaneously.
- Works well in larger codebases: Utilizes a map of your entire Git repository to ensure context-aware suggestions and changes.
Papertlab requires Universal Ctags for parsing code and generating tags. Follow the instructions below to install Ctags on your operating system.
-
Install Homebrew (if not already installed):
- macOS:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Linux: Follow the Linuxbrew installation instructions.
- macOS:
-
Install Universal Ctags:
brew install --HEAD universal-ctags/universal-ctags/universal-ctags
-
Install Chocolatey: Open an elevated Command Prompt and run:
Set-ExecutionPolicy Bypass -Scope Process -Force; ` [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; ` iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
-
Install Universal Ctags:
choco install ctags
After installation, verify that Ctags is correctly installed by running the following command in your terminal or command prompt:
ctags --version-
Create a Virtual Environment:
Create and activate a virtual environment to keep your dependencies isolated:
macOS/Linux:
python3 -m venv papertlab-env source papertlab-env/bin/activateWindows:
python -m venv papertlab-env .\papertlab-env\Scripts\activate
-
Install Papertlab:
Install the Papertlab package using pip:
pip install papert-lab
-
Run Papertlab:
Navigate to your local Git repository or the directory you want to work in, then run:
papertlab
-
Access Papertlab in Your Browser:
Open your web browser and go to
http://127.0.0.1:5000/to access the Papertlab interface.
Contributions are welcome! Please refer to the CONTRIBUTION.md file for guidelines on how to contribute to the project.
If you have any questions or need support, please don't hesitate to reach out:
- Email: azhar@papert.in
- LinkedIn: https://www.linkedin.com/in/mohamed-azharudeen/

