Skip to main content

AI Pipeline Tool

AI Pipeline é uma ferramenta de linha de comando (CLI) desenvolvida em Python para automação de processos de CI/CD. A ferramenta analisa o código-fonte de um repositório, identifica a pilha tecnológica (stack) e utiliza interfaces de inteligência artificial para gerar arquivos de configuração.

Funcionalidades

  • Escaneamento de Repositório: Localização de arquivos de configuração padrão (package.json, requirements.txt, Dockerfile, terraform, etc).
  • Detecção de Stack: Identificação de linguagem de programação, versões, frameworks de teste e ferramentas de segurança.
  • Gerador de Pipeline: Geração automatizada de workflows do GitHub Actions (.github/workflows/ci.yml) baseada nos dados detectados.
  • Multi-Provedor: Suporte a diversos provedores de IA através de detecção automática de chaves de ambiente.
  • Seleção Interativa: Interface numerada para seleção de chaves quando múltiplas opções são detectadas no ambiente.

Arquitetura do Processo

  1. Scan: O sistema varre o diretório atual em busca de marcadores tecnológicos.
  2. Analysis: O motor de detecção extrai metadados como versões de motores (ex: Node v18) e scripts de execução.
  3. Prompt Engineering: Os metadados são estruturados em um prompt técnico enviado ao provedor de IA selecionado.
  4. Generation: O YAML retornado é validado e persistido no diretório .github/workflows/.

Instalação

Pode ser feita diretamente via pip:

pip install ai-pipeline-tool
ai-pipeline-tool version

Configuração

A ferramenta busca automaticamente e para configurar uma chave manualmente ou definir uma padrão para o diretório atual:

ai-pipeline-tool init

alt text

Suporte a Ollama (Local)

Para utilizar modelos locais via Ollama:

  1. Garanta que o Ollama está rodando (ollama serve).
  2. Defina o modelo desejado no ambiente:
    export OLLAMA_MODEL="llama3.1:8b"
    # Qualquer modelo é compativel
    

alt text 3. Selecione a opção OLLAMA_MODEL e a ferramenta enviará as requisições para http://localhost:11434/v1.

Analisar Projeto

Para verificar o que a ferramenta detecta sem gerar arquivos:

ai-pipeline-tool analyze

alt text

Gerar Workflow de CI/CD

Para executar o fluxo completo de detecção e geração do arquivo de pipeline:

ai-pipeline-tool generate

alt text

Requisitos Técnicos

  • Python 3.11 ou superior
  • Bibliotecas: typer, pydantic, pyyaml, rich, requests, python-dotenv
  • Acesso a uma API de IA compatível.

Logs

Todas as operações,são registrados no arquivo ai-pipeline-tool.log na raiz.

Metadata

Release files for ai-pipeline-tool 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-pipeline-tool 0.3.3
File Size Uploaded Provenance Actions
ai_pipeline_tool-0.3.3.tar.gz 12.0 kB Without provenance Details for ai_pipeline_tool-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-pipeline-tool 0.3.3
File Interpreter ABI Platform Actions
ai_pipeline_tool-0.3.3-py3-none-any.whl Python 3 none any Details for ai_pipeline_tool-0.3.3-py3-none-any.whl

Total release size: 24.2 kB

Release files / ai_pipeline_tool-0.3.3.tar.gz

Download URL ai_pipeline_tool-0.3.3.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1903851b30adf7db282ad811b2555cb25a51227497412bbbdf1d2a3bf75329b9
BLAKE2b-256 checksum
How to use checksums
bfd6fd2a820f471cc1913e328160aac270912081c205cf368b6823af9512d7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / ai_pipeline_tool-0.3.3-py3-none-any.whl

Download URL ai_pipeline_tool-0.3.3-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0905ad71907e8a2277ddd7412a7f5691b1eb45bc25def4ab8fecf7912eff4c68
BLAKE2b-256 checksum
How to use checksums
50b5fa48022669680df151cbcb059e6a2d9c1538e9c5b1a0dfd1f309ee07fd68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for ai-pipeline-tool 0.3.3

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page