For local businesses the panel is mostly built from your Google Business Profile. You can't add one with markup, but consistent facts across the web help Google connect them to you.
Glossary
Knowledge panel
The information box Google shows about a business, person or place, usually beside or above the results.
All terms
Your next regular is searching right now.
Check your site free, then press Optimize. Back to the kitchen.