LLM App Marketplaces: Connector Ecosystems and the Evolution of Plugin Architecture
Large language model assistants are evolving from tools that answer questions into work surfaces that complete tasks. This article analyzes the shared technical problems behind AI assistant marketplaces that connect third-party apps through connectors and plugins. It presents a five-layer reference architecture, traces how connectors evolved from in-conversation previews into fully interactive applications, explains how open context-interoperability protocols decouple the host from integrated apps, and shows how plugins package business workflows into reusable skills. It then discusses how native and ecosystem capabilities complement each other, followed by security governance practices, developer integration guidance, common challenges, and the infrastructure required to run these platforms. The goal is to give developers and architects a systematic, product-neutral view of how these ecosystems are built.
1. Introduction: The LLM Assistant Is Becoming a Workspace
Large language model assistants are gradually shifting from chat tools that “answer questions” into work entry points that “complete tasks.” On the model alone, it is hard for users to schedule meetings, collaboratively edit documents, or analyze business data without leaving the conversation interface. To address this, many AI assistant vendors have built app marketplaces: they connect third-party applications into the conversation through connectors and plugins, forming a distributable application ecosystem. Recently, mainstream LLM assistants have upgraded their connector and plugin systems in quick succession while expanding their native office capabilities. These practices are worth studying systematically.
This article does not evaluate any specific product. Instead, it abstracts the common technical problems behind this class of platform:
- How third-party apps connect to an AI assistant with low coupling;
- How the assistant can “understand and operate” content inside an application interface;
- How plugins turn business processes into reusable skills;
- How to hold the line on security and compliance in an open ecosystem.
The sections below address these in turn.
2. Overall Architecture: A Five-Layer Model
From a technical perspective, a connector and plugin integration platform can be abstracted into five logical layers:
| Layer | Main responsibility | Key design points |
|---|---|---|
| Access layer | Marketplace display; registration and discovery of connectors and plugins | Unified metadata, versioning, review and admission |
| Protocol layer | Defines the communication spec between the assistant and external systems / app interfaces | Standardized description, resource reading, action execution |
| Runtime layer | Hosts and renders third-party apps inside the host interface | Security sandbox, message bridge between host and app |
| Orchestration layer | The model selects tools or skills based on context and plans task steps | Tool routing, context compression, human-in-the-loop confirmation |
| Governance layer | Authentication, access control, auditing and observability | Least privilege, tenant isolation, end-to-end logging |
These five layers are decoupled from one another, and they form the basis for understanding every design decision that follows.
3. Connector Evolution: From In-Conversation Previews to Full Applications
3.1 Three Stages of Evolution
The typical early connector interaction returned structured information inside the conversation stream—for example, a schedule summary, a file list, or a data card. Users saw a “preview,” and if they needed to edit or act further, they still had to jump to the native app. With the arrival of interactive connectors, third-party apps can now open fully in a host-side sidebar, and in some scenarios run in fullscreen.
| Dimension | Early preview form | Interactive connector |
|---|---|---|
| Interaction | Information cards in the conversation stream | Full app interface hosted in a sidebar or fullscreen |
| Capability | Mostly read-only or lightweight actions | Editable content and action execution |
| Context relationship | Assistant and card are relatively independent | App window content is tightly linked to model actions |
| Typical use case | Viewing schedules, file lists | Schedule planning, document collaboration, data analysis |
3.2 The Nature of the Shift
This change is not simply about enlarging the display area; it is a shift in the interaction model. The app goes from being a “provider of information” to being a “work object that the assistant can observe and operate.” Users can open an app and edit content inside the assistant, without switching frequently between multiple pieces of software. For developers, this means an app must not only render its interface well but also expose its own state in a structure the model can understand. For the assistant, the model’s output extends from text commands to actual operations on the interface, and the system must answer a fundamental question: exactly what can the model do, and to what content on the screen?
3.3 Four Key Points When Implementing
- Make capability boundaries explicit: Describe the tools, scopes, and resource types an app supports through declarative configuration, validated centrally by the host.
- State synchronization: Edits a user makes in the app window must be reflected to the model in real time, so the model does not make decisions based on stale content.
- Least privilege: Each connector requests only the minimum set of permissions needed to complete its own task.
- Progressive experience: When capabilities have not finished loading, show a preview or placeholder first to reduce perceived latency.
4. Core Mechanism: Open-Protocol-Driven Multi-Party Interoperability
4.1 Decoupling the “Host” from the “Hosted”
The key to interactive connectors is using an open context-interoperability protocol to decouple the AI host from the integrated application. A partner’s app only needs to implement the unified protocol, and it can then run inside any AI application that supports the protocol, without adapting separately to each host. This “build once, run in many places” model is similar to the abstraction between drivers and hardware in an operating system—essentially trading a standardized interface for ecosystem scalability. For developers, the bulk of the investment goes into business logic and the interface itself, rather than custom integration with each platform.
4.2 A Sample Capability Declaration
The protocol layer typically describes what an app “can do and what permissions it needs” through a capability declaration. The configuration below is illustrative only; the field names do not represent any specific platform’s interface definition:
{"displayName": "Schedule Collaboration","version": "1.4.0","tools": [{ "name": "list_events", "scope": "read" },{ "name": "create_event", "scope": "write" }],"resources": [{ "uri": "schedule://today", "mimeType": "application/json" }],"ui": {"entry": "schedule://panel","capabilities": ["side-panel", "fullscreen"]},"auth": {"type": "oauth2","scopes": ["calendar.read", "calendar.write"]}}
In the configuration, tools correspond to actions the model can invoke, resources correspond to readable data, ui declares how the interface is hosted, and auth describes authorization requirements. The host uses this to register capabilities, validate permissions, and load the interface.
4.3 The Interaction Model Between Host and App Interface
When hosting a full application interface, the host typically isolates third-party pages in a sandbox and communicates with the app through a controlled message channel. The core design is a “restricted capability bridge”: the model does not directly manipulate internal app objects but instead executes actions through the tool interfaces the app actively exposes.
// Illustrative pseudocode showing the messaging protocol design approach// Host side sends a message to the sandboxed app viewfunction sendToApp(appId, payload) {const panel = registry.get(appId);if (!isHostTrusted(panel) || !isSchemaValid(payload)) {throw new Error("Illegal message");}panel.postMessage({ source: "host", payload }, TARGET_ORIGIN);}// App view side listens for host messageswindow.addEventListener("message", (event) => {if (event.origin !== HOST_ORIGIN) return; // validate originif (event.source !== "host") return; // validate message senderconst { type, data } = event.data;if (type === "app.tool.result") {renderer.applyState(data); // sync tool execution result}if (type === "user.edit") {host.reportState(normalize(data)); // report user edits back to the assistant}});
This code reflects three general practices:
- Both sides validate the source and structure of every message;
- Model actions must be executed through whitelisted tools;
- User edits are returned as structured data, rather than relying on parsing screenshots of the interface.
The host provides the content displayed in the window to the model as context, so the assistant can act on what is visible. A common implementation approach is to combine page structure information with the accessibility tree to build interface semantics, then map them to a set of callable actions.
5. Plugins and Skills: Packaging Business Processes into Reusable Capabilities
The plugin layer solves the problem of “turning domain knowledge into skills the model can use.” Looking at the skill packs commonly built into platform plugins, three typical patterns emerge:
- Sales preparation: Automatically aggregates customer background, interaction history, and pending tasks into structured pre-visit materials.
- Financial analysis: Extracts metrics and anomalies from business data to produce explainable attribution analysis.
- Human resource management: Standardizes repetitive decision steps across recruiting, performance, and training workflows, assisting managers with daily decisions.
These skills share a common “data acquisition + business logic + result presentation” three-part structure. In implementation, they usually consist of three parts: prompt templates, tool calls, and an application interface. Taking sales preparation as an example, the execution chain can be described like this:
User: Help me prepare for tomorrow afternoon's client visit↓Orchestration layer: detect intent -> route to the "sales preparation" skill↓Skill layer: call the CRM tool to read the client profile, recent tickets, and past visit recordscall the scheduling tool to check for time conflictscall the document tool to retrieve relevant proposal materials↓App UI: open a prep panel in the sidebar, showing the client profile and a suggested agenda↓User: edit the agenda in the panel -> structured changes reported back to the assistant↓Assistant: generate the final visit plan based on the edited agenda, and write it to the calendar
From an engineering standpoint, the key to skill design is not “more” but rather the following:
- Composable: A single skill handles only one clearly defined task, and the orchestration layer chains them into a complete flow;
- Observable: Every tool call records its input, output, and duration for easy tracing;
- Interruptible: Critical actions (such as sending email or modifying a contract) retain a human confirmation step;
- Reusable: Skill descriptions are decoupled from any specific platform, making them easy to migrate between hosts.
6. Complementarity of Native and Ecosystem Capabilities
The value of ecosystem connectors lies in extending the boundary, but high-frequency, general office scenarios are better served by native capabilities the host provides itself. The fact that platforms roll out native office features such as structured tables, visual whiteboards, and data analysis while upgrading their connector systems reflects a division of labor: “the ecosystem covers the long tail, natives preserve the experience.”
From an implementation standpoint, native capabilities usually have three advantages:
- Context consistency: Data is stored directly on the host side, so the model can read and write without cross-system calls;
- Render controllability: The host owns the complete rendering pipeline and can guarantee the display of complex objects;
- Interaction determinism: Structured operations are easier to validate and roll back than free text.
Therefore, an architectural principle applies: prioritize native implementation for high-frequency features that strongly depend on model context, and bring in connectors for low-frequency features that require deep domain expertise. Only this way can you control integration costs while preserving the experience.
7. Security Governance: The Bottom Line for an Open Ecosystem
As the number of connectors grows, security risks scale accordingly. Based on general industry practice, focus on the following areas.
- Identity and authorization: Use a standard authorization flow, grant scopes under the least-privilege principle, and support revocation at any time.
- Sandbox isolation: Third-party app interfaces should run in an isolated context, with limited ability to access internal host state.
- Prompt injection defense: Content returned by an app may be maliciously constructed; the system must treat it as untrusted input and perform intent validation before the model executes highly sensitive actions.
- Data boundaries: Define clearly which data may leave the host and where it goes, and desensitize or process sensitive fields locally.
- Auditing and traceability: Fully record tool calls, permission usage, and interface operations to form an auditable evidence chain.
- Supply chain review: Apply version locking, source verification, and change review to third-party connectors to prevent tampered dependencies.
8. Integration and Onboarding Practices for Developers
If you are about to connect your own app to an AI assistant platform, you can follow a route like this:
- Step 1: Model your capabilities. First define which tools and resources the app should expose, then consider the interface form, avoiding “integrating just for the sake of integrating.”
- Step 2: Converge your interfaces. Wrap business logic into idempotent, retryable tool interfaces, and avoid letting the model operate databases or low-level services directly.
- Step 3: Adapt the interface. The app view needs to support both sidebar and fullscreen sizes, and proactively report state changes the model cannot see.
- Step 4: Tier your permissions. Distinguish read-only, write, and delete operations, and enforce a confirmation mechanism for destructive ones.
- Step 5: Build observability. Instrument every tool call, record success rate, latency, and user rollback behavior, and drive iteration with data.
If an enterprise has internal systems it wants to connect to an AI assistant, it can usually adopt a “gateway + adapter layer” model: the gateway handles unified authentication and traffic control, and the adapter layer converts internal interfaces into the platform protocol, so that business systems are not dragged in by protocol changes.
9. Common Challenges and Mitigations
- Protocol fragmentation: Hosts support the protocol to varying degrees, so consider abstracting an internal adapter interface to isolate platform differences.
- Context bloat: When an app returns a large amount of structured data, it easily crowds out the context window; apply summarization and pagination.
- State consistency: User edits in the interface and model writes may conflict; use optimistic locking or a version-number mechanism to resolve this.
- Experience gaps: Slow connector loading creates a disjointed perception for users; mitigate with preloading and skeleton screens.
- Governance cost: As the number of connectors grows, review pressure increases; establish an admission process that combines automated scanning with human review.
10. Extension: Combining with General Cloud Capabilities
Connector and plugin platforms place clear demands on infrastructure: an elastic container platform to host massive numbers of third-party apps, a message queue to smooth traffic peaks and support asynchronous tasks, object storage to hold structured output files, and a unified logging service with monitoring and alerting to support fault localization.
Baidu AI Cloud’s general cloud capabilities—such as its container platform, object storage, message queue, and logging and monitoring/alerting services—can support the deployment and operations needs of this kind of scenario. At the app onboarding layer, it is advisable to consolidate authentication and rate limiting through an API gateway; at the runtime layer, service mesh governance can help manage traffic and circuit-breaking policies for third-party apps.
11. Conclusion
From small in-conversation previews to applications that run fully inside the host, the evolution of the connector system marks a shift in LLM assistants from “generating content” to “carrying workflows.” Behind this shift is the maturity of three capabilities: cross-platform interoperability brought by open protocols, business process reuse brought by skill-based packaging, and security governance supported by sandbox and authorization mechanisms.
For developers, the opportunity lies in exposing existing business systems as model-callable capabilities in a standardized way. For enterprises, the focus is on establishing clear permission boundaries and an observability system, so that AI can genuinely participate in production workflows within a controlled scope.
