Preheat your air fryer to 370°F (185°C) for about 3 minutes. Lightly grease two small oven-safe ramekins or a small baking dish that fits inside your air fryer basket with cooking spray.
Place the sausage links or patties directly into the air fryer basket. Cook for 5 to 6 minutes, shaking the basket or flipping the sausages halfway through, until they are browned and nearly cooked through.
Carefully crack one egg into each prepared ramekin. Season the eggs with salt and pepper. Place the ramekins into the air fryer basket alongside the sausages (or move sausages to the side to make room).
Cook everything together for an additional 3 to 5 minutes. Three minutes will yield a runnier yolk, while five minutes will result in a fully set egg. Check frequently toward the end to reach your desired doneness.
Use oven mitts to carefully remove the ramekins and the sausages from the air fryer. Garnish with fresh herbs if desired and enjoy immediately.