Skip to main content

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.

Core Principle

The client changes zero code. FIM One bridges into their systems proactively — reading their databases, calling their APIs, pushing to their message bus. The client provides only credentials and network access.

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

Database column masking

A database connector is often configured with one privileged account, so every caller reaches the same tables. Marking a column as PII in the connector’s schema manager narrows what the agent can see from it:
  • the column stays listed in the schema, tagged, so the model knows it exists and does not invent a substitute for it;
  • any value returned under that column name is replaced with *** before the result reaches the model, including through SELECT *;
  • the call log records which columns were masked, alongside whether the connector was in read-only mode.
Matching is by column name, which is the only identifier a result set carries. Two limits follow, and both are deliberate: the database still uses the column, so WHERE salary > 5000 filters normally, and a query that renames the column (SELECT salary AS s) returns unmasked values. When the requirement is that the query account cannot read a column at all, grant that in the database and point the connector at the restricted account. The owner’s own query playground is not masked. Masking governs what reaches an agent and the conversation transcript, not what the person who configured the connection can inspect.

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:

Agent-Connector Decoupling

The agent sees connectors as ordinary tools. It does not know or care whether a tool is built-in, a third-party MCP Server, or a legacy system connector. This means:
  • Adding a new system = adding a connector config. Agent code does not change.
  • Removing a connector = removing the config. No code changes.
  • The same agent can use built-in tools and connectors in a single task.

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.