Skip to main content

Ecosystem & Integration Patterns

SemanticFed is built as an open integration hub around a governed semantic layer. Rather than copying data into another warehouse or forcing every consumer to re-implement business definitions and access rules, external tools connect through four standardized surfaces — all backed by the same workspace RBAC, row/column/entity access policies, and audit log.

Integration architecture​

BI & SQL Tools Data Pipelines & Apps AI Agents & Copilots
(Metabase, Power BI, (Node.js / Python SDKs, (Claude, Cursor,
Tableau, psql, JDBC) Airflow, CI/CD, Grafana) GitHub Copilot)
| | |
PostgreSQL Wire GraphQL + HTTP SQL MCP
sql.semanticfed.com:5432 /workspaces/graphql @burdenoff/semanticfed-mcp
\ | /
+----------------------------+---------------------------+
|
Burdenoff Workspace Gateway (@rbac)
|
SemanticFed Engine (Pushdown + SemAccessPolicy)
|
Connected Data Sources (PostgreSQL, REST APIs, ...)

Every caller — human analyst, scheduled pipeline, or autonomous AI assistant — presents an authenticated identity and receives only the entities, rows, and unmasked columns that workspace policies allow.

Choosing the right integration pattern​

PatternBest surfaceWhen to use it
Live BI & SQL explorationPostgreSQL Wire Protocol (sql.semanticfed.com:5432)Metabase, Power BI, Tableau, DBeaver, psql, and any JDBC/ODBC client that speaks PostgreSQL. Viewer credentials carry viewer-level access policies.
HTTP dashboards & notebooksHTTP SQL Endpoint (semExecuteSql / semSqlCatalog)Power Query (Excel/Power BI), Grafana Infinity, Python notebooks, or environments where outbound port 5432 is blocked.
Semantic-model-as-code & CI/CDNode SDK or Python SDKVersion-controlling connectors, semantic models, entities, dimensions, metrics, relationships, and saved queries in Git and applying them from CI.
Scheduled BI / reverse-ETL bridgeSDK sql() + CSV/Parquet/table exportLanding governed aggregations into downstream reporting stores when a tool cannot connect live. Use a dedicated low-privilege automation identity.
Governed AI agents & copilotsMCP Server (@burdenoff/semanticfed-mcp --read-only)Giving Claude Desktop, Claude Code, Cursor, or custom MCP hosts typed tools over semantic models, metrics, and governed SQL without exposing raw database credentials.

Core integration patterns​

1. Semantic model as code (CI/CD)​

Manage your semantic model definitions in source control and reconcile them with the workspace through @burdenoff/semanticfed-sdk or semanticfed-sdk:

  1. Register connectors and data sources using vault-backed credential references (never inline secrets in model configs).
  2. Create or update entities, dimensions, metrics, and join relationships.
  3. Validate schemas and publish the semantic model (models.publish()).
  4. Run smoke queries (sql() or queries.run()) and verify expected row counts and policy masking before promoting downstream dashboards.

2. Governed SQL bridge for BI and notebooks​

When a downstream tool consumes flat files or a local analytics store (for example, Parquet for Tableau or DuckDB for local notebooks), run a scheduled SDK script that:

  1. Introspects sqlCatalog() to confirm expected tables and columns exist.
  2. Inspects accessPolicies.list() or verifies columns[].masked metadata on the result.
  3. Executes a bounded read-only SELECT (maxRows, timeoutMs) and fails loudly if truncated is true so partial datasets are never silently published.
  4. Serializes the governed rows to CSV, JSON, or Parquet for the downstream tool.

See Examples & API Showcases for runnable Node.js and Python implementations of this pattern.

3. Least-privilege AI agent integration (MCP)​

When connecting AI assistants to enterprise metrics:

  • Launch @burdenoff/semanticfed-mcp with --read-only (or SEMANTICFED_MCP_READ_ONLY=true) for analyst agents so they can inspect models, read semanticfed:// resources, and run governed SQL/saved queries without creating or modifying workspace objects.
  • Keep access-policy WRITE tools disabled (the default) so external agents cannot weaken DENY policies.
  • Rely on the built-in confirm: true gate for destructive operations in authoring sessions.
  • Treat returned query rows as untrusted third-party data rather than agent instructions.

SemanticFed vs. RDF / OWL / SPARQL tooling​

SemanticFed's semantic layer models business entities, dimensions, metrics, and relational joins over live operational and analytical data sources, exposed through SQL, GraphQL, SDKs, and MCP.

It is not an RDF triple store, OWL reasoner, or SPARQL endpoint. Teams migrating from or interoperating with semantic-web knowledge graphs should bridge at the data-source or API boundary (for example, exposing relational or REST projections to SemanticFed, or consuming SemanticFed's governed JSON/CSV/SQL outputs in downstream graph pipelines) rather than expecting native RDF/OWL/SPARQL execution.

Partner program for ecosystem builders​

SemanticFed supports technology partners, BI vendors, AI agent builders, and analytics consultancies through a structured technical progression:

  1. Registered Ecosystem Builder (self-serve): Build against the public GraphQL API, SQL endpoint, Node/Python SDKs, or MCP server using standard workspace authentication and the runnable examples.
  2. Verified Integration Partner (technical review): Earn a supported integration listing by demonstrating:
    • Versioned compatibility tests against the documented GraphQL/SQL/MCP contracts.
    • Strict credential isolation (tokens and source secrets remain under customer control).
    • Full governance compliance (@rbac, row/column masking, read-only SQL bounds, and quota handling).
    • Named maintenance and incident escalation ownership.
  3. Strategic Technology & Implementation Partner: Joint reference architectures and commercial agreements are handled separately with the SemanticFed partnerships team.

To propose an integration or request partner technical review, contact [email protected].

Next steps​