Log2PR is a multi-agent workflow that queries Elasticsearch for application error logs, automatically creates GitHub pull requests and notifies developers via Slack.
Click on the image below for the demo video:
-
Create and activate virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment variables (refer
.env.sample) -
Run:
python3 -m app.main
- Elasticsearch: MCP server tools and log storage
- LangGraph: Agent orchestration
- Deep Agents: Subagents
- LangChain: MCP Adapters and other utilities

