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.1.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.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

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

Hashes for allfly_crew-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ce873934dd99ff5015dcc019756959ca687b7f6ce776bee7a4c5d7d8e0453fe5
MD5 a814269cbcbf10098b1d41ee08e90f7c
BLAKE2b-256 599f4c2bc44b36f4b10316f259710a14196d1516a038eb22d89cc976a01c616c

See more details on using hashes here.

Provenance

The following attestation bundles were made for allfly_crew-0.0.1.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.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

Hashes for allfly_crew-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c81398d1c16fc8649802061dcf26b40ba307520fe7a3b1c6f41236a5872e9a06
MD5 80413cf37ed9760fffb633cd9f6eb6fe
BLAKE2b-256 3ae0da5e1d430a3450cff0796ed82ee90714e0a4b6ebd972f4674a832c08c627

See more details on using hashes here.

Provenance

The following attestation bundles were made for allfly_crew-0.0.1-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