AI Assistant Plugin and Connector Architecture: From Open Protocols to Full-App Integration
A technical guide to how AI assistants move beyond conversation by integrating open plugins and connectors. It explains the two-layer Plugin + Connector model, clarifies core concepts like marketplaces, connectors, and skills, and walks through a decoupled four-layer architecture built around an open, language-agnostic Model Context-style protocol. The article covers the key shift from in-chat previews to full-app runtimes, illustrates a standardized capability declaration with example JSONC, lists common use cases, and details the security, permission, and governance requirements an open ecosystem demands. Developers will find a practical best-practices checklist for building safer, more scalable, cross-client assistant integrations.
1. Why AI Assistants Need an Open Plugin and Connector Ecosystem
A general-purpose large model may be excellent at conversation, but an assistant that can actually run in production usually has to cross the boundary of “dialogue” itself. It needs to call real business systems, read live data, and complete complex operations inside dedicated interfaces. If every cross-system collaboration forces users to switch between apps and copy and paste, the assistant’s real value gets diluted by the sheer cost of interaction.
For this reason, the industry commonly builds assistant ecosystems on a two-layer extension model of “Plugin + Connector”:
- Connector: Connects external systems and exposes data sources and operational capabilities to the assistant in a standardized way. This solves the question of can it be accessed at all.
- Plugin: Wraps task-oriented skills and workflows on top of the connector. This solves the question of whether it knows how to use those capabilities, and how well.
Separating the two layers allows capability supply (system integration) and capability orchestration (task skills) to evolve independently. That separation is the prerequisite for a scalable ecosystem.
2. Clarifying and Layering the Core Concepts
Before going deeper into the architecture, it helps to disambiguate a few concepts that are easy to confuse:
- Marketplace / App Center: A unified entry point for discovery, installation, authorization, and management. Users can search for the connectors and plugins they need and manage permissions centrally.
- Connector: At its core, a set of standardized capability declarations — the data that can be read, the operations that can be invoked, and the conditions that trigger them. Because it follows an open protocol, it is effectively “plug and play” for the assistant.
- Interactive connector: A connector that does more than return text; it can render a rich interactive interface. Early implementations were small preview cards inside the conversation flow. These later evolved into application windows that can open fully in the assistant’s main interface, and even run fullscreen.
- Skill: A domain-specific task capability built into a plugin — for example, organizing customer information before a sale, performing multi-dimensional analysis of financial data, or consolidating and reconciling HR information. A skill orchestrates multiple low-level calls into a single, reusable business action.
3. Overall Technical Architecture: A Decoupled Four-Layer Model
A mature open integration platform can usually be abstracted into four layers:
┌─────────────────────────────────────────────┐│ 4. Interaction layer: app window / ││ inline preview / fullscreen rendering │├─────────────────────────────────────────────┤│ 3. Orchestration layer: plugin skills / ││ task workflows / context injection │├─────────────────────────────────────────────┤│ 2. Protocol layer: open model context ││ protocol (standardized capability decl.) │├─────────────────────────────────────────────┤│ 1. Connection layer: connector adapters / ││ auth / data mapping │└─────────────────────────────────────────────┘
- The connection layer hides the differences between business systems and normalizes heterogeneous interfaces into a unified capability description.
- The protocol layer is the hub of the entire ecosystem. It defines an open, language-agnostic capability declaration specification, so a partner’s application does not have to be adapted separately for every AI assistant. As long as it supports the protocol, it can be discovered and invoked by any compatible AI client. This is the technical foundation of “integrate once, run anywhere.”
- The orchestration layer combines the atomic capabilities exposed by the protocol into task-oriented skills, and is responsible for injecting context and managing multi-turn state.
- The interaction layer determines how capabilities are presented to the user, and is the key to moving from “conversation preview” to “full application.”
4. A Key Evolution: From In-Conversation Preview to Full-App Runtime
The most significant leap in the original ecosystem was the upgrade of how connectors interact with users:
- Early form: A connector mainly returned a small preview within the conversation flow — a card, a summary snippet — where users could see a result but could not operate deeply within it.
- Upgraded form: A third-party application can open as a full application inside the assistant interface, and even run fullscreen. The assistant can directly “see” the content displayed in the window and take follow-up action accordingly.
The significance of this evolution is a shift in interaction paradigm — from “the assistant tells you the result” to “the assistant collaborates with you inside the same working interface.” Technically, it requires:
- A frontend/backend rendering protocol: The assistant must be able to embed an application interface into its own window and establish a bidirectional communication channel with it.
- Content perceptibility: The assistant must be able to read the visible content and state in the current application window in order to “act on what is displayed.”
- Permission boundary isolation: The embedded application runs in a controlled sandbox or separate context to prevent unauthorized access to the assistant’s other data.
5. An Integration Mechanism Based on the Open Protocol (Illustrative)
The following pseudocode illustrates how an application compatible with an open protocol might declare its own capabilities. Note that this shows a general design pattern, not the real interface of any specific product:
// A connector/app capability declaration (illustrative){"name": "finance-analyzer","version": "1.0.0","capabilities": {"resources": ["revenue_data", "expense_data"], // data that can be read"tools": ["summarize_financials", "compare_periods"] // operations that can be called},"ui": {"render_mode": "embedded", // embedded: inline preview / fullscreen: full app"entrypoint": "app://finance-analyzer/index"},"auth": { "type": "oauth", "scopes": ["read:finance"] }}
After the assistant loads a declaration like this, it goes through the following flow:
- Discovery: Read the declaration from the app center and display the name, permission scopes, and interface mode.
- Authorization: Guide the user through a standard authorization flow, granting only the minimum necessary permissions.
- Registration: Bring the resources and tools into a unified invocation routing layer.
- Rendering and collaboration: Based on
render_mode, decide the presentation form and establish a bidirectional channel so the assistant can read the interface content and trigger tool calls.
6. Typical Use Cases
In office and business scenarios, the value of plugin skills is especially prominent:
- Sales preparation: Automatically aggregate customer background, interaction history, and deal stage to generate a pre-visit preparation checklist.
- Financial analysis: Compare data across multiple periods and produce structured business insights.
- HR management: Organize personnel information, reconcile process checkpoints, and generate summary reports.
- General office work: Capabilities such as online spreadsheets, whiteboards, and data dashboards can be opened and edited directly inside the assistant as fullscreen apps, reducing the need to switch between tools.
These capabilities share a common trait: the underlying calls are complex, but to the user the experience should feel like “trigger it with one sentence, finish it in one interface.”
7. Security, Permissions, and Governance
The price of openness is that security boundaries must be clear. At a minimum, a design should consider:
- Least privilege: Each connector requests only the permissions needed to complete its task, following data minimization principles.
- Authorization transparency: Users should clearly see which data an app will read and which operations it will perform, and should be able to revoke access at any time.
- Sandbox isolation: Embedded apps run in a controlled environment that limits their access to the assistant’s other contexts.
- Audit and observability: Calls should be logged and monitored with alerting, making it easier to trace anomalous behavior.
- Content trustworthiness: The ability to “read the interface content and then act” must guard against risks such as prompt injection, and treat external content with caution.
8. Infrastructure Supporting the Ecosystem
When building such a platform, the underlying infrastructure matters just as much. As a general reference, common cloud capabilities are typically combined like this:
- Object storage: Hosts the app’s static assets and interface artifacts.
- Container platform: Runs connector adapter services and embedded apps, providing elastic scaling and isolation.
- Message queue: Decouples asynchronous calls between the assistant and external systems.
- Logging, monitoring, and alerting: Support call auditing and runtime observability.
For teams operating in China, general-purpose cloud product categories offered by providers such as Baidu AI Cloud — including object storage, containers, message queues, and logging and monitoring — can serve as candidate infrastructure for hosting this kind of open integration platform, helping teams focus their effort on protocol design and skill orchestration itself.
9. Development Best Practices Checklist
- Declare first, implement later: Describe the connector with a standardized capability declaration, then implement its tools and interfaces.
- Distinguish preview from fullscreen: Provide an inline preview for lightweight queries and a full application for deep operations.
- Idempotent and retryable: Design external calls to be idempotent, and pair them with timeout and retry strategies to improve robustness.
- Design for skill orchestration: Wrap atomic calls into high-level skills to reduce the assistant’s planning complexity.
- Consistent user experience: Keep naming, permission prompts, and interaction feedback consistent across connectors.
10. Conclusion
The key to moving an AI assistant from “able to talk” to “able to do” lies in an open, standardized, and governable ecosystem of plugins and connectors. Through a layered, decoupled architecture, an open model context protocol, and an interaction evolution from in-conversation preview to full-app runtime, the assistant is able to collaborate with people inside real business interfaces. For developers, mastering this design paradigm means being able to build integration solutions that are safer, more extensible, and consistent across clients — allowing capability supply and task orchestration to each evolve in a healthy, independent way.
