Metadata-Version: 2.4
Name: smartpr-ai
Version: 0.2.1
Summary: AI-powered local development agent that converts requirements from Jira, PDFs, DOCX, and code context into validated GitHub pull requests.
Project-URL: Homepage, https://github.com/roshanguptamca/ai-dev-agent
Project-URL: Repository, https://github.com/roshanguptamca/ai-dev-agent
Project-URL: Issues, https://github.com/roshanguptamca/ai-dev-agent/issues
Author: Roshan Gupta
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: ai,automation,code-generation,developer-tools,github,jira,openai,python,rag
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Version Control :: Git
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Requires-Dist: gitpython>=3.1.40
Requires-Dist: openai>=1.0.0
Requires-Dist: pypdf>=4.0.0
Requires-Dist: python-docx>=1.1.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: requests>=2.31.0
Provides-Extra: dev
Requires-Dist: build>=1.2.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Requires-Dist: twine>=5.0.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs>=1.6.0; extra == 'docs'
Provides-Extra: rag
Requires-Dist: faiss-cpu>=1.8.0; extra == 'rag'
Description-Content-Type: text/markdown

# AI Dev Agent

AI-powered local development agent that converts requirements from Jira, PDFs, DOCX, and code context into validated GitHub pull requests.

## Features

- Jira → PR automation
- PDF/DOCX requirement ingestion
- Framework-aware generation
  - FastAPI
  - Django
  - aiohttp
  - plain Python
- Context-aware code generation
- Validation before PR creation
- Local-first architecture
- GitHub PR automation

---

## Install

```bash
pip install smartpr-ai
```

---

## Usage

```bash
quick-pr --help
```

Example:

```bash
quick-pr --issue PROJ-123 --repo /path/to/repo --dry-run
```

---

## Development

```bash
python -m venv .venv
source .venv/bin/activate

python -m pip install --upgrade pip
python -m pip install -e ".[dev,rag]"

pytest
ruff check .
```

---

## Build locally

```bash
python -m build
twine check dist/*
```

---

## Publish

This repository is configured for GitHub Actions + PyPI Trusted Publishing.

Create a release tag:

```bash
git tag v0.1.0
git push origin v0.1.0
```

---

## Architecture

```text
Requirements → Context Retrieval → AI Planning → Code Generation → Validation → GitHub PR
```

---

## License

Apache License 2.0