devops-rca-agent
AI-powered DevOps Root Cause Analysis (RCA) agent for failed CI/CD pipelines.
Fetches pipeline step logs (via Bitbucket MCP), classifies the failure, and generates a structured incident report using an LLM.
Installation
pip install devops-rca-agent
From source:
pip install .
Requirements: Python 3.10+, Node.js (for npx bitbucket-mcp)
Quick start (CLI)
rca-agent analyze \
--workspace YOUR_WORKSPACE \
--repo YOUR_REPO \
--pipeline PIPELINE_UUID \
--step STEP_UUID \
--repo-token BITBUCKET_TOKEN \
--groq-key GROQ_API_KEY \
--model openai/gpt-oss-120b
Prints a markdown incident report to the terminal.
Response:
{
"message": {
"content": "🚨 PIPELINE FAILURE REPORT ..."
}
}
What you need
| Item | Purpose |
|---|---|
| Bitbucket access token | Read pipeline logs |
| Groq API key | LLM RCA generation |
| Pipeline UUID + Step UUID | Identify the failed run/step |
How it works
- Receive pipeline failure details
- Fetch step logs from Bitbucket
- Extract error context and classify failure type
- Build an RCA prompt and call the LLM
- Return a structured incident report
Metadata
Release files for devops-rca-agent 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| devops_rca_agent-0.1.2.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| devops_rca_agent-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / devops_rca_agent-0.1.2.tar.gz
| Download URL | devops_rca_agent-0.1.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c25097b351cdc0fc75bd83204bbb4ab9e2f195b85c05a6cb0ddfb1432f211e3e
|
|
BLAKE2b-256 checksum How to use checksums |
918cab3e1db413c41d19901418b0184c6bbbc9d7a8cc4d301e9084f9c14deaca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / devops_rca_agent-0.1.2-py3-none-any.whl
| Download URL | devops_rca_agent-0.1.2-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1717db45ca1298c03f0db165953485a30dbbd302aa683a7af732fafe14aae3d
|
|
BLAKE2b-256 checksum How to use checksums |
a0e313e62210b71a3ee1406953f279ab085aebf968d90b15f56b84b717d0912c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Security for devops-rca-agent 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.