AI Assistant Marketplace Architecture and Integration Practices

    This article examines the technical architecture of AI assistant marketplaces and how third-party apps, plugins, connectors, and skills can be integrated into assistant environments. It traces the shift from in-chat previews to full in-assistant apps, explains the role of open protocols such as Model Context Protocol, and covers manifest design, lifecycle management, bidirectional communication, security governance, and practical steps for enterprises and developers.

    1. Introduction: AI Assistants as the New Application Entry Point

    Over the past two years, competition among large-model chat products has centered on model capabilities themselves: whether reasoning is rigorous, whether generated code is correct, and whether long-form output remains coherent. As model capabilities mature, the focus is shifting to a more business-oriented question: can the assistant complete tasks directly for the user?

    Under traditional workflows, when a user asks an assistant to “prepare materials for this week’s customer visit,” the assistant can only return textual suggestions. The user must then open a CRM system to retrieve customer information, open a document tool to write meeting notes, and switch back and forth between multiple applications. The model “understands” the request, but it cannot reach the business systems. The user “can use” the assistant, but must act as the “human glue” between disconnected systems.

    One approach in the industry is to build AI assistants into a marketplace similar to a mobile app store. On one side, plugins inject external system capabilities and domain knowledge into the model. On the other side, connectors bring third-party applications into the assistant interface, allowing applications to open, operate, and edit directly inside the assistant. By 2026, a marketplace built around plugins and connectors by a major AI assistant platform had accumulated thousands to tens of thousands of third-party connectors and plugins.

    This article does not focus on any specific product. Instead, from an architectural perspective, it answers three questions:

    1. What technical modules make up this kind of AI assistant marketplace?
    2. What engineering challenges must be solved to let third-party applications “live inside” an AI assistant?
    3. How should enterprises and developers integrate with such marketplaces securely and controllably, or build their own?

    2. Evolution: From In-Chat Mini Previews to Full Operation Inside Apps

    To understand the technical value of an assistant marketplace, it helps to first examine how interaction patterns have evolved.

    Stage 1: In-chat mini previews. The typical early form of a connector was a “card plus preview.” When the model recognized that the user needed to query an order or check a schedule, it would invoke a connector, return structured data, and embed the result into the conversation as a small card. Users could see summaries and key fields, but could not perform deeper operations inside the card. This was essentially “bringing external data into the conversation,” while the application itself remained outside the assistant.

    Stage 2: Interactive connectors. Around 2026, major assistant platforms began upgrading connectors into “interactive connectors.” Third-party applications could now fully open inside the assistant interface and support full-screen operation. The connector form evolved from an in-chat preview into a complete application runtime. Users could open applications inside Claude, edit content without constantly switching between software, and the assistant could also take action on the content displayed in the window.

    This leap may appear to be only an interface change, but it raises engineering requirements significantly:

    • Applications are no longer one-time data responses; they are persistent interface objects with a lifecycle.
    • Applications must communicate bidirectionally with the host: receiving model intent while also sending user actions back to the model.
    • Applications require independent identity, permissions, and runtime environments. The security boundary shifts from “one invocation” to “a continuous session.”

    3. Platform Positioning and Overall Architecture

    From a positioning perspective, an AI assistant marketplace acts as a bridge between model capabilities and business capabilities. It usually contains four core object types:

    Object Role Typical Forms
    Plugin Packages external capabilities as tools callable by the model, often with prompts and domain knowledge Tool definitions, instruction templates, knowledge retrieval
    Connector Provides a data and operation channel to external systems and supports in-app operation API adaptation layer, application entry, authentication configuration
    Skill Combines multiple tools and workflows for a specific business task Sales preparation, financial analysis, HR scenarios
    App A complete third-party interface that runs inside the assistant interface Embedded pages, full-screen apps, table and dashboard components

    A practical assistant marketplace can usually be divided into six layers:

    1. Marketplace portal layer: Handles listing, search, categorization, ratings, and version management, while also managing developer onboarding and review.
    2. Protocol and manifest layer: Defines the description specifications for connectors and plugins, including capability declarations, parameter schemas, permission scopes, and entry configurations.
    3. Runtime host layer: Provides embedded containers, rendering engines, and bidirectional message channels for applications, managing the full lifecycle from loading to destruction.
    4. Capability orchestration layer: Handles tool registration, invocation routing, skill assembly, and multi-tool coordination, translating business intent into concrete actions.
    5. Security and governance layer: Covers identity authentication, fine-grained authorization, sandbox isolation, content auditing, and rate limiting.
    6. Operations and observability layer: Provides invocation metering, quality and stability monitoring, alerting, and troubleshooting capabilities.

    4. Core Technology 1: In-App Operation Based on Open Protocols

    Full operation inside an assistant is the most critical capability of the marketplace. Behind it is usually an open Model Context Protocol together with application-layer extensions. This type of protocol aims to solve a common problem: every time an AI application is integrated, separate interface adaptations must be built for each external system, creating substantial repetitive work. With a standardized protocol, partner applications can run in any AI application that supports the protocol, similar to “build once, run in many places.”

    From a protocol perspective, the assistant and the application mainly exchange four types of messages:

    • Tool calls: The model initiates a structured invocation, and the application returns the execution result.
    • Resource reads: The model reads data exposed by the application, such as documents, records, or reports.
    • Interface extensions: The application registers its own UI components or full-screen views with the conversation interface.
    • Bidirectional communication: The host and application exchange messages to synchronize context and user actions.

    A complete in-app operation usually follows this flow:

    1. User request (e.g., "Summarize this quarter's sales performance")
    2. → Model parses intent and selects a connector and application
    3. → Host loads the application in the assistant interface, completing handshake and authentication
    4. → Application renders the interface and displays data (tables, charts, dashboards)
    5. → User filters, edits, or annotates inside the application
    6. → Application sends operation results back through the message channel
    7. → Model continues reasoning, generates conclusions, or performs the next step

    Several implementation points deserve attention:

    • The application manifest is the contract: An application must declare its capabilities, entry points, and permissions in advance so the host can perform discovery and routing.
    • Context must be synchronized bidirectionally: A one-way push from the model to the application is not enough. User actions inside the application must be perceivable by the model, so the assistant can truly “act on the content in the window.”
    • Rendering should be tiered: Not every scenario requires a full-screen application. Lightweight cards are suitable for summaries, while complex interfaces are better suited to full applications. Presentation should be tiered according to task complexity.

    An application manifest can be abstracted into a structure like the following. The fields are illustrative only and do not correspond to any specific product specification:

    1. # App/connector manifest (example)
    2. name: crm-workspace # unique identifier
    3. version: 2.1.0
    4. entry:
    5. type: app # runtime form: app (full app) / card (card preview)
    6. render: embedded # rendering mode: embedded / fullscreen
    7. permissions: # least-privilege declarations
    8. - data:read:customer
    9. - data:write:visit_note
    10. tools: # tools exposed to the model
    11. - name: search_customer
    12. description: Look up a customer profile by customer name or ID
    13. input_schema:
    14. type: object
    15. properties:
    16. keyword: { type: string }
    17. required: [keyword]
    18. - name: create_visit_plan
    19. description: Create a customer visit plan
    20. input_schema:
    21. type: object
    22. properties:
    23. customer_id: { type: string }
    24. visit_time: { type: string }
    25. required: [customer_id, visit_time]
    26. skills: # task-oriented skill combinations
    27. - sales_preparation

    When the model determines that the user needs to “view and edit a customer visit plan,” the host loads the full-screen view of that application. The model calls search_customer to locate the customer, and the user then modifies the visit time inside the view. The application sends the change back through the bidirectional message channel. After reading the latest state, the model can continue by generating a reminder or synchronizing the schedule.

    5. Core Technology 2: Organizing Connectors, Plugins, and Skills

    1. Connectors: The Adaptation Layer for Capability Access

    The responsibility of a connector is to adapt the protocols, authentication, and data structures of external systems into a standard form that the assistant can understand. Using order lookup as an example, the key actions include:

    • Mapping the model’s natural-language intent into structured parameters.
    • Handling authentication token acquisition, refresh, and retry after expiration.
    • Trimming and semantically structuring returned results to prevent irrelevant information from interfering with the model.
    • Introducing secondary confirmation for write operations to prevent accidental changes.

    2. Plugins: Capability Packs for Tasks

    If connectors solve “can connect,” plugins solve “can be used well.” A complete plugin usually contains three parts:

    • Tool definitions: Functions that the model can call, along with their parameter schemas.
    • Instructions and knowledge: Domain terminology, business rules, operational guidelines, and other context.
    • Skill templates: Workflow orchestration for high-frequency tasks, such as “sales preparation,” “financial analysis,” or “HR management.”

    Plugins launched by some enterprise software vendors around this marketplace generally follow this approach. For example, a plugin from a CRM vendor includes a sales preparation skill that can automatically aggregate customer background, historical interactions, and pending tasks. A plugin from an ERP-type vendor includes a financial analysis skill that can quickly retrieve accounts receivable, accounts payable, and profit data. A plugin from an HR management vendor is oriented toward scenarios such as recruiting, attendance, and performance management. These plugins are often still in testing, indicating that skill packaging is still iterating quickly.

    3. Skills: From Tools to Business Methods

    Tools solve “whether something can be done.” Skills solve “how to do it professionally.” A well-designed skill should include:

    1. Goal definition: Clarifying task boundaries and success criteria.
    2. Step orchestration: Breaking the task into an executable sequence of tool calls.
    3. Quality validation: Checking outputs for completeness, compliance, and consistency.
    4. Exception fallback: Providing an explainable handling path when data is missing or a call fails.

    6. Security and Governance: The Baseline for an Open Ecosystem

    In-app operation brings stronger productivity, but it also creates a larger attack surface. Applications run in user-visible, user-interactive interfaces. Once permissions are mismanaged, risk can escalate from “data leakage” to “incorrect operations on business systems.” Governance should cover the following dimensions:

    • Least privilege: Authorize according to each application’s declaration. Do not grant full access by default. Write operations require explicit authorization.
    • Sandbox isolation: Run applications in independent containers or isolated contexts, limiting access to host internal state and sensitive credentials.
    • Trusted source: Perform code audits, permission reviews, and security scans for listed applications, and clearly label official versus third-party sources.
    • Auditable behavior: Record tool calls, data access, and operation changes to support traceability and alerting.
    • User awareness: Before an application loads for the first time or performs a write operation, clearly inform users about the data scope it will access.
    • Revocation: Support one-click disconnection of connectors and revocation of tokens, ensuring users can withdraw authorization at any time.

    7. Implementation Advice: How Enterprises Should Plan a Marketplace

    For enterprises building or integrating with this type of assistant marketplace, a three-step approach is recommended:

    1. Identify high-frequency tasks: Prioritize scenarios that are highly repetitive and span multiple systems, such as customer visit preparation, monthly business analysis, and employee onboarding.
    2. Design a standard integration specification: Unify manifest formats, authentication methods, logging fields, and versioning strategies to avoid building a new wheel every time another system is integrated.
    3. Roll out in phases: First validate skill effectiveness and security policies in a test environment, then expand usage department by department.

    For technology selection, enterprises can use general-purpose cloud products to build the marketplace foundation. For example, Baidu AI Cloud provides general-purpose cloud services that can be used for this purpose: container platforms to host the application runtime and sandbox environments, object storage to host application static resources and manifest packages, message queues to decouple bidirectional events between the host and applications, and logging, monitoring, and alerting services to ensure observability. This approach allows enterprises to reuse mature cloud capabilities while centralizing security policy management on the platform side.

    8. Conclusion

    The essence of an AI assistant marketplace is to upgrade “conversation” into a “workbench.” From in-chat mini previews to full in-app operation, and then to systematic packaging of plugins and skills, the technical throughline remains consistent: use open protocols to unify integration standards, use least privilege to preserve security boundaries, and use skill orchestration to stay close to real business needs.

    For developers, mastering manifest design, bidirectional communication, and sandbox isolation is the foundation for entering this ecosystem. For enterprises, standardizing high-frequency tasks and moving governance earlier are the keys to moving from “can connect” to “can be used well.”