Connector (AI)

A connector is a controlled link that lets an AI tool query an outside system, such as a literature database, without the model storing the data.

Status
Published, version 1.0.0
Last reviewed
10 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Connector (AI) in Evidence Search and Economic Modelling

A connector in artificial intelligence is the piece of software through which an AI tool, usually built on a large language model, sends a request to an outside system during a task and reads back the reply. The outside system might be a bibliographic database, a trial registry, a schedule of unit costs or a store of patient records, so an assistant can test a search string against PubMed or look up a price instead of answering from what it absorbed in training. NICE ECD20 (2026), the AI methods for evidence framework, lists the term in its glossary and calls connectors "controlled interfaces". In health technology assessment the controls bear directly on whether the output can be trusted, because they fix what a connector may read, what it may change and who approves each call.

Reading a source at the time of use

A language model on its own answers from patterns fixed in its parameters during training. Lewis and colleagues, introducing retrieval-augmented generation in 2020, noted that pre-trained models store factual knowledge in their parameters but that showing where an answer came from and updating that knowledge remained open problems. With a connector, the reply from the outside system is placed in the model's context window for that request, the model's weights stay as they were, and the next run reads the source again. A correction in the source therefore reaches the next answer without retraining, and each answer can be traced to a logged query and the records it returned.

Keeping data out of the model is a narrower promise than keeping it private. The request and the reply still pass through the AI application and often through a provider's servers. The Model Context Protocol specification sets as a key principle that host applications obtain explicit user consent before exposing user data to a server, though the protocol itself cannot enforce it, and NICE ECD20 (2026) leaves users responsible for collecting, storing, processing and deleting data in line with data protection law.

How a connector handles a request

Schick and colleagues showed in 2023 that a language model can learn for itself when to consult an outside tool. Their Toolformer model learned which application programming interfaces to call, when to call them, what arguments to pass and how to use the results.

Current connectors follow a similar cycle. The application tells the model which operations are available, the model asks for one with specific arguments, and the connector checks the request and runs it against the outside system, usually through that system's own application programming interface, before the reply returns to the model as new context. The Model Context Protocol is an open standard for building such links once and reusing them across AI applications, and its specification describes the clients inside a host application as connectors.

Jin and colleagues applied the cycle in biomedicine with GeneGPT, presenting database tools as a response to hallucination and prompting a code model to call the NCBI Web APIs for genomics questions. On eight GeneTuring benchmark tasks it reached an average score of 0.83, against 0.44 for the retrieval-augmented new Bing and 0.12 for ChatGPT. Its error analysis is more telling for analysts, with failures from calling the wrong interface or none, passing wrong arguments to the right one, failing to pick the answer out of a correct reply, and making a correct call to a database that did not hold the answer.

Where NICE ECD20 places connectors

The clearest example in NICE ECD20 (2026) concerns literature searching. The framework describes agentic experiments in which a language model proposes search terms, tests them against PubMed and similar databases through connectors, and refines the strategy from the results, and reports in-house experimentation with such uses. In NICE's view, AI can propose and test candidate terms and Boolean strings, but an expert searcher must check the terms, the query syntax and the choice of databases before the final search is signed off and run. AI may not be the sole strategy for generating terms and running a search. The framework also reports that the true positive and true negative rates of fully automatic AI searches vary widely, falling to between 0% and 10% in some studies.

The current framework does not cover agents or agentic AI, so an AI agent that chooses its own connector calls sits outside present guidance. For health economic evaluation, NICE ECD20 (2026) limits AI to a supporting role under close human oversight, giving as an example AI that helps plan parameter estimates while a person decides whether any suggestion enters the model. On that position a connector may fetch a candidate unit cost for an analyst to check, but a link that writes values straight into a health economic model would go beyond support.

The general principles reach connectors too. NICE ECD20 (2026) asks for validation of the whole end-to-end pipeline, including components such as retrieval-augmented generation and parsers, and for the workflow and data sources that affect reproducibility to be documented, and a connector that decides what the model sees is part of both.

What makes a connector controlled

The OWASP Gen AI Security Project, in its 2025 entry on excessive agency, traces damaging actions to extensions that carry functions or permissions the task does not need, or that take high-impact steps without independent approval. In its example, an extension meant only to read data connects with an identity also allowed to update, insert and delete records. Its prevention steps include giving the model the fewest extensions and permissions the task needs and requiring human approval of high-impact actions.

In HTA work this means read-only links to price lists, unit cost tables or record extracts, scoped to the tables the task needs, with every call logged. Where confidential pricing or patient data are involved, data governance rules decide whether a call may be made at all. The key principles of the Model Context Protocol specification add that hosts obtain consent before invoking any tool and treat descriptions of tool behaviour as untrusted unless they come from a trusted server.

Read-only access does not remove every risk. Greshake and colleagues found that applications built on language models blur the line between data and instructions, so text planted in content likely to be retrieved can redirect the model and control whether other interfaces are called. An abstract or PDF fetched for a review can therefore carry instructions aimed at the model, which is one reason to keep reading links separate from links that can write or delete.

Worked example with an illustrative search test through a connector

All numbers in this example are illustrative. A systematic review team asks a language model to propose extra synonyms for a search on a new diabetes treatment, and the model tests each candidate string through a PubMed connector that returns record counts and PubMed identifiers. Beforehand, the information specialist has assembled 40 studies already known to be relevant and keeps their identifiers from the model, so the set tests the strings rather than shaping them.

Step 1. Share of known studies retrieved. The original human-written string retrieves 1,850 records, including 34 of the 40 known studies. The string with the model's added synonyms retrieves 3,200 records, including 39 of the 40.

RA=3440=0.85RB=3940=0.975R_A = \frac{34}{40} = 0.85 \qquad R_B = \frac{39}{40} = 0.975

where RAR_A and RBR_B are the shares of the 40 known relevant studies retrieved by the original and the expanded strings, which is the sensitivity of each search against the known set.

Step 2. Extra screening time. The expanded string adds 3,200 minus 1,850, or 1,350 records to screen. With two reviewers each spending an assumed half a minute per title and abstract,

H=1350×2×0.560=22.5H = \frac{1350 \times 2 \times 0.5}{60} = 22.5

where HH is the extra screening time in hours, 1,350 is the number of extra records, 2 is the number of reviewers, 0.5 is the minutes each reviewer spends per record and 60 converts minutes to hours.

Step 3. Time per extra known study found.

h=22.539−34=4.5h = \frac{22.5}{39 - 34} = 4.5

where hh is the extra screening time in hours for each additional known study retrieved, and 39 and 34 are the known studies found by the expanded and the original string.

Step 4. Reading the result. Four and a half hours of screening per extra known study is a modest price if a missed trial could shift the pooled effect in the review. The connector made the test fast and logged each string, date and count, but the counts only describe what PubMed returned that day, and under NICE ECD20 (2026) an expert searcher still checks the strategy before the final search is signed off.

Connectors beside retrieval and fine-tuning

A connector is one of several ways of getting information into a model's answer. The routes differ in where the information lives, which decides how fresh and how traceable an answer can be.

RouteWhere the information sitsHow it is updatedTypical evidence use
ConnectorIn the outside system, read per requestThe source changes, the model does notTesting search strings, looking up a unit cost
Retrieval-augmented generationIn an indexed collection searched before generationThe collection is re-indexedQuestions over a set of HTA reports
Fine-tuningIn adjusted model weightsFurther trainingAdapting a model's task behaviour

The boundaries overlap in practice. A retrieval system may fetch its collection through a connector, and an AI agent is software that decides for itself which connector calls to make.

Common misreadings

Most errors treat the link as a guarantee. Four recur in evidence work.

  1. A connected answer is a correct answer. GeneGPT made correct calls that returned no answer and missed answers that were there, so the model's reading of each reply still needs checking.
  2. Not stored in the model means not kept anywhere. Requests and replies can be logged by the application and the provider, so confidential prices and personal data need the same governance as any other transfer.
  3. Read-only access is risk-free. Retrieved text can carry instructions aimed at the model.
  4. A good hit count means a validated search. Recall against known studies and expert review of the strategy remain separate steps.

Sources

  • Greshake K, Abdelnabi S, Mishra S, Endres C, Holz T, Fritz M. Not what you've signed up for: compromising real-world LLM-integrated applications with indirect prompt injection. arXiv:2302.12173. 2023. https://arxiv.org/abs/2302.12173
  • Jin Q, Yang Y, Chen Q, Lu Z. GeneGPT: augmenting large language models with domain tools for improved access to biomedical information. Bioinformatics. 2024;40(2):btae075. https://doi.org/10.1093/bioinformatics/btae075
  • Lewis P, Perez E, Piktus A, et al. Retrieval-augmented generation for knowledge-intensive NLP tasks. Advances in Neural Information Processing Systems 33 (NeurIPS 2020). arXiv:2005.11401. https://arxiv.org/abs/2005.11401
  • Model Context Protocol. Specification, revision 2026-07-28, overview and security and trust and safety. https://modelcontextprotocol.io/specification/2026-07-28
  • National Institute for Health and Care Excellence. AI methods for evidence framework (ECD20). Published 9 November 2026. Chapters Introduction to AI in NICE decision making, Principles for using AI in evidence activities, AI methods for evidence synthesis, AI methods for health economic evaluation, and Appendix A glossary. https://www.nice.org.uk/corporate/ecd20
  • OWASP Gen AI Security Project. LLM06:2025 Excessive Agency. OWASP Top 10 for LLM Applications 2025. https://genai.owasp.org/llmrisk/llm062025-excessive-agency/
  • Schick T, Dwivedi-Yu J, Dessì R, Raileanu R, Lomeli M, Zettlemoyer L, Cancedda N, Scialom T. Toolformer: language models can teach themselves to use tools. arXiv:2302.04761. 2023. https://arxiv.org/abs/2302.04761

Frequently Asked Questions (6)

  • What is connector in AI?

    A connector is a controlled link that lets an AI tool query an outside system, such as a literature database, without the model storing the data.

    Source: NICE ECD20 (2026)

  • How does NICE ECD20 treat an AI connector used to test literature search strategies for a systematic review?

    NICE ECD20 (2026) describes experiments in which a large language model drafts search terms, tries them against databases such as PubMed through connectors and adjusts the strategy from the results, and NICE is testing such uses in house. The framework accepts AI that proposes and tests candidate terms and Boolean strings, provided an expert searcher checks the terms, the query syntax and the choice of databases before the final search is signed off and run. AI may not be the only means of generating terms and running a search. The framework also reports that fully automatic AI searches vary widely in their true positive and true negative rates, which fell to between 0% and 10% in some studies.

    Source: NICE ECD20 (2026)

  • Can an AI connector feed parameter values straight into a health economic model under NICE ECD20?

    For health economic evaluation, NICE ECD20 (2026) limits AI to a supporting role under close human oversight and rules out semi-automation and full automation. One example it gives is AI that helps plan parameter estimates while a person decides whether any suggestion enters the model. On that position an AI connector may fetch a candidate unit cost or price for an analyst to check against its source. A link that writes values directly into the model would go beyond support, and the analysis should report how AI was confined to that supporting role.

    Source: NICE ECD20 (2026)

  • How does an AI connector differ from retrieval-augmented generation and fine-tuning?

    Each route keeps the information in a different place at the moment a model answers. An AI connector reads an outside system, such as a bibliographic database or a unit cost table, at the time of each request, so a correction in the source reaches the next answer with no change to the model. Retrieval-augmented generation, introduced by Lewis and colleagues in 2020, searches an indexed collection of documents before the model generates its answer, and the collection has to be re-indexed to stay current. Fine-tuning instead adjusts the model's weights through further training. In practice the boundaries overlap, since a retrieval system may fetch its collection through a connector.

    Source: Lewis et al. 2020

  • What can go wrong when a language model calls biomedical databases through an AI connector?

    Jin and colleagues prompted a code model to call the NCBI Web APIs for genomics questions in their GeneGPT study. It reached an average score of 0.83 on eight GeneTuring benchmark tasks, against 0.44 for the retrieval-augmented new Bing and 0.12 for ChatGPT. Its error analysis found failures from calling the wrong interface or none, passing wrong arguments to the right interface, missing the answer in a correct reply, and making a correct call to a database that did not hold the answer. For evidence work, each reply returned through a connector therefore still needs checking by an analyst.

    Source: Jin et al. 2024

  • What access controls should apply to an AI connector that reads pricing or patient data for a health technology assessment?

    The OWASP Gen AI Security Project traces damaging actions to extensions that hold more functions or permissions than the task needs, or that take high-impact steps without independent approval. In its example, an extension meant only to read data connects with an identity also allowed to update, insert and delete records. Its prevention steps include giving the model the fewest extensions and permissions it needs and requiring a person to approve high-impact actions, and it adds activity logging as a way to limit damage. In HTA work this points to read-only connectors scoped to the required tables, with every call logged and data governance rules deciding whether confidential prices or patient data may be sent at all.

    Source: OWASP Gen AI Security Project 2025

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 10 Nov 2026

Content version: 1.0.0

Canonical Identity

Term code
HS-HP-DH-075

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/connector-ai