Agent code documentation