Adoption & procurement · Research feature

Study Identifies Key Factors Influencing Developer Trust in Generative AI

A survey of 238 developers at GitHub and Microsoft reveals that system quality, functional value, and goal maintenance significantly shape trust in generative AI, with cognitive styles like risk tolerance also affecting adoption.

Adapted from research by Rudrajit Choudhuri, Bianca Trinkenreich, Rahul Pandita and colleagues.

arXiv preprint revision · 2025-11-14 · Attribution & reuse
In this article
Editorial illustration of stacks of coins.

Editor’s introduction

The study examines how developers’ trust and adoption of generative AI are influenced by system quality, functional benefits, and goal alignment, alongside individual cognitive styles such as risk tolerance and self-efficacy. Using survey data and structural equation modeling, researchers found that aspects like output safety, performance, and practical utility strongly impact trust, which in turn drives adoption intentions. The analysis also highlights that developers with different cognitive styles—such as risk-averse or tech-enthusiastic—interact with AI tools in distinct ways, creating usability barriers when these styles are not supported. A key limitation is that the findings are based on a single cohort of developers at two tech companies, limiting generalizability to broader or more diverse development environments.

Trust in AI

Trust in AI is commonly defined as “the attitude that an agent will help achieve an individual’s goals in a situation characterized by uncertainty and vulnerability”. Trust is a latent psychological construct (subjective and not directly observable) that must be distinguished from observable reliance. Despite being inanimate, users often anthropomorphize AI systems, extending socio-cognitive judgments of competence and benevolence, which can lead to feelings of disappointment or betrayal when trust is violated. Such unobservable psychological constructs are typically measured through validated self-report instruments (questionnaires). In this study, we used the validated Trust in eXplainable AI (TXAI) instrument to assess developers’ trust in genAI tools. TXAI, derived from established trust scales, has been psychometrically validated and is recommended for measuring trust in human–AI (HAI) interactions.

What existing AI-trust research tells us: Early work on trust in automation emphasized performance and usefulness as primary antecedents. Subsequent research refined these models by distinguishing cognitive trust (based on competence and reliability) from affective trust (based on emotional connection and anthropomorphism). Yet, findings from classical automation studies do not transfer directly to AI contexts, where system behavior is probabilistic and dynamically co-constructed through HAI interaction. Consequently, users’ mental models, interpretability of outputs, and control affordances play central roles in calibrating trust. For example, expectation-management features (e.g., communicating confidence or rationale) can improve perceived trustworthiness even without underlying performance changes.

GenAI poses new challenges: GenAI tools—here referring to developer-facing tools powered by large language models (e.g., GitHub Copilot, ChatGPT, Claude)—introduce new trust dynamics compared to earlier AI forms, driven by the prevalent uncertainty and generative variability associated with these tools. Unlike deterministic automation, genAI produces outputs that may be fluent yet factually incorrect (“hallucinations”), creating epistemic uncertainty that complicates assessments of correctness and reliability. The underlying processes remain largely opaque (“black box”), further hindering trust calibration.

Recent studies have begun unpacking these dynamics. A cited study found that developers’ trust in AI-code generators depends on perceived accuracy, expertise, and the risk of accepting incorrect suggestions. and highlight the roles of control, expectation management, and reputation in shaping trust. Most relevant to our work, proposed the PICSE framework— (1) Personal (internal, external, social aspects), (2) Interaction (engagement aspects), (3) Control (over the tool), (4) System (tool properties), and (5) Expectations (from the tool)—as a qualitative lens for understanding how developers form or (re)build trust in tools. However, PICSE has not been psychometrically validated, leaving an empirical gap in quantifying how these factors cluster and which most strongly shape developers’ trust in genAI.

Survey design and data collection

All closed-ended items used a 5-point Likert scale (1 = “Strongly disagree” to 5 = “Strongly agree”) plus a sixth option (“I’m not sure”) to distinguish ignorance from indifference. The median completion time was 7–10 minutes. To reduce response bias, we randomized question order within blocks and included attention checks to ensure data quality. The full questionnaire is available in the supplemental material.

Distribution & responses: We administered the survey using GitHub’s internal survey tool. The survey was distributed to team leads, who were asked to cascade it to their teams. This approach was chosen over mailing lists to broaden reach. The survey ran for one month (Feb-Mar, 2024), participation was optional but encouraged.

We received 343 responses (Microsoft: 235; GitHub: 108). We removed patterned responses (n=20), an outlier with (<1) year of SE experience (n=1), and those that failed attention checks (n=29), and partial completes that did not answer closed-ended items (n=55), yielding 238 valid responses. We treated “I’m not sure” responses as missing data. Following prior work, we did not impute data points due to the unproven efficacy of imputation methods in PLS-SEM group contexts.

Model development and hypotheses

System/Output quality captures genAI’s presentation, safety and security practices (including privacy implications), performance, and output quality (consistency and correctness) relative to the developer’s style and workflow (S2-S5, E3). Prior work shows that developers often place trust in AI based on its performance, presentation, and output quality (accuracy and consistency), which serve as proxies for a system’s perceived credibility. Further, evidenced that developers are often wary about the security implications of using genAI tools in their work, which dampens trust. Drawing upon these, we hypothesize: (H1) GenAI’s system/output quality positively associates with developers’ trust in these tools.

Functional value is the practical utility a tool provides in users’ work. In our context, genAI’s functional value encompasses its educational value and clear advantages to work performance (I3, P3). Prior studies show that developers’ expectations of gains from using AI (e.g., productivity, code quality) builds their trust, and that educational value further strengthens it. Accordingly, we posit: (H2) GenAI’s functional value positively associates with developers’ trust in these tools.

Ease of use captures how easily developers can use genAI and integrate it into their workflows (S1, C2). Prior work highlights that a tool’s ease of use and workflow compatibility contribute to users’ trust. Thus, we hypothesize: (H3) GenAI’s ease of use positively associates with developers’ trust in these tools.

Goal Maintenance is the sustained alignment between genAI’s actions and the developer’s current goals (E4). Because goals vary by task and context, aligning AI behavior with an individual’s ongoing goals is crucial for effective human–AI collaboration. In terms of human cognition, such congruence supports cognitive flow and lowers cognitive load, which in turn fosters trust. Accordingly, we posit: (H4) GenAI’s goal maintenance positively associates with developers’ trust in these tools.

Trust is central to explaining resistance toward automated systems. Multiple studies have linked individuals’ trust in technology with their intention to use it. In our context, we posit: (H5) Trust positively associates with intentions to use genAI tools.

Motivations behind why someone uses technology (technophilic vs. task-focused) influence both usage intentions and how they engage with its features and functionalities. Naturally, individuals motivated by their intrinsic interest and enjoyment in exploring emergent technology (opposite end of the spectrum from those motivated by task completion) are early adopters. We posit: (H6) Technophilic motivations positively associate with intentions to use genAI tools.

Computer self-efficacy is an individual’s belief in their ability to use emerging technologies in tasks. It influences how an individual applies cognitive strategies and the effort they invest in using tools, thereby influencing adoption intentions. We hypothesize: (H7) Higher computer self-efficacy positively associates with developers’ intentions to use genAI tools.

Structural model evaluation (testing relationships among constructs)

Factors affecting trust (RQ1): Hypotheses H1 (p=0.00), H2 (p=0.03), and H4 (p=0.00) were supported (Tab. 6). System/Output Quality (H1) significantly predicted trust, reflecting developers’ preference for tools that deliver accurate, safe, and style-consistent outputs matching their work practices. Functional Value (H2) also strengthened trust, as developers valued genAI for its tangible utility and learning benefits; as one respondent noted, “I find value in these models for creative endeavors, gaining different perspectives, or coming up with ideas I wouldn’t have otherwise” (P91). Finally, Goal Maintenance (H4) positively affected trust. Developers trusted genAI more when its actions aligned with their goals, reducing verification effort and cognitive load. This congruence ultimately reinforced its credibility as a cognitive collaborator rather than a detached misaligned tool, thus bolstering trust.

Factors affecting adoption (RQ2): Hypotheses H5 (p=0.00), H6 (p=0.01), H7 (p=0.01), and H8 (p=0.00) were supported, indicating that developers’ trust (H5) and cognitive styles—motivations (H6), computer self-efficacy (H7), and risk tolerance (H8)—are significantly associated with their behavioral intentions toward genAI.

Control variables: Although domain experience is often linked to adoption attitudes, our analysis found no significant associations between SE experience and trust, behavioral intention, or genAI usage. This is likely since genAI introduces a distinct interaction paradigm, which diverges from traditional SE tools and requires different skills and interactions not necessarily tied to SE experience. We excluded genAI familiarity and gender as control variables due to highly skewed distributions (most participants reported high familiarity; gender was similarly imbalanced). Including severely skewed controls can distort path estimates and threaten the model’s validity. The analysis of unobserved heterogeneity (see supplemental ) supports the absence of any group differences in the model (e.g., organizational heterogeneity) caused by unmeasured criteria.

Goal maintenance (E4)

Second, insufficient goal awareness caused genAI’s suggestions to frequently deviate from intended goals, wasting time and effort. P42 articulated, “Sometimes AI takes us in different directions. We spend a lot of time trying those approaches, trusting that AI gives good answers, but it doesn’t work for our business solutions” (P42).

Finally, these deviations yielded siloed solutions that failed to integrate with broader project context; limiting the applicability of genAI’s contributions, and blunting expected efficiency gains. As P234 explained, “[genAI] often generates answers and code that doesn’t address my question or the problem I’m trying to solve. I have to go through it thoroughly to correct things as required” (P234).

These findings align with distributed cognition: effective support requires tight coupling and coordination between the external representation (here, genAI) and users’ cognitive activities. In practice, participants found that genAI often “operates in silos” (P12), showing limited context awareness and drifting from goals, forcing manual intervention and added verification burden.

This constant vigilance inflated cognitive load, negating the expected benefits of using these tools. P103 captured this sentiment, “Vigilance in evaluating the quality of genAI responses is hard and taxing. It’s mostly that I always have to double-check most of the information or code it provides, so you could say the biggest challenge is trust” (P103). Others added, “…[it] takes a careful eye to look over anything generated for correctness; this can sometimes be a harder task than writing from scratch” (P220), making genAI assistance appear less efficient in development workflows. From a theoretical standpoint, verification burden disrupts cognitive flow by introducing frequent interruptions. This undermines users’ sense of immersion and engagement, thereby impeding trust in tools.

Participants emphasized painstaking prompt phrasing, especially when it had to encode technical nuances or constraints. “One challenge I face is putting a lot of effort into constructing targeted prompts that the model will understand and provide the output I’m looking for” (P64). At times, this effort became prohibitive, leading developers to “settle for something not quite what [they] want because [they] can’t get the prompt just right even after too many tries” (P225).

Prompt refinements were equally complex and taxing, frequently devolving into unsystematic iterations: “I have confusion around the prompt; there is a lot of back and forth before I can get [genAI] to understand what I mean and generate relevant results. It takes time to develop the correct prompts and even more effort to refine them” (P57). These articulation and refinement cycles reveal a deeper gulf of envisioning: developers know what they want, but struggle to instruct genAI how to do it. When the system cannot infer goals or context, each interaction turn adds friction and cognitive burden, eroding trust—patterns consistent with representational misalignment.

Technophilic motivations

Drawing on Self-Determination Theory (SDT), these frictions undermine intrinsic motivations by (1) eroding competence, i.e., limited feedback makes it difficult to develop accurate mental models about how the system works; and by (2) impeding autonomy, i.e., users feel constrained in controlling the system’s behavior. Simply put, when tools are opaque or difficult to steer, they reduce users’ sense of agency, satisfaction, and ultimately, their intrinsic motivations to use them.

Frictions also stemmed from breakdowns in goal maintenance (E4). Participants noted high verification burden (E4b), prompting effort (E4c), and substantial rework in modifying genAI outputs (E4d). Each imposed extraneous load, diverting cognitive resources from primary tasks. These breakdowns created what participants called a “cost of exploration”; turning what should have been an intuitive engagement into an effortful, cognitively taxing one. Such repeated friction dampened sustained engagement, especially when intrinsic efforts drove usage.

Implications for practice

Designing for goal maintenance: Our findings reveal a persistent gap between the importance developers place on goal maintenance and genAI’s support for it. This points to a clear design imperative: genAI tools must better sustain goal maintenance to foster trust.

To do so, they must consistently account for a developer’s current state (i.e., task context, progress, and constraints), as well as preferences for transitioning between that state and immediate goals and expected outcomes from genAI. Such preferences may span process methodologies, coding conventions, output specifications, business requirements, and task-specific constraints. Although our study is tool-agnostic, some tool classes (e.g., in-context assistants like GitHub Copilot) are better positioned to preserve alignment than general-purpose chat interfaces (e.g., ChatGPT). Even so, our results point to breakdowns in goal maintenance (e.g., verification burden; high prompting/modification effort) that can occur across tool types. Accordingly, we outline design directions that apply broadly to sustaining alignment in genAI tools.

One approach is to use custom guardrails, i.e., user-defined rules guiding genAI behavior across inputs, intermediate steps, and outputs (E4a). For instance, the Cursor IDE supports global and project-specific rule-sets that allow developers to embed these preferences into genAI-assisted code generation. Guardrails should be operationalized to recurrently critique, verify, and adjust genAI’s actions based on user-defined metrics (e.g., stylistic norms, domain-specific validations, or safety considerations). Embedding such mechanisms can also improve output appropriateness (S4a) and stylistic fit (E3), while reducing verification and modification efforts (E4b,d).

Developers should also be able to explicitly steer genAI’s actions, especially when it drifts from expected trajectories (E4a). Interfaces can support this through affordances to (i) control when and how suggestions appear (inline vs diff, granular output integration, or require static/unit checks before surfacing), (ii) manage memory (toggle long-term context, include/exclude session history), and (iii) edit intermediate plans/reasoning that the model must follow. Embedding such controls supports developers’ metacognitive flexibility (i.e., their ability to adapt strategies as tasks evolve), helping them steer genAI in alignment with these changing goals.

Designing for contextual transparency: Developers frequently integrate genAI support into their work, yet many struggled to refine outputs (S2) or reason about performance and output quality in complex tasks (S4, S5). This disconnect risks miscalibrated trust, leading to errors or productivity loss. Calibrating expectations to reflect a tool’s true capabilities is essential.

Designing for effective interaction and sensemaking: Developers reported considerable challenges in crafting effective prompts (E4c) and navigating rigid interaction and output formats (S2b, S2c). These frictions disrupted productive exploration and eroded trust. To address this, rethinking interaction mechanisms becomes essential.

(Interaction) To reduce prompting effort (E4c), interfaces could support grounded utterance transformations, in which natural intents (e.g., “summarize this issue,” “suggest why this test might fail”) are reconstructed into formalized prompts. Instead of requiring precise phrasing upfront, systems can externalize the model’s interpretation and make it editable (e.g., surfacing fields for task scope, format, and constraints, with a live “what the model will use” preview) to enable more effective prompt refinement. This can also reduce the “gulf of envisioning”, turning prompting into an inspectable, reflective process over time.