Agent: documentation generator restructured [WIP]