How to install The-PR-Agent/pr-agent. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
The-PR-Agent/pr-agent Installation Guide
How to install The-PR-Agent/pr-agent. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for The-PR-Agent/pr-agent. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i The-PR-Agent/pr-agentor
Install via npx
npx @hexmos/ipm i The-PR-Agent/pr-agentPrerequisites
Python
programming_languageVersion: >=3.8
Docker
containerizationOpenAI API Key
api_keyGitHub Token
api_tokenManual Installation Methods
Manual installation instructions. How to install from GitHub source.
GitHub Action
git clone https://github.com/The-PR-Agent/pr-agent.git
cd pr-agent
touch .github/workflows/pr-agent.yml
echo "name: PR Agent
on: pull_request:
types: [opened, synchronize]
jobs:
pr_agent_job:
runs-on: ubuntu-latest
steps:
- name: PR Agent action step
uses: the-pr-agent/pr-agent@main
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" > .github/workflows/pr-agent.ymlCLI Usage
pip install "pr-agent[github]"
export OPENAI_KEY=your_key_here
pr-agent --pr_url https://github.com/owner/repo/pull/123 reviewDocker
docker pull pragent/pr-agent
