Microsoft has released the ConfigMgr SDK.  You can get the download the Microsoft Download Center

It includes DCM Digest Authoring guide, DCM digest schema, a SUM gadget that gives you current status messages on patches you have deployed, samples on creating admin console extensions, OSD custom task sequences and more.