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
- CrewAI (if installed) - Most features, best for complex crews
- LangGraph (if CrewAI unavailable) - Good for flow-based logic
- 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
- vendor-connectors - HTTP connector library
- CrewAI - Original crew framework
- LangGraph - Graph-based agents
- Strands - AWS agent framework
License
MIT
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 agentic_crew-0.2.0.tar.gz.
File metadata
- Download URL: agentic_crew-0.2.0.tar.gz
- Upload date:
- Size: 399.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d60c8acb43261ca68e75ba44dc9cc5e6d7f76384e0cd17932fc72d277259a9
|
|
| MD5 |
917d55c2baed39c06d6489c2b147a1a6
|
|
| BLAKE2b-256 |
84f4eabf46eb2e8dd197a031d39ec8dd8d0cb23ad84b6ba7f9e6161b1be87dc5
|
File details
Details for the file agentic_crew-0.2.0-py3-none-any.whl.
File metadata
- Download URL: agentic_crew-0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77071513cabc938519018ee7a6fb82472edb40fdf4d396961885fdb3a3636052
|
|
| MD5 |
e9a9ba0367a995c3a0a142b75982a29d
|
|
| BLAKE2b-256 |
51ebd6dbe433a71fa3e71a00eb7410268bf1929d5f080cabedb6945bfc586710
|