Domain experts possess tacit knowledge that they cannot easily articulate through explicit specifications. When experts modify AI-generated artifacts by correcting terminology, restructuring arguments, and adjusting emphasis, these edits reveal domain understanding that remains latent in traditional prompt-based interactions. Current systems treat such modifications as endpoint corrections rather than as implicit specifications that could reshape subsequent reasoning. We propose context-mediated domain adaptation, a paradigm where user modifications to system-generated artifacts serve as implicit domain specification that reshapes LLM-powered multi-agent reasoning behavior. Through our system Seedentia, a web-based multi-agent framework for sense-making, we demonstrate bidirectional semantic links between generated artifacts and system reasoning. Our approach enables specification bootstrapping where vague initial prompts evolve into precise domain specifications through iterative human-AI collaboration, implicit knowledge transfer through reverse-engineered user edits, and in-context learning where agent behavior adapts based on observed correction patterns. We present results from an evaluation with domain experts who generated and modified research questions from academic papers. Our system extracted 46 domain knowledge entries from user modifications, demonstrating the feasibility of capturing implicit expertise through edit patterns, though the limited sample size constrains conclusions about systematic quality improvements.
Figures & tables
Figure 1. Context-Mediated Domain Adaptation transforms ephemeral user interactions into persistent domain knowledge. As user knowledge and LLM model knowledge deviate we analyze user interaction and edits in order to extract implicit domain knowledge. Through iterative refinement our approach expands the shared context substantially, capturing domain-specific terminology, conventions, and patterns. This accumulated knowledge persists in an LLM-agnostic format, enabling system improvements across sessions and participants while maintaining compatibility with different language models.
Knowledge Category
Description & Characteristics
Example Knowledge Patterns
Domain Terminology Evolution
Systematic vocabulary preferences and specialized language usage patterns derived from user corrections to technical terms and domain-specific expressions
Replacing “chart” with “visualization,” preferring “participants” over “users,” adopting field-specific acronyms and technical terminology
Methodological Refinements
Improvements to research approaches, analytical frameworks, and domain-specific practices reflecting expert knowledge of proper methodologies
Theoretical nuances, conceptual relationships, and domain-specific considerations that add scholarly depth beyond surface-level content
Adding theoretical frameworks, clarifying causal relationships, introducing domain-specific constraints, connecting concepts to established literature
Table 1. Knowledge categories extracted from user edits. The system identifies three distinct types of domain knowledge from user modifications to generated artifacts. Domain terminology evolution captures vocabulary preferences through direct text corrections. Methodological refinements encode expert knowledge about research practices and analytical frameworks. Conceptual depth changes add theoretical nuance and scholarly connections that distinguish expert from novice discourse.
Figure 2. Interaction modalities. Implementation of interaction modes defined in our Context-Mediated Domain Adaptation framework. These interfaces demonstrate how user modifications are captured and transformed into domain knowledge through bidirectional semantic links, enabling the system to learn from expert corrections and improve subsequent artifact generation. A side-by-side comparison of two interface screenshots. The left panel (a) shows "Direct Manipulation Mode" with a research question interface displaying "Research Question 1" at the top, followed by three sections: "Research Question" with editable text about Chart-of-Thought prompting strategy, "Contribution Summary" with a paragraph of text, and "Edit" buttons in the top right of each section. A red border highlights the editable content area. The right panel (b) shows "Prompt-based Regeneration Mode" with an identical layout, but includes a highlighted yellow section indicating content that will be regenerated based on user prompts. Both interfaces show quality indicators and word counts (25 words) in the top right corner. The screenshots demonstrate different interaction approaches for modifying AI-generated research questions.
Figure 3. Prompt-based generation. Complete workflow for prompt-based artifact regeneration showing the input dialog for natural language instructions and the asynchronous generation process. The interface maintains application responsiveness during AI processing, demonstrating the fire-and-forget architecture that decouples user interactions from computational workloads. A side-by-side comparison showing the prompt-based generation workflow. The left panel (a) displays a modal dialog box titled "Prompt based regeneration" overlaying a darkened research questions interface. The dialog contains explanatory text about how the system will regenerate content, a text input field labeled "Regeneration Prompt" with example prompts, and two buttons at the bottom: "Cancel" (gray) and "Regenerate" (blue). The right panel (b) shows the same interface during regeneration, with Research Question 1 displaying a spinner icon and grayed-out text indicating it is being regenerated, while Research Question 2 below remains fully visible and interactive with normal contrast. Both panels show the "Research Questions" header with "1 of 2 modified" status in the top right.
Figure 4. Edit history visualization. The AIContentWrapper component provides integrated edit history functionality that powers context-mediated domain adaptation. A side-by-side comparison of edit history interfaces. The left panel (a) shows an AIContentWrapper component with a white background displaying the title "Collective Meaning-Making and Knowledge Building through AI" at the top, followed by three light blue boxes containing action items: "Generate Visualization" for Augmented Collective Meaning-Making Publication Network, "Generate Visualization" for Impact of AI on Collaborative Knowledge Construction, and "Create Visualization" to define a custom visualization. A "Key Insights" section appears below with explanatory text. In the top right corner is a "History" badge button with a clock icon. The right panel (b) shows a modal dialog titled "Edit History - Collective Meaning-Making and Knowledge Building through AI" overlaying a darkened version of the same interface. The dialog displays a chronological timeline with two entries labeled "Item edit - Interview" from 1 minute ago, each showing a diff view with green highlighted additions and red highlighted deletions in the text. The dialog includes tabs for "Interview" and "Title" at the top.
Table
Purpose
agent_tasks
Central coordination for asynchronous AI processing with status tracking via status , input_data , and output_data
task_type
Defines available AI workflows (research question generation, knowledge extraction, context injection) using code and label
task_action
Individual processing steps within multi-agent workflows for debugging using attempts and error_message
action_type
Categorizes processing actions (extraction, analysis, generation) for workflow orchestration
api_logs
External API interactions for literature retrieval tracking search_terms and papers_found
project_agent_log
Real-time logging of agent processing steps using log_type and message for monitoring and debugging
Table 2. Database tables supporting asynchronous multi-agent task processing. The system uses six interconnected tables to coordinate AI agent workflows, track execution status, and log processing details. The agent_tasks table serves as the central coordinator, while supporting tables define workflow types, decompose tasks into atomic actions, categorize processing steps, record external API calls, and maintain real-time execution logs for debugging and monitoring.
Figure 5. Agentic task processing graph. The backend workflow graph is centered on the planner router node, which conditionally dispatches tasks to specialized nodes for paper retrieval, context-based research question generation, and edit-driven knowledge extraction. Node outputs are merged back into a unified state and persisted via the agent tasks infrastructure, enabling asynchronous execution while maintaining traceable bidirectional links between user edits, extracted domain insights, and subsequent generations. Visualization of the backend workflow graph centered on the planner router node, which conditionally dispatches tasks to specialized nodes for paper retrieval (fetch_paper_content), context-based research question generation (generate_evaluation_questions), and edit-driven knowledge extraction (extract_implicit_knowledge). Node outputs are merged back into a unified state and persisted via the agent_tasks infrastructure, enabling asynchronous execution while maintaining traceable bidirectional links between user edits, extracted domain insights, and subsequent generations.
Table
Purpose
evaluation_research_questions
Implements Bidirectional Domain-Adaptive Representation by storing initial/final states for knowledge extraction using initial_question , current_question , and edit distance metrics
implicit_domain_knowledge
Materializes Adaptive Context Object with categorized domain insights and provenance tracking through knowledge_category and source_question_ids
ai_entity_edits
Granular interaction tracking for behavioral analysis capturing edit_type , original_value , and user_prompt
ai_entity_metadata
Generation context preservation for bidirectional semantic links using generation_prompt and model_parameters
evaluation_sessions
Session management with comprehensive metrics including edit_distance_score and LLM monitoring via langfuse_trace_id
evaluation_participants
Participant management with domain_expertise profiling and evaluation_status tracking
Table 3. Database tables for knowledge extraction and evaluation tracking. Eight tables implement the core knowledge representation infrastructure for context-mediated domain adaptation. The evaluation_research_questions table stores initial and final artifact states to enable knowledge extraction from user modifications. The implicit_domain_knowledge table materializes extracted domain expertise with category labels and provenance tracking. Supporting tables capture granular edit operations, preserve generation context for bidirectional semantic links, manage evaluation sessions with comprehensive metrics, profile participant expertise, store research papers for AI processing, and log detailed UI interactions for behavioral analysis.
Figure 6. Context-mediated domain adaptation workflow tracing. Langfuse tracing demonstrates how the bidirectional learning cycle operates: user modifications flow through the extract_implicit_knowledge node (shown processing three user interactions), with extracted knowledge subsequently injected into the generate_evaluation_questions node’s system prompt. Notice how the interface makes the complete knowledge transfer visible, from hierarchical execution flow (center) to detailed prompts and performance metrics (right), enabling validation of our CMDA framework’s core claim that user edits systematically enhance AI reasoning. A screenshot of the Langfuse tracing interface showing multi-agent workflow execution. The interface has three main sections. The left panel displays a hierarchical trace list with timestamps, showing alternating entries for "user_interaction" and "LangGraph" operations from 2025-10-23. Each LangGraph entry shows JSON input data. The center panel shows a tree structure with performance metrics: "LangGraph" at 5.47s, nested "LangGraph" at 5.47s, "planner" at 0.00s, "extract_implicit_knowledge" at 0.08s, and "ChatGoogleGenerativeAI" at 1.60s with token counts (932 prompt + 137 completion, 1,069 total). Below this is a workflow graph showing connected nodes: "start" at top, flowing to "planner", which branches to "generate_evaluation_questions", "extract_implicit_knowledge", and "end". The right panel shows a detailed view with header information (trace ID, timestamp 2025-10-23 16:07:31.483), model configuration (gemini-2.0-flash-lite, temperature 0.7), and two content sections. The "Preview" tab displays the User prompt describing a visualization literacy research expert task, followed by "ORIGINAL AI-GENERATED CONTENT" and "FINAL USER-EDITED CONTENT" sections showing research questions and contributions about visualization tasks and literacy levels. An "EXISTING KNOWLEDGE" section lists conceptual depth changes about strategic focus shifts in visualization research.
Figure 7. Evaluation protocol interface. Key components of the controlled study we conducted for assessing context-mediated domain adaptation effectiveness. The system captures baseline quality assessments and provides standardized interaction protocols to ensure consistent evaluation of bidirectional learning mechanisms across participants and sessions. A side-by-side view of two evaluation protocol interfaces. The left panel (a) shows the evaluation session initialization screen with a header "Research Paper" displaying the title "Chart-of-Thought: Enhancing LLM Visualization Literacy Through Structured Data Extraction" with a green "FULLY ASSESSED" badge, author list, and affiliation. Below is an "Abstract" section with paper summary text, followed by an "Access Full Paper" section with a "View PDF" button. At the bottom is a "Research Question Refinement Instructions" box with purple header, containing "Your Mission" text explaining the participant's task and two instruction boxes: a blue "Direct Tool Edit" box stating "For questions that are not right track well (most major adjustments), freely clear out edit the text directly" and a pink "AI-Assisted Regeneration" box stating "For questions that aren't quite there (smaller approach or tone tweaks/range edits) guide the AI via prompt-specific questions." The right panel (b) shows the "Research Questions" interface with "1 of 3 Questions" header and a "Generate More" button. It displays "Research Question 1" with a 5-star quality rating, followed by the research question text about Chart-of-Thought prompting strategy and a "Contribution Summary" section. Below is "Research Question 2" marked as "DELETED" with similar structure showing a question about cognitive mechanisms and structured prompting.
Part.
Paper
Duration minutes
Quality Rating 1=poor, 5=excellent
Direct Edits total sum
Prompt Edits total sum
P1
Tell Me Without Telling Me
9.0
2.67
4
0
DRIVE-T Methodology
5.1
3.0
1
0
Charts-of-Thought
4.8
3.0
1
0
P2
Tell Me Without Telling Me
32.5
2.33
5
1
DRIVE-T Methodology
18.8
3.67
3
1
Charts-of-Thought
14.2
2.67
3
1
Table 4. Participation data showing temporal patterns in domain adaptation. Key insight: Quality ratings improve across sequential participants (P1: 2.67-3.0 → P5: 4.0-4.33), demonstrating progressive knowledge accumulation. Duration (minutes), quality ratings (1=poor to 5=excellent), and edit counts reveal how different participants engaged with the system.
Part.
Paper
Edit Distance Q=Question, C=Contribution
Edited fields amount per paper
P1
Tell Me Without Telling Me
Q: 71 - C: 22
6
DRIVE-T Methodology
Q: 19 - C: 0
4
Charts-of-Thought
Q: 50 - C: 0
4
P2
Tell Me Without Telling Me
Q: 103 - C: 121
3
DRIVE-T Methodology
Q: 82 - C: 63
1
Charts-of-Thought
Q: 83 - C: 74
1
Table 5. Character-level edit distances and field modifications by participant. Edit distances quantify character-level changes between initial AI generation and final versions across research questions (Q) and contribution summaries (C). Notice how P3’s extensive modifications (2893 total characters) coupled with high quality ratings suggest substantive refinements rather than surface corrections, while P4’s minimal edits reflect satisfaction with generation quality.
Part.
Edited fields total amount
Conceptual Depth Changes
Domain Terminology Evolution
Methodological Refinements
Total
P1
14
2
3
1
6
P2
5
9
2
5
16
P3
15
12
5
3
20
P4
3
2
0
1
3
P5
2
1
0
0
1
39
26
10
10
46
Table 6. Distribution of extracted knowledge entries by participant and category. Notice how P3 contributed the most knowledge entries (n=20) despite benefiting from accumulated knowledge, demonstrating that the system enables rather than replaces expert contribution. The uneven distribution (P1: 6, P2: 16, P3: 20, P4: 3, P5: 1) reflects varying engagement levels and expertise expression styles.
Multi-agent systems bring together language model agents with different roles to propose, review, and refine solutions. Each agent's response depends on its model's capabilities, the reasoning strategy defined by its system prompt, and the information in its input context. Existing frameworks often adapt communication by changing this context while leaving individual prompts fixed, even when a problem calls for different skills. We study whether agents' initial responses can identify a strategy better suited to the current problem and guide its transfer to other agents. To address this, we introduce SAGE (Self-Adapting Group of Experts), a training-free framework that uses answer agreement, prefix consistency, and reciprocal peer review to select a strategy donor. SAGE transfers the selected donor's reasoning strategy to the other agents while preserving their original roles. This transfer uses only the agents' original system prompts, without access to the problem or generated solutions. After strategy adaptation, agents exchange responses through a dynamic, sparse directed acyclic graph that routes information from higher-scoring agents to lower-scoring agents. Experiments across multiple agent backbones and reasoning benchmarks show that SAGE achieves higher average accuracy than the evaluated baselines. Our code is available at https://github.com/atifquamar07/sage.
Mohammad Atif Quamar, Nurbek Tastan, Karthik Nandakumar +1
Mohamed bin Zayed University of Artificial Intelligence · Michigan State University · RIKEN AIP
Large Language Model (LLM) agents are reshaping the industrial landscape. However, most practical agents still rely on human-designed scaffolds, making their creation and adaptation across diverse domains labor-intensive. This situation poses a central question: can we automatically create and evolve domain agents through interaction experience in real-world environments? While recent approaches have sought to automate agent creation, several treat scaffold optimization as a black-box procedure guided primarily by final performance metrics. Such strategies overlook critical evidence explaining why an agent succeeds or fails and often incur high computational costs. To address these limitations, we propose ReCreate, an experience-driven framework for creating and evolving specialized domain agents. ReCreate systematically leverages agent interaction histories to identify the causes of success and failure and guide targeted scaffold updates. Specifically, we introduce an agent-as-optimizer paradigm in which an optimizer agent actively inspects execution experience and iteratively refines the task agent's scaffold through three key components: (i) an experience storage and retrieval mechanism for on-demand evidence inspection; (ii) a reasoning-creating synergy pipeline that translates execution evidence into updates to prompts, workflows, tools, and memory; and (iii) hierarchical updates that consolidate instance-level refinements into reusable domain-level improvements. Experiments across thirteen evaluation settings spanning four domains show that ReCreate consistently outperforms human-designed agents and existing automated agent generation and self-evolving baselines, even when evolving from minimal seed scaffolds.
Zhezheng Hao, Hong Wang, Jian Luo +6
Zhejiang University · State Key Laboratory of Blockchain and Data Security, Zhejiang University · Tencent +3
Multi-agent large language model (LLM) systems are designed to improve reasoning by decomposing tasks across multiple agents with specialized functions, but the presence of multiple agents does not inherently guarantee coherent reasoning or outputs that align with task objectives. This paper introduces a quantitative ethnographic (QE) approach for diagnosing and redesigning multi-agent LLM systems based on the discourse produced through agent interactions. We test this approach using automated essay scoring as an example context, applying Epistemic Network Analysis (ENA) to model a five-agent multi-agent debate system and examine differences between debates that produced correct versus incorrect scoring decisions. Results show that, in the initial system, correct scoring decisions were characterized by rubric-grounded justification, agreement, and elaboration. Incorrect scoring decisions, in contrast, were characterized by extended proposition-challenge-response exchanges that were less consistently tied to rubric criteria. We then used the findings to revise the agents' prompts. The revised system improved exact scoring accuracy from 27.78% to 40.28% and shifted the discourse of incorrect debates toward the rubric-grounded pattern of correct ones, making the two nearly indistinguishable. Based on these results, we argue that QE can support a diagnostic-to-redesign loop for AI reasoning by tracing how patterns of agent interaction relate to system performance, informing prompt redesign, and evaluating whether those redesigns change both outcomes and interaction patterns.
Vedant Khatri, Anthony Cusimano, Zachari Swiecki +3
University of California, Irvine, USA · University of California, Los Angeles, USA · Monash University, Australia +2