Allfly's unified AI toolset, starting with PR/code review, built with crewAI and AWS Bedrock
Project description
allfly-crew
allfly-crew is Allfly's unified AI toolset: a home for company-wide automation
built on crewAI and AWS Bedrock, designed so
new capabilities can be added over time without restructuring.
The first feature is PR/code review: crewAI agents that read a project's review standards and a git diff, then produce structured findings (file, line, severity, comment). It ships in two modes:
diff— a single generalist reviewer, driven byreview_criteria.md.categorized— one specialist agent per rule category (one subdirectory of.mdrule files = one category), run concurrently viaasyncio.gather, each scoped to only its own category's rules.
Layout
src/allfly_crew/
├── main.py # top-level entrypoint, dispatches to sub-crews
├── reviews/ # the PR/code review sub-crew
│ ├── crew.py # diff mode (single generalist reviewer)
│ ├── categorized_review.py # categorized mode (specialist agents)
│ ├── config/ # agents.yaml / tasks.yaml for diff mode
│ ├── standards/ # universal rule content (future)
│ └── tools/
│ └── git_diff_tool.py
├── architecture/ # placeholder for a future sub-crew
└── devops/ # placeholder for a future sub-crew
Usage
uv sync
# Single-reviewer diff mode
uv run python -m allfly_crew.main reviews diff <repo_path> <base_ref> [head_ref]
# Categorized mode: one specialist reviewer per rules_dir subdirectory
uv run python -m allfly_crew.main reviews categorized <rules_dir> <repo_path> <base_ref> [head_ref]
Requires AWS Bedrock credentials and a BEDROCK_MODEL_ID environment variable
(see .env.example).
More sub-crews (architecture, devops, ...) and a universal rule-selection model
(allfly-crew.toml) are planned; see prompt.md for the full roadmap.
Installing as a CLI
Once published to PyPI, install as a standalone tool (no venv activation needed):
uv tool install allfly-crew
# or
pipx install allfly-crew
allfly-crew reviews diff <repo_path> <base_ref> [head_ref]
Release Procedures
- This project uses "trunk" based development off of
master. - PRs are allowed but always folded back to
master. - To release: go to the repo's Actions tab, run the Publish workflow, and
choose a bump type (
patch,minor,major). It bumps the version inpyproject.toml, tags the release, builds withuv build, publishes to PyPI, and creates a GitHub release.
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 allfly_crew-0.0.1.tar.gz.
File metadata
- Download URL: allfly_crew-0.0.1.tar.gz
- Upload date:
- Size: 251.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce873934dd99ff5015dcc019756959ca687b7f6ce776bee7a4c5d7d8e0453fe5
|
|
| MD5 |
a814269cbcbf10098b1d41ee08e90f7c
|
|
| BLAKE2b-256 |
599f4c2bc44b36f4b10316f259710a14196d1516a038eb22d89cc976a01c616c
|
Provenance
The following attestation bundles were made for allfly_crew-0.0.1.tar.gz:
Publisher:
publish.yml on travelallfly/allfly-crew
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
allfly_crew-0.0.1.tar.gz -
Subject digest:
ce873934dd99ff5015dcc019756959ca687b7f6ce776bee7a4c5d7d8e0453fe5 - Sigstore transparency entry: 2336366530
- Sigstore integration time:
-
Permalink:
travelallfly/allfly-crew@75ddd79f6c6ecc0abfe581eb330a54e88c234a86 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/travelallfly
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@75ddd79f6c6ecc0abfe581eb330a54e88c234a86 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file allfly_crew-0.0.1-py3-none-any.whl.
File metadata
- Download URL: allfly_crew-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c81398d1c16fc8649802061dcf26b40ba307520fe7a3b1c6f41236a5872e9a06
|
|
| MD5 |
80413cf37ed9760fffb633cd9f6eb6fe
|
|
| BLAKE2b-256 |
3ae0da5e1d430a3450cff0796ed82ee90714e0a4b6ebd972f4674a832c08c627
|
Provenance
The following attestation bundles were made for allfly_crew-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on travelallfly/allfly-crew
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
allfly_crew-0.0.1-py3-none-any.whl -
Subject digest:
c81398d1c16fc8649802061dcf26b40ba307520fe7a3b1c6f41236a5872e9a06 - Sigstore transparency entry: 2336366544
- Sigstore integration time:
-
Permalink:
travelallfly/allfly-crew@75ddd79f6c6ecc0abfe581eb330a54e88c234a86 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/travelallfly
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@75ddd79f6c6ecc0abfe581eb330a54e88c234a86 -
Trigger Event:
workflow_dispatch
-
Statement type: