Agent Interfacization 2.0: From Construction Paradigm to Assembly Ecosystem
This article explains how agent interfacing builds on the triangle model for constructing agents and turns it into a way to assemble commercially usable agents. It covers four standard interfaces for large models, rules, knowledge, and industry scenarios, the standardized bus that connects them, the traits of independence, discoverability, replaceability, and composability, and a six-step engineering path with key governance points.
Whitepaper 2.0 builds on the triangle model introduced in version 1.0 and shifts the focus from “how to construct an agent” to “how to assemble and deliver commercially usable agents.” Version 1.0 defined three construction vertices: a general cognitive foundation, a humanistic interaction core, and a private knowledge domain. These explain where an agent’s capabilities come from. Version 2.0 goes further. It argues that the three vertices should not stay tightly coupled inside a monolithic application. Instead, they should be separated by stable interface boundaries and then connected, orchestrated, governed, and delivered through a standardized bus. The core judgment is that the future of agents depends not only on model parameter scale, but also on how standardized interfaces are and how efficiently capabilities can be assembled.
This judgment should be read carefully. Model parameters set the ceiling for capability. The delivery bottleneck for commercial agents, however, often lies not in any single capability but in integration cost, rule governance, knowledge updates, scenario adaptation, and multi-tenant operations. The value of interface standardization is that it breaks models, rules, knowledge, and industry scenarios into capability units that can be described, discovered, replaced, and composed. This moves agents from custom, project-based builds toward ecosystem-based assembly.
1. From the Triangle Model to Interface Boundaries: Why Interfacing Matters
The triangle model has three vertices. The general cognitive foundation provides language understanding, reasoning, and generation. The humanistic interaction core encapsulates interaction strategies such as industry compliance, conversation boundaries, and emotional responses. The private knowledge domain holds exclusive knowledge, such as product manuals and service processes.
If these three are hard-coded directly into business logic, delivery is fast in the short term. Over time, however, the system becomes tightly coupled. A model upgrade then affects the entire chain, rule changes require a new release, knowledge updates are hard to audit, and differences between industry scenarios can only be handled by stacking branch code.
Interfacing rests on the recognition that each vertex evolves at its own pace, and that contracts should govern how they interact. The four interfaces map to the model and the three vertices as follows:
- The large model interface corresponds to the general cognitive foundation. It calls model services and abstracts their capabilities into stable contracts.
- The rules interface corresponds to the humanistic interaction core. It encapsulates compliance, conversation, and emotional response logic.
- The knowledge interface corresponds to the private knowledge domain. It encapsulates retrieval, citation, permissions, and updates for exclusive knowledge.
- The industry interface connects to specific business scenarios. It determines the agent’s service direction and task boundaries.
These four interfaces are not simply stacked layers. They form an assembly relationship built around three roles: capability providers, capability consumers, and a scheduling bus.
2. Responsibility Boundaries of the Four Standard Interfaces
The large model interface does not expose every parameter of a specific model. Instead, it abstracts general capabilities such as generation, rewriting, classification, extraction, and reasoning. It also provides semantics for versioning, quotas, timeouts, degradation, and routing. Upper layers can call capabilities rather than vendor-specific services, so the underlying model service can be replaced while the contract stays stable.
The rules interface should exist independently of prompts. Compliance red lines, conversation boundaries, emotional response strategies, and sensitive-scenario interception should all be configurable, versioned, and auditable. The output of the rules interface should not be limited to allow or deny. It should also include matched rules, confidence, handling suggestions, and audit identifiers, so the bus can route requests onward or send them for manual review.
The knowledge interface must answer four questions: where knowledge comes from, who can use it, how it is cited, and when it expires. It should encapsulate knowledge chunking, retrieval, permission filtering, citation tracing, and publishing updates. Raw documents should not be inserted directly into the context. The knowledge interface contract should clearly define the input query, tenant identity, permission scope, returned fragments, citation sources, and timeliness information.
The industry interface maps general capabilities to industry tasks, such as ticket classification, service booking, after-sales guidance, and risk alerts. It is not a custom code patch. It is a scenario task contract that defines input business objects, output action suggestions, failure semantics, and how results are returned. When each of the four interfaces keeps to its own boundary, teams avoid common problems: rules written into prompts, knowledge access that bypasses permissions, and industry logic that pollutes the model interface.
3. Four Traits: Independence, Discoverability, Replaceability, and Composability
Independence requires stable interface contracts, minimal data exposure, and fault isolation. Each interface should be releasable, scalable, and observable on its own. A rule change should not roll back the entire model call chain.
Discoverability requires each capability to have a descriptor registered in a capability catalog. The descriptor includes at least the capability type, version, input and output constraints, SLA statement, permission requirements, and audit fields.
Replaceability depends on an adapter layer and contract tests. As long as a new implementation satisfies the same contract, it can replace the old one through gray release and rollback mechanisms.
Composability requires the bus to support orchestration, idempotency, timeouts, retries, and result aggregation. These features let multiple interfaces combine along task workflows into a commercially usable agent.
4. Bus Scheduling and the Core Formula
The core formula in the whitepaper can be expressed as:
Commercially usable agent = large model interface + rules interface + knowledge interface + industry interface, scheduled through a standardized protocol on a bus.
The addition in this formula means contract composition, not simple concatenation. The bus is responsible for at least protocol adaptation, service discovery, route selection, authentication and authorization, quota and rate limiting, audit logging, observability collection, circuit breaking and degradation, and version negotiation. Without a bus, the four interfaces are four isolated services. With a bus, they become governable assembly units.
The following is an illustrative contract and dispatch pseudocode, not tied to any specific product:
from typing import Protocol, Mapping, Anyclass CapabilityDescriptor(Protocol):name: strversion: strkind: str # llm / rules / knowledge / industryschema: Mapping[str, Any]class Capability(Protocol):def invoke(self, payload: Mapping[str, Any],context: Mapping[str, Any]) -> Mapping[str, Any]:...def dispatch(request, registry, policy, adapter_resolver):desc = registry.discover(kind=request.kind,name=request.capability,version_range=request.version_range)if not policy.allow(request.tenant, desc):raise PermissionError("capability not allowed")adapter = adapter_resolver.resolve(desc)return adapter.invoke(request.payload, request.context)
The example highlights three points. Callers depend on capability descriptors and contracts, not on concrete implementations. The policy layer checks tenant, permission, and compliance requirements before dispatch. The adapter layer isolates version differences, which provides the engineering basis for replaceability.
5. Engineering Path and Governance
Adopting interfacing can follow six steps:
- Inventory capability boundaries. Separate model capabilities, rule policies, knowledge services, and industry tasks.
- Design contracts first. Define inputs, outputs, error codes, timeouts, idempotency, and audit fields.
- Build a capability catalog and description standard so that capabilities can be discovered.
- Connect to the bus to unify authentication, rate limiting, logging, metrics, and tracing.
- Set up contract tests, gray release, and rollback mechanisms.
- Operate versions, quotas, quality tiers, and security policies on an ongoing basis.
Governance should focus on the following areas:
- Rule versioning and audit of rule hits.
- Knowledge permission filtering and citation tracing.
- Safety interception of model outputs and manual review.
- Multi-tenant isolation and data minimization.
- Interface version compatibility and deprecation policies.
- Observability metrics for success rate, latency, rule hits, knowledge citation rate, and degradation count.
When deployed in general cloud environments such as Baidu AI Cloud, teams can reuse common service categories, such as object storage, message queues, logging, and monitoring and alerting, to host the capability catalog, asynchronous tasks, and runtime observability. The interface contracts should remain neutral and portable.
Common pitfalls include the following. Teams swap brand names without restructuring the architecture. Interfaces are too fine-grained, which complicates orchestration, or too coarse, which blocks reuse. Rules are placed entirely in prompts. The knowledge interface lacks permissions or traceability. Industry interfaces degrade into custom patches. Version compatibility and contract testing are neglected. Avoiding these pitfalls is what turns interfacing into a working infrastructure foundation for an assembly ecosystem.
Agent Interfacization 2.0 does not negate the triangle model. It gives the model an engineering form. Through four standard interfaces and a standardized bus, models, rules, knowledge, and industry scenarios are decoupled into capability units that can be discovered, replaced, and composed. This helps enterprises lower integration costs, improve delivery efficiency, and build an agent assembly ecosystem that can keep evolving.
