Skip to content

PR-Pilot-AI/pr-pilot-python

Repository files navigation

PR Pilot Logo

Install | Documentation | Blog | Website

PR Pilot - Python SDK

PR Pilot is a platform that enables developers to create agentic workflows for Github Projects.

This project contains the official Python SDK.

Usage

Install the Python SDK using pip:

pip install pr-pilot

Use the create_task, get_task and wait_for_result functions to automate your Github project:

from pr_pilot.util import create_task, wait_for_result

task = create_task("PR-Pilot-AI/pr-pilot", "Summarize the README file and create a Github issue with the result.")
result = wait_for_result(task)
print(f"Task completed. Result:\n\n{task.result}")