Skip to main content

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 by review_criteria.md.
  • categorized — one specialist agent per rule category (one subdirectory of .md rule files = one category), run concurrently via asyncio.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 in pyproject.toml, tags the release, builds with uv build, publishes to PyPI, and creates a GitHub release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allfly_crew-0.0.2.tar.gz (251.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

allfly_crew-0.0.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file allfly_crew-0.0.2.tar.gz.

File metadata

  • Download URL: allfly_crew-0.0.2.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

Hashes for allfly_crew-0.0.2.tar.gz
Algorithm Hash digest
SHA256 849518cfd3a17831ccc38d583018bc7771e65a9de1fcd1b2beb597a52582441e
MD5 eca9003726e8daa299f0368106e8e672
BLAKE2b-256 74cd759ad10eb0e7871c47ea9066462fff87172657100455f70be93b85943597

See more details on using hashes here.

Provenance

The following attestation bundles were made for allfly_crew-0.0.2.tar.gz:

Publisher: publish.yml on travelallfly/allfly-crew

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file allfly_crew-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: allfly_crew-0.0.2-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

Hashes for allfly_crew-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c12bd1d991d21258cae2e6b2807fc1d67f8e1427bc26101812bd73dd47f38701
MD5 2d8d1b20753985a8cd184e7fdf8af9d5
BLAKE2b-256 09be022b3ba8057ae1f1f78dfb4316545f07b07fc16c04b9573c085564124e14

See more details on using hashes here.

Provenance

The following attestation bundles were made for allfly_crew-0.0.2-py3-none-any.whl:

Publisher: publish.yml on travelallfly/allfly-crew

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page