CrewAI Agent with A2A Protocol
简介
This sample demonstrates a simple image generation agent built with CrewAI and exposed through the A2A protocol.
Features
-
Text-to-image generation using Google Gemini
Generate images from natural language descriptions powered by Gemini API. -
Support for modifying existing images using references
Enhance or edit images by providing reference inputs. -
Robust error handling with automatic retries
Automatically retries failed requests with built-in error management. -
Optional file-based cache persistence
Choose between in-memory or file-based caching for storing generated results. -
Improved artifact ID extraction from queries
Better parsing and handling of identifiers embedded in text queries.
Limitations
-
No true streaming
CrewAI does not currently support real-time streaming responses. -
Limited agent interactions
No support for multi-turn conversations between agents.