I have a malinois/black Shepard cross that was breed to be a police/military dog and she is hands down the smartest dog I have ever seen. She needs to be walked, ran and mentally stimulated on a daily basic lol if not she’ll drive me crazy lol. It’s fun all the weird things that I can teach her and usually can be taught simple tasks quite easily.
Not a dog to be trifled with. They are extremely smart, love to work, and are one of the most agile breeds I have ever had the pleasure to work with. For a dog that is not big by standards today - they are still one of the main go to for police / military work and it is easy to see why.
Don't buy one unless you plan to exercise their body and brain hours everyday or they will find a way to do it themselves, and you won't like it lol.