Custom Panel in editor

How can i create a custom panel like Inspector?

Thanks.

Take a look at Extending Editor in docs;

Edit : link changed.