Code-first Python framework for teams of role-playing AI agents that collaborate on a task.
| Command | What it does |
|---|---|
pip install crewai | Install the open-source framework. Nothing to sign up for. |
crewai create crew my_first_crew | Scaffold a whole runnable project folder — a researcher + writer agent and the config that wires them, generated not hand-typed. |
crewai run | Run from inside the project folder. Set your LLM key in .env first or the run fails to reach a model. |
create, open the generated .env and add your LLM API key (OpenAI, Anthropic, a local model — your choice).config/agents.yaml by three plain-English fields: role, goal, backstory. Can be given tools.config/tasks.yaml with a description and an expected output, assigned to one agent. Tasks are the work; agents are the workers.crew.py: it imports the YAML and binds agents + tasks into a Crew that collaborates. Autonomous — agents decide how to hand off.pip install crewai then crewai create crew my_first_crew..env.config/agents.yaml (role / goal / backstory).config/tasks.yaml (description / expected output).crewai run — watch the researcher reason, hand off to the writer, and print a finished report.my_first_crew/
.env # your LLM API key
config/
agents.yaml # role · goal · backstory
tasks.yaml # description · expected output
crew.py # binds agents + tasks
.env / config. Run the same crew on different providers or a local model — you supply the key and model name.Optional hosted platform on top of the open-source framework — adds a visual editor and one-screen deploys.
| Step | What happens |
|---|---|
| Push to GitHub | In AMP choose Deploy your crews from GitHub, select repo + branch — no servers to manage by hand. |
| Set env vars | Add the variables your crew needs (e.g. LLM API key); optionally tick Automatically deploy new commits to redeploy on each push. |
| Get endpoint | After build (first deploy can take several minutes / up to ~10 min) AMP shows a live URL + a Bearer Token to call your crew securely over HTTP. |
| Manage | Dashboard lists all crews with URL, token (with Reset), and Manage / Re-deploy / Delete controls. |
crewai create command gives you a real, owned multi-agent project you can read and run.