insert context partition processing agent