For an example of building an application designed to interact with the TotalAgility SDK please see here.
For an example of referencing a custom dll please see here.
For an example of building a simple process map please see here.
For an example of calling a TotalAgility web service from jquery using JSON please see here.
For examples of calling various CaptureDocumentService API methods that are demonstrated using a Visual Studio solution containing a class library project, along with processes that reference them, please see here.