DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a two-agent research and report crew with Crew AI

Scaffold a crew where a researcher gathers findings and an analyst writes them up as a markdown report.

Short answer: Install CrewAI following the installation guide in the docs; then run crewai create crew latest-ai-development and then cd latest_ai_development; edit agents/researcher.jsonc and agents/reporting_analyst.jsonc with each agent's role, goal, backstory and llm. All steps.

Credentials. Your model and Serper keys go in a plain .env file, so keep it out of version control.

Who it is forA developer or analyst who wants a repeatable briefing on any topic without writing orchestration code.

The problemOne prompt that both researches and writes tends to skim, and wiring several agents together by hand takes time.

The outcomeA project that runs a researcher then a reporting analyst in sequence and writes output/report.md.

What you need first

  • Python 3.10 or later
  • The CrewAI CLI from the installation guide
  • A model provider API key in the project's .env file
  • A Serper.dev API key if your agents use web search

Steps

  1. Install CrewAI following the installation guide in the docs
  2. Run crewai create crew latest-ai-development and then cd latest_ai_development
  3. Edit agents/researcher.jsonc and agents/reporting_analyst.jsonc with each agent's role, goal, backstory and llm
  4. Define research_task and reporting_task in crew.jsonc with process sequential and a default topic under inputs
  5. Add your model key and SERPER_API_KEY to .env, then run crewai install and crewai run

Prompt for your agent

Using crewAIInc/crewAI, scaffold a crew with a researcher and a reporting analyst for the topic <topic>. Configure crew.jsonc with a sequential process that writes output/report.md, then run it and show me the report.

Caveat. Every agent step is a paid model call, and the example uses openai/gpt-4o, so a long crew run can cost more than a single prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for crewAIInc/crewAI and "Build a two-agent research and report crew"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer