Skip to main content

Framework-agnostic AI crew orchestration - declare once, run on CrewAI, LangGraph, or Strands

Project description

agentic-crew

Framework-agnostic AI crew orchestration - declare once, run on CrewAI, LangGraph, or Strands.

Why agentic-crew?

The AI agent ecosystem is fragmented:

  • CrewAI - Full-featured but heavyweight
  • LangGraph - Great for flows but different API
  • Strands - Lightweight but AWS-specific

agentic-crew solves this with a universal crew format that decomposes to any framework.

Installation

# Core (no framework - auto-detects at runtime)
pip install agentic-crew

# With specific framework
pip install agentic-crew[crewai]      # CrewAI (recommended)
pip install agentic-crew[langgraph]   # LangGraph
pip install agentic-crew[strands]     # AWS Strands

# All frameworks
pip install agentic-crew[ai]

Quick Start

1. Define a Crew (YAML)

# .crewai/manifest.yaml
name: my-package
version: "1.0"

crews:
  analyzer:
    description: Analyze codebases
    agents: crews/analyzer/agents.yaml
    tasks: crews/analyzer/tasks.yaml
# crews/analyzer/agents.yaml
code_reviewer:
  role: Senior Code Reviewer
  goal: Find bugs and improvements
  backstory: Expert at code analysis
# crews/analyzer/tasks.yaml
review_code:
  description: Review the provided code for issues
  expected_output: List of findings with severity
  agent: code_reviewer

2. Run It

from agentic_crew import run_crew

# Auto-detects best framework
result = run_crew("my-package", "analyzer", inputs={"code": "..."})

Or from CLI:

agentic-crew run my-package analyzer --input "Review this code: ..."

Framework Decomposition

The magic happens in core/decomposer.py:

from agentic_crew.core.decomposer import detect_framework, get_runner

# See what's available
framework = detect_framework()  # "crewai", "langgraph", or "strands"

# Get a runner
runner = get_runner()  # Auto-selects best
runner = get_runner("langgraph")  # Force specific

# Build and run
crew = runner.build_crew(config)
result = runner.run(crew, inputs)

Framework Priority

  1. CrewAI (if installed) - Most features, best for complex crews
  2. LangGraph (if CrewAI unavailable) - Good for flow-based logic
  3. Strands (fallback) - Lightweight, minimal deps

Package Integration

Any package can define crews in a .crewai/ directory:

my-package/
├── .crewai/
│   ├── manifest.yaml
│   ├── knowledge/
│   │   └── domain_docs/
│   └── crews/
│       └── my_crew/
│           ├── agents.yaml
│           └── tasks.yaml
└── src/

Then run:

agentic-crew run my-package my_crew --input "..."

Use Cases

1. Connector Builder (vendor-connectors)

A crew that scrapes API docs and generates HTTP connectors:

agentic-crew run vendor-connectors connector_builder \
  --input '{"api_docs": "https://docs.meshy.ai/en"}'

2. Code Generation (any project)

Define crews for your specific domain and run them on any framework.

Development

# Install with dev deps
uv sync --extra dev --extra tests --extra crewai

# Run tests
uv run pytest tests/ -v

# Lint
uvx ruff check src/ tests/ --fix

Related Projects

License

MIT

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

agentic_crew-0.1.0.tar.gz (400.0 kB view details)

Uploaded Source

Built Distribution

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

agentic_crew-0.1.0-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file agentic_crew-0.1.0.tar.gz.

File metadata

  • Download URL: agentic_crew-0.1.0.tar.gz
  • Upload date:
  • Size: 400.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentic_crew-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d782ca637210e496079dcf62c404bd9bfb45267440b7b059fe2c4ab5786da6e
MD5 12b931d1ff2d3e43d633c6f9f82d941d
BLAKE2b-256 1f44538c271551c02f69f5039deffbd6d392b100ae99d44e267c63b54fd0fee3

See more details on using hashes here.

File details

Details for the file agentic_crew-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentic_crew-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 39.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentic_crew-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1f8ee5dbd697749c685764caa25bc8344bb028cfccc5f4bbff293538c500a53
MD5 196a83a0f5c38f410116c9655249d264
BLAKE2b-256 b1fd95d521a2539811cc1ff846568a5d99cf69bd22d673142f5a7725481a0e63

See more details on using hashes here.

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