DEVONthink and DEVONagent are highly scriptable. Using AppleScript you can integrate them tightly into your workflow, automate tasks, or extend our applications with new functionality. AppleScript as a scripting language is not only powerful but also relatively easy to learn. Our power user Veritrope has published a series of excellent Learn to speak AppleScript on his blog. Check them out!
You will also find a full chapter with more information about how to let our applications jump through loops for you in the online help (Help > Application Help).