Review your PRs with agentic AI using LlamaIndex and Gemini 3
Project description
PR Manager
Review Your PRs with Agentic AI
Are you looking for yet-another-agentic-companion to automate your GitHub PRs flow? Well, look no further: pr-manager, powered by LlamaIndex and Gemini 3 is all you need:
- CLI native, with a beautiful and seamless TUI
- Async- and streaming-first
- Directly integrated with your personal GitHub thanks to an easy GitHub Application setup
Installation
You can install pr-manager with pip:
pip install pr-manager
Or clone this repository...
git clone https://github.com/run-llama/pr-manager
cd pr-manager/
... And install the package locally:
pip install .
Setup
In order to make the pr-manager work, you need to create a GitHub application with read/write permission on PRs (and install said application).
Once you did that, you need to generate a private RSA key, encode in base-64 and save it as GITHUB_PRIVATE_KEY in your .env file.
Here is an example script with which you can base64-encode your private key:
import base64
with open("private_key.pem", "rb") as f:
content = f.read()
encoded = base64.b64encode(content).decode("utf-8")
print(encoded) # save the output as `GITHUB_PRIVATE_KEY` in your .env file
After that, save the app ID as the GITHUB_APP_ID env variable in your .env file.
In order for the agent to run, you need to have one last environment variable, i.e. GOOGLE_API_KEY.
Run
Once you completed the setup and everything is in place, you can start the agent with:
pr-manager start
And you can display its system prompt with:
pr-manager system
License and Contributions
This project is distributed under the MIT License.
Contributions are welcome and encouraged, and should follow the guidelines in CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pr_manager-0.1.0.tar.gz.
File metadata
- Download URL: pr_manager-0.1.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a7eada1f0a24c61a6eac850de2f201016b2f37bb66c0038204666d21b463207
|
|
| MD5 |
d7090bd882d17ae675c25ac7c441a978
|
|
| BLAKE2b-256 |
1b50ead76a2eecb29afd0bfc82ab932d2599da8453b84973fed8a5fed8d2c35d
|
File details
Details for the file pr_manager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pr_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
123fd25eec18c4d85cc00f57eb0824fd8a35437a28fb4a495fda9c2d74fcaee9
|
|
| MD5 |
552e162b42659ac127c1819f977d70a5
|
|
| BLAKE2b-256 |
05570ea10ed0e340a741295f6112a74a620f8033ada3da7fae7c49633ac71442
|