In a food processor, process cashews until they are ground into small pieces (the size of lentils or smaller). Add the cooked carrots, and process until the carrots are in similarly sized pieces (or fall apart, if they've been cooked soft).
Sweat onion and garlic in oil until soft.
In a large bowl, mix all ingredients and add salt and pepper to taste. The mixture should come together into a mass when pressed.
Press firmly into a greased 6 1/2 " x 3 3/4" x 3-inch loaf pan and cover with foil.