Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 662 Bytes

File metadata and controls

34 lines (27 loc) · 662 Bytes

CrewAI

This sample uses CrewAI to build a simple image generation agent and host it as an A2A server.

Prerequisites

  • Python 3.12 or higher
  • UV
  • Access to an LLM and API Key

Running the Sample

  1. Navigate to the samples directory:

    cd samples/agents/crewai
  2. Create a file named .env under agents/crewai.

    touch .env
  3. Add GOOGLE_API_KEY to .env (sample uses Google Gemini by default)

  4. Run the agent:

    uv python pin 3.12
    uv venv
    source .venv/bin/activate
    uv run .
  5. Run the client

    uv run hosts/cli