翻篇收录说明
翻篇网页快照

What is extensibility? Meaning, examples, and extensible AI

https://telnyx.com/learn-ai/extensibility-in-ai

最近抓取:2026-12-05 02:36:26(北京时间)

最近内容变化:2026-12-02 14:04:03(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Extensibility means adding capabilities without rebuilding the core. What it means in software, and how AI models and agents are extended with tools and MCP.

正文摘录

Back to GlossaryWhat is extensibility? Meaning, examples, and extensible AIExtensibility means adding capabilities without rebuilding the core. What it means in software, and how AI models and agents are extended with tools and MCP.Editor: Andy MunsUpdated October 2026Extensibility is the ability of a system to take on new capabilities without being rebuilt. In software, new features attach without changes to the core. In AI, extensibility means adding tasks, knowledge or actions to a model or an AI agent, by adapting its weights or by connecting documents and tools, without retraining it from scratch.What is extensibility?An extensible system exposes extension points, such as plugin interfaces, APIs, hooks and event callbacks, where new behavior can attach without editing the code that already works.D. L. Parnas argued in 1979 for designing software "for ease of extension and contraction", so a program can gain or drop features without a rewrite.Extensions attach through a published interface, such as a plugin API. A stable interface keeps them compatible: an extension written today keeps working after the core is updated.In anatomy, extensibility means a muscle's ability to stretch. That sense is unrelated to software and AI.How does extensibility work in AI?Extensibility in AI works in two places: inside the model, by changing its weights, and around the model, by changing what it can read and what it can do while it runs.Changing the weights, through fine-tuning, adapters or further training, changes how the model behaves on its own and takes data and compute.Code Llama was built this way. Its authors started from Llama 2, a general language model, and trained it further on 500 billion to 1 trillion tokens, mostly code.Changing what surrounds the model leaves the weights alone: retrieved documents and instructions change what it sees, and tools change what it can do, from the next request onward.Each kind of capability has a natural home, shown here for a support assistant at an online store:Tone, format and abilities the model needs on every request, such as the store's house style for replies, belong in the weights.Reference facts, such as the returns policy and product manuals, belong in retrieval, where they can be updated and traced to a source.Actions and live lookups, such as checking a customer's order status or issuing a refund, belong in tools.Tools that several applications share, such as a ticketing system used by the support assistant and an internal IT assistant, belong on an MCP server. So do tools another team maintains.Lewis and colleagues updated their retrieval model's knowledge by swapping its document index. They asked it about 82 world leaders who changed between 2016 and 2018.With the 2016 index, it answered 70% of questions about 2016 leaders correctly. After a swap to the 2018 index, it answered 68% about 2018 leaders correctly. With the wrong year's index, it scored 12% or lower.A model that stores knowledge only in its weights needs further training to change what it knows.Extending AI models: fine-tuning, adapters, and transfer learningAn AI model is extended by adapting what it already learned, instead of training a new model for every task.Transfer learning reuses what a model learned on one task for another. Yosinski and colleagues found that features learned on one image dataset carry over to others.Fine-tuning continues training a pretrained model on a smaller dataset for the new task. It costs far less than training from scratch, because the model starts with general features it already has.Full fine-tuning still produces a complete new copy of the model for each task. Adapters avoid that: a small trainable module per task, with the pretrained model frozen.Houlsby and colleagues describe the result as "a compact and extensible model", where new tasks are added without revisiting old ones.On the GLUE language benchmark, those adapters came within 0.4% of full fine-tuning while adding 3.6% of the parameters per task.LoRA freezes the weights and trains small low-rank matrices inside each layer. Against full fine-tuning of GPT-3 175B, its authors report 10,000 times fewer trainable parameters, a third of the GPU memory, and no added delay at inference.Adapters and LoRA need access to the model's weights. On a hosted model, the open routes are the provider's own fine-tuning service, where one exists, or extensions around the model.Multi-task learning is the up-front alternative to adding tasks later: one model trains on several related tasks at once, with shared layers.Caruana showed in 1997 that what one task teaches the shared layers can improve generalization on the others.Training a model on a new task can overwrite what the model learned for old ones, a failure called catastrophic forgetting. Kirkpatrick and colleagues reduced it by slowing learning on the weights most important to earlier tasks.Extending AI agents: tools, retrieval, and MCPAn AI agent is extended by giving its language model new things to call or read: tools for actions, retrieval for knowledge, and standard connectors such as the Model Context Protocol (MCP).Tools and function callingWith function calling, a developer describes a tool to the model by name, purpose and parameters.The model never runs the tool itself: it returns a structured request, a tool name plus arguments, and the application executes it. The result goes back to the model.Current models can call a new tool without retraining; calling it correctly is a separate question. Telnyx Inference documents tool support on every model in its API.ReAct prompted a model to interleave reasoning with tool calls, with only one or two examples on its two decision-making benchmarks.Toolformer and Gorilla studied training tool use into a model. The Gorilla authors fine-tuned a model just for writing API calls, because general models often produced wrong arguments or used an API the wrong way.RetrievalRetrieval extends what an agent knows without retraining it. In retrieval-augmented generation, the system searches an index at question time and the model writes its answer from the passages it finds.Retrieval fails when the index goes stale, when the search returns the wrong passage, or when a passage carries planted instructions the model will read. Write access to the index needs the same care as write access to code.Skills and pluginsSkills and plugins package instructions, examples and tools for one job, and load only when a task needs them.Telnyx's agent skills for AI coding assistants teach an assistant to use each Telnyx SDK.Skills are text the model follows, so they can carry planted instructions. Telnyx's prompt injection scanner flags risky instructions in agent instruction files such as AGENTS.md before an agent relies on them.The Model Context Protocol (MCP)The Model Context Protocol is an open standard for connecting AI applications to external systems, which Anthropic open-sourced in November 2024.An MCP server offers tools, data and prompt templates over JSON-RPC 2.0, so any MCP-capable application can connect to it without custom integration code.The specification credits the Language Server Protocol, which did the same for code editors.To the model, an MCP tool is an ordinary function: the MCP client asks the server for its tool list and passes those definitions to the model.The choice between a built-in tool and an MCP server turns on who maintains the tool, how many applications share it, and whether the team controls the server.Examples of extensibilityA support assistant that files a ticket mid-call is an example of extensibility in AI. Telnyx voice AI agents connect to Salesforce, Zendesk, ServiceNow and similar systems through built-in integrations.A coding assistant connected to the Telnyx Local MCP Server can buy phone numbers and set them up for an AI assistant from a chat prompt.Outside AI, a browser extension is the everyday example: an ad blocker or a password manager adds a feature through the browser's extension interface without changing the browser.Benefits and risks of extensible AIExtensible AI gains speed and reuse, since a new tool or retrieval source works from the next request, at the cost of a larger attack surface and more ways to fail.Fine-tuning carries two risks. A model trained on a new task can lose an old one, and the training data stays in the weights.Carlini and colleagues extracted hundreds of verbatim training sequences from GPT-2, including names, phone numbers and email addresses.Their attack recovered pretraining data; the same risk applies in principle to customer records used for fine-tuning.Retrieval and tools open the door to indirect prompt injection: instructions planted in data the model reads. LLM-integrated applications "blur the line between data and instructions", as Greshake and colleagues put it.They showed that planted text can steer the model and "control how and if other APIs are called". Anything a tool or a search returns is untrusted input.Third-party MCP servers and skills add the same risk one step earlier: the model reads their tool descriptions and instructions as text.The MCP specification tells clients to treat descriptions of tool behavior as untrusted unless the server is trusted.A server earns that trust when the team runs it or has vetted who does, when it authenticates its clients, and when its tool definitions are reviewed again after every change.Servers that declare the capability send a notification when their tool list changes, which gives that review a trigger.Tools also turn wrong answers into wrong actions: a tool that can delete records will delete the wrong one if the model asks.The MCP specification says there "SHOULD always be a human in the loop with the ability to deny tool invocations."Two more controls follow from the same logic: make tools read-only unless they must write, and log every call with its arguments.In AI guardrails, checks on a tool's inputs c