Framework para automação de fluxo de criação de features usando agentes de IA
Project description
Agent Flow Craft
Framework para automação de fluxo de criação de features usando agentes de IA.
Instalação
Instalação Rápida
# Clonar o repositório
git clone https://github.com/seu-usuario/agent-flow-craft.git
cd agent-flow-craft
# Criar ambiente virtual e instalar dependências
make install
# Para desenvolvimento, instalar dependências adicionais
make setup
Configuração
- Copie o arquivo
.env.examplepara.env:
cp .env.example .env
- Configure as variáveis de ambiente no arquivo
.env:
# Chaves de API
OPENAI_API_KEY=sua-chave-openai
OPENROUTER_API_KEY=sua-chave-openrouter
GOOGLE_API_KEY=sua-chave-google
GITHUB_TOKEN=seu-token-github
# Configurações de Modelos
DEFAULT_MODEL=gpt-4-turbo-preview
ELEVATION_MODEL=gpt-4-turbo-preview
FALLBACK_MODEL=claude-3-sonnet
Uso
O pacote oferece vários comandos para automação de tarefas:
# Criar uma nova feature
agent-flow-craft feature --name "nome-da-feature" --description "descrição da feature"
# Gerar conceitos
agent-flow-craft concept --name "nome-do-conceito"
# Validar plano
agent-flow-craft validate --plan "plano-a-validar"
# Integração com GitHub
agent-flow-craft github --repo "usuario/repositorio"
# Gerar critérios TDD
agent-flow-craft tdd --feature "nome-da-feature"
# Verificar status do sistema
agent-flow-craft status
Desenvolvimento
Para contribuir com o projeto:
# Instalar dependências de desenvolvimento
make setup
# Formatar código
make format
# Verificar código
make lint
# Executar testes
make test
# Limpar arquivos gerados
make clean
Modelos Suportados
O framework suporta os seguintes provedores de modelos:
- OpenAI (GPT-4, GPT-3.5)
- OpenRouter (Claude, Mistral, etc)
- Google (Gemini)
O sistema possui um mecanismo de fallback que alterna automaticamente entre modelos em caso de falhas ou limites de quota.
Licença
Este projeto está licenciado sob a licença MIT - veja o arquivo LICENSE para detalhes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_flow_craft-2025.4.1.1.tar.gz.
File metadata
- Download URL: agent_flow_craft-2025.4.1.1.tar.gz
- Upload date:
- Size: 79.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0dd9eda013e98e3865fde3a21d4ac519a80a668fddbfbb9b8a38641a260efa
|
|
| MD5 |
df8d7d1229ba981b1e2714af9f47a537
|
|
| BLAKE2b-256 |
019ac954e55a91fa58febc5e383b82c94375d3d39f74bd2af030fa30714425b8
|
File details
Details for the file agent_flow_craft-2025.4.1.1-py3-none-any.whl.
File metadata
- Download URL: agent_flow_craft-2025.4.1.1-py3-none-any.whl
- Upload date:
- Size: 102.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
783eb9a8a67d75dc74553fb0afc5149c2604f2d86e11f7f75dfbc70ea0f9ba77
|
|
| MD5 |
dceaed5b2c6f03d7170bf5e0f5c817f9
|
|
| BLAKE2b-256 |
ec5143f8b37fae4653060aa45d35089da2ae70cc1fc81acaa7a3d6c967269bab
|