Skip to content

archmax Semantic Layer

A semantic layer for your data: archmax describes it, you sharpen it, AI agents query it.

archmax helps you create semantic descriptions of your database schemas (tables, columns, relationships, and metrics) and expose them to AI agents through the Model Context Protocol (MCP). Instead of giving AI agents raw database access, you give them a curated, documented view of your data.

Semantic Models

Describe your tables as datasets with fields, relationships, and metrics using OSI YAML. Models are stored internally as OSI YAML and converted to a compressed markdown digest (3–5× fewer tokens) when served to agents.

MCP Server

Expose your semantic layer to AI agents via MCP tools. Agents discover models, understand field meanings, and run scoped SQL queries.

Data Federation

Query across Postgres, MySQL, MSSQL, SQLite, DuckDB, and Iceberg REST Catalog databases from a single project using DuckDB’s federation engine.

Admin UI

Manage projects, connections, and semantic models through a modern web interface with a chat-based AI model builder.

  • Project-based organization: group related database connections and their semantic models
  • AI-assisted model building: a chat-based agent helps discover schemas, map fields, detect enums, and infer relationships
  • Scoped query execution: AI agents run read-only SQL against per-model scoped VIEWs, not raw tables (a logical access layer — see its limits)
  • Token-based access control: MCP tokens with configurable scopes and expiry
  • Version control: built-in Git history for every publish, with optional GitHub sync
  • Self-hosted: deploy with Docker in minutes
Project home dashboard
Project Home
Semantic model graph view
Graph View
AI-assisted model builder
Model Builder
MCP access
MCP Access
Test agents configuration
Test Agents
Test cases
Test Cases
Test runs
Test Runs
Project settings
Settings

Once deployed, the admin UI provides these main areas:

SectionWhat you do there
ProjectsCreate and manage projects. Each project groups related database connections and semantic models.
Semantic ModelsBuild and edit semantic models. Start a chat conversation describing what you want, and the AI agent assembles the model for you. You can also edit models manually.
Data FederationAdd database connections (Postgres, MySQL, MSSQL, SQLite, DuckDB, Iceberg), test them, and manage which are active for querying.
Data BrowserExplore the schemas, tables, and data from your active connections.
MCP AccessCreate and manage MCP tokens that external AI agents use to connect to your semantic layer. Configure scopes, permissions, and expiry.
TestingDefine test cases (questions an AI agent should answer), create test agent configurations, and run tests individually or in batch to validate your semantic models.
Version ControlBuilt-in Git tracks every publish. Optionally connect a GitHub remote to sync your semantic models to an external repository. See the Version Control guide.