Wikipedia names peas as a possible non-traditional guacamole ingredient.
Traditional guacamole is centered on mashed ripe avocado, usually seasoned with salt and often combined with ingredients such as lime juice, onion, cilantro, chile, or tomato. Peas are not part of the classic Mexican foundation, but some modern or experimental recipes add them to change the color, texture, sweetness, or cost of the dip.
The distinction between traditional and non-traditional matters because guacamole has many regional and contemporary variations. A recipe containing peas can still be marketed or served as guacamole, even though it departs from the basic avocado preparation. Similar modern variations may include sour cream or basil.
Peas are legumes, botanically different from avocados, which are fruits. Their inclusion can also lead to confusion with bean-based dips, hummus made from chickpeas, or lentil spreads. None of those alternatives is the specific legume identified in the Wikipedia description of possible non-traditional guacamole ingredients.
The green color of pea-enhanced guacamole may resemble avocado, but avocado’s creamy fat content and characteristic flavor remain central to the dish’s identity.