Lantide Data
Back to blog
Team Adoption

Before an External AI Agent Touches Company Data: A Platform Team Checklist

Before connecting an external Agent, define sources, capabilities, workspace boundaries, credential lifecycle, formal evidence, writer ownership, audit, and recovery.

Connecting an external AI Agent requires more than a connection string. Define source scope, available capabilities, workspace isolation, credential lifecycle, formal evidence, concurrent writer rules, audit, and recovery. MCP specifies connection and invocation; it does not automatically provide least privilege or result acceptance.

1. Map data scope before listing tools

Work backward from one task: which workspace and files or database schemas, whether personal data is present, freshness requirements, and permitted output locations. Do not expose an entire environment because an Agent "may need it later." MCP guidance recommends narrowing scope, least-privilege defaults, and restricting filesystem, network, and other resources. See MCP Security Best Practices.

Task: analyze the 2026 Q2 onboarding funnel
Workspace: growth-q2 (single)
Sources: events, accounts; exclude support_notes
Actions: read, create analysis artifacts, formal read-only queries
Output: Lantide Report; local export requires confirmation
Expiry: revoke at pilot end

2. Separate observing, analyzing, and administering

Capability Permitted work Typical use
Observe View schema, artifacts, existing results Initial evaluation, accompanied review
Execute Create artifacts and run approved formal queries Formal analysis in one workspace
Admin Add workspace, knowledge, aliases, local delivery Trusted environment administration

Capability ceiling and analysis stage are different. Approving a Plan must not promote a read-only connection to Admin; an Admin connection does not mean a conclusion passed business review.

3. Credentials must be issued, revoked, and expired

Define who creates credentials, where they live, expiry, rotation and revocation, and whether events and logs redact tokens. The MCP 2025-11-25 authorization specification requires Protected Resource Metadata for HTTP authorization and binding tokens to the target resource; guidance rejects token passthrough. See the MCP Authorization Specification.

Local integrations must still defend against malicious processes on the same machine. Loopback HTTP needs a bearer credential or equivalent. Never paste local config into an issue, chat, or wiki. Give pilots expiry and actually rehearse Rotate or Revoke.

4. Formal numbers need an evidence contract

"Done" in chat does not mean a result exists. Require:

  • a human-reviewed Plan and execution scope;
  • key SQL/query steps;
  • mappings between numbers and evidence;
  • Report data timestamp and limitations;
  • execution and modification activity.

Exploration queries may exist but must not silently become external Report evidence. Mark later queries as post-execution evidence instead of mixing them into the originally approved conclusion.

5. Decide writer ownership before two Agents edit

An external Agent, built-in Agent, and person may open one workspace concurrently. Decide who holds the writer, whether a second writer is blocked, queued, or explicitly evicts the first, and whether force overwrite exists.

Fail closed by default: identify the blocker and require user approval before ownership changes. A revert should compare the current version with the recorded after-state; if someone has edited since, block the revert rather than overwriting new work.

6. Audit must answer "what happened" without becoming a secret warehouse

Activity and audit should identify session, operation/tool, artifact, time, outcome, and affected scope. Do not copy unlimited full chats, tokens, or sensitive bodies into logs. Define active versus ended sessions, retention, and whether clearing Activity affects business audit or artifacts.

The voluntary NIST AI RMF integrates trustworthiness across design, use, and evaluation. Platform teams can use it to check that ownership, measurement, and governance become controls rather than policy prose.

7. Recovery is more than Undo

  • Safely reversible content edits: restore Plan, Report, or SQL only without conflicts.
  • Side-effecting operations: connections, access, Plan lifecycle, exports, and knowledge governance usually need specific compensation or manual handling.

Before a pilot, rehearse whether sessions become invalid after interruption, revoked credentials fail closed for old clients, and writer conflicts block rather than silently take over.

Lantide Data as a local Agent workspace

Lantide Data Agent Integration is a local loopback MCP Server for external Agents such as Codex, Claude, and Cursor. It offers Quick/Persistent connections, Single/All-workspace scope, and Observe/Execute/Admin modes. Formal analysis is reviewed in the GUI through Plan, Approve & Execute, artifacts, evidence, External MCP Activity, Save History, and audit. See the External Agent Integration guide.

External Agents can reuse a standard interface while depositing SQL-first results in Lantide instead of external chat alone. Boundaries remain: loopback is not a remote shared API, Plan approval does not raise a connection's capabilities, and Lantide does not replace enterprise IAM, DLP, or metadata platforms.

Minimum pre-adoption checklist

  • One task and its data scope are explicit
  • Start with Observe or Single workspace + Execute
  • Credential has owner, expiry, Rotate/Revoke process
  • Formal numbers map to Plan, SQL evidence, and Report
  • Writer conflicts cannot silently overwrite
  • Activity redacts secrets and audit retention is defined
  • Interruption, revocation, and recovery are rehearsed

Conclusion

Run one low-risk analysis that will be questioned, and validate not only its answer but scope, evidence, conflicts, audit, and revocation. Safe adoption depends on the environment around an Agent, not only which model it uses.

References