add agent business logic document