Self-host SLayer
v1.4.1Semantic layer for AI agents with query-time formulas
- Stars
- 314
- Port
- 5143 (HTTP server (REST API + MCP SSE endpoint))
What is SLayer?
SLayer is an embeddable semantic layer designed for AI agents and humans to query data warehouses using governed, structured requests instead of raw SQL. It handles database connectivity, SQL translation, query-time aggregations and transforms (like time shifts, ratios, period changes), row-level security, and multi-stage queries. Agents and apps interact via MCP (stdio or SSE), REST API, Python SDK, CLI, Flight SQL, or a Postgres wire facade. Models can be defined as YAML code, auto-generated from database introspection, or imported from dbt/Cube/OSI, and can be edited at runtime without rebuilds. A memory store with semantic search captures business context. SLayer is MIT licensed and runs on Python 3.10+.
Should you self-host SLayer?
SLayer scores 50/100 on selfhost.directory (how scoring works) and ranks #50 of 125 in AI. It has 314 GitHub stars.
It shipped 10 stable releases in the past year. The latest, v1.4.1, came out on 22 October 2026. New versions land roughly every 4 days.
Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is ComfyUI (93/100, 143 668 stars). It scores higher overall, so compare the two before you pick. See SLayer vs ComfyUI side by side.
Features
- Auto-ingestion from databases
- CLI
- dbt/Cube/OSI import
- Flight SQL / Arrow support
- MCP server (stdio and SSE)
- Memories with semantic search
- Multi-stage queries
- Postgres wire facade
- Python SDK
- Query-time formulas and transforms
- REST API
- Row-level Security
- Runtime model editing
- Semantic layer for AI agents
SLayer README
More in Data Management
SupersetApache Superset is a Data Visualization and Data Exploration Platform
tianjiSelf-hosted insight hub combining web analytics service monitoring and server status checks. Apache 2.0 licensed open-source platform for independent developers.
timelinizeTimelinize is a self-hosted, open-source personal archival suite that imports data from many sources into a unified timeline on your computer.
unopimSelf-hosted, open-source PIM and DAM built on Laravel to centralize and enrich product catalogs beyond 10 million products, with AI agent chat and CSV/XLSX import.
airbyteAirbyte is a self-hosted data movement platform with hundreds of connectors for ELT pipelines and AI agents, deployable via Docker, Kubernetes, and abctl CLI.
AnagnorisisSelf-hosted local recommendation system that learns from your ratings and searches images, music, text, and video — all processed on your hardware.
Apache DruidApache Druid: a high performance real-time analytics database.
Apache IoTDBApache IoTDB is a self-hosted, open-source time-series database for industrial IoT with high-throughput reads/writes, ultra-high compression, and SQL-like queries.
barmanSelf-hosted, open-source disaster-recovery tool for PostgreSQL: remote backups, WAL archiving, point-in-time recovery, incremental, encrypted and cloud backups.
CKANSelf-hosted, open-source data management system for open-data portals and catalogs: publish, share and search datasets via a web UI and a full API.
CouchDBSeamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reliability
crawlee-cloudCrawlee Cloud is a self-hosted, open-source platform for running Apify Actors on your own infrastructure with a web dashboard, CLI, and full Apify SDK compatibility.
0 comments