multi-agent

crewai-updated-tutorial-hierarchical

180 stars142 forksPythonUpdated 8/18/2024100% free · open source
What it does

CrewAI is a multi-agent framework that enables the creation of hierarchical agents for complex decision-making tasks, allowing founders to model and simulate real-world systems with multiple interacting agents.

When to use it
  • •When you need to simulate complex systems with multiple interacting agents, such as supply chains or traffic flow.
  • •When you want to model hierarchical decision-making processes, such as those found in organizations or economies.
  • •When you need to analyze the emergent behavior of complex systems, such as the effects of policy changes or external shocks.
Ready-to-paste prompt
Run `python crewai/tutorial/hierarchical_tutorial.py --num_agents 10 --simulation_duration 100` to simulate a system with 10 agents interacting over 100 time steps.
Heads up: Make sure you have the latest version of Python (3.8 or higher) and the required dependencies installed, as the framework relies on specific libraries such as NumPy and SciPy.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/crewai-updated-tutorial-hierarchical && curl -fsSL https://workflowstacks.com/api/skills/crewai-updated-tutorial-hierarchical/claude-skill -o ~/.claude/skills/crewai-updated-tutorial-hierarchical/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How crewai-updated-tutorial-hierarchical works
Codeflow
Free to inspect

Crewai-updated-tutorial-hierarchical is a tiny Python project (~200 lines across 6 code files). Setup is light: install Python, add API keys, run one command. Last commit 27 months ago, no license file, no tests found.

Size
Tiny codebase
~200 lines · 6 code files · 2 min skim
Setup
Light setup
Install Python, add API keys, run one command.
Runs on
Python
Needs API keys (.env)
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    main.py
    Where the program starts running
  3. 3
    pyproject.toml
    Dependencies and the commands it exposes
  4. 4
    .env.example
    The API keys and settings you must provide
What's in each folder
tools/Helper scripts2 files
READMENo tests foundThin docsNo CINo licenseLast update 27 mo ago
Quick Actions
Details
Creator
bhancockio
Language
Python
Category
multi-agent
Published
2/21/2024

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/crewai-updated-tutorial-hierarchical.svg)](https://workflowstacks.com/skills/crewai-updated-tutorial-hierarchical?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.