跳转到主要内容

Copilot vs Hub

The architecture supports two integration scales: Copilot puts the agent inside a host system’s UI, today by having the host page call the FIM One API (a drop-in iframe / widget embed is planned). Users interact with AI without leaving their familiar interface. It can use multiple connectors (host DB + notification service, etc.). Hub is a standalone portal that connects all systems. It’s not embedded in any single system — it’s the central intelligence layer where systems meet AI. Same connector architecture, different delivery. A Copilot uses the same ConnectorToolAdapter as a Hub.

核心原则

客户端零代码改动。 FIM One 主动集成到他们的系统中——读取他们的数据库、调用他们的 API、推送到他们的消息总线。客户端仅需提供凭证和网络访问权限。

Three-Layer Architecture

Each layer has a distinct responsibility:

Three Integration Types

In the portal these live under Integrations, with one tab each: API and database connectors are records in the database. A connector that is created or edited in the portal is picked up by the next chat request; nothing is redeployed or restarted. MCP is the route for third-party tool servers and for adapters that need their own process.

What the governance layer adds

数据库列脱敏

数据库连接器通常配置一个高权限账户,因此每个调用方都能访问相同的表。在连接器的模式管理器中将某一列标记为PII,可以缩小智能体能看到的数据范围:
  • 该列仍会列在模式中并带有标记,这样模型知道它存在,不会为它臆造替代列;
  • 在结果到达模型之前,该列名下返回的任何值都会被替换为***,包括通过SELECT *返回的值;
  • 调用日志会记录哪些列已被脱敏,以及连接器是否处于只读模式。
匹配依据是列名,这是结果集携带的唯一标识符。由此产生两个限制,而且都是有意设计的:数据库仍会使用该列,因此WHERE salary > 5000仍会正常进行筛选;而重命名列的查询——例如SELECT salary AS s——会返回未脱敏的值。如果要求查询账户完全无法读取某一列,请在数据库中授予相应权限,并让连接器使用受限账户。 所有者自己的查询演练场不会进行脱敏。脱敏控制的是到达智能体和对话记录的内容,而不是配置连接的人员能够查看的内容。

Values bound into a workflow step’s SQL

A {{variable}} in the SQL of a workflow database step is sent to the database as a value, never as SQL text. How it is compared is then up to the database:
  • PostgreSQL, KingbaseES, HighGo, DM8: a parameter of the type the query expects. Text that is not a number fails the step where a number is expected.
  • MySQL, MariaDB: every value is sent as text. Compared with a text column it is compared as text. Compared with a numeric column, MySQL converts the text by its own lenient rule: '5abc' counts as 5 and text with no leading digits as 0, with a warning and no error, so WHERE id = {{v}} with abc matches the row whose id is 0. CAST({{v}} AS SIGNED) follows the same rule and does not help. If an input must be a number, check it before the query, in a Condition step ahead of the database step; the Start step records the inputs it is given and does not check their type.

Deployment Model

Everything runs in a single Docker Compose deployment. The client installs nothing.
All provided by FIM One. Client provides only:
  • Database credentials (read-only account recommended)
  • API endpoints and keys (if available)
  • Network whitelist access
Access hierarchy: FIM One adapts to whatever access the client can provide:

智能体-连接器解耦

智能体将连接器视为普通工具。它不知道也不关心某个工具是内置的、第三方 MCP Server 还是遗留系统连接器。 这意味着:
  • 添加新系统 = 添加连接器配置。智能体代码无需更改。
  • 移除连接器 = 移除配置。无需代码更改。
  • 同一个智能体可以在单个任务中同时使用内置工具和连接器。

Adding a Connector

No code and no restart are involved. A connector is created in the portal in one of three ways: Database connectors take connection details instead and introspect the schema. Systems that need custom code are wrapped as an MCP server and added under the MCP tab.

Data Flow Example

User: “Check all overdue contracts from the finance system and push a summary to Lark.”

Relationship to Existing MCP Ecosystem

FIM One’s MCP client supports third-party MCP servers alongside its own API and database connectors. All three end up in the same ToolRegistry, so the agent treats them alike. Connectors do not replace MCP. They cover the common cases (a REST API, a SQL database) with governance built in; MCP covers everything that ships as a tool server. MCP servers carry per-user credentials and the same fallback switch as connectors.