rosetta-oss

Semalith Runtime — Data skill for Claude Code

Data community

Semalith Runtime: the semantic layer between your data and AI agents.

How to install Semalith Runtime

This entry records only its repository, not the path inside it, so there is no exact command to give. Open rosetta-oss/semalith-runtime and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Semalith Runtime does

Semalith Runtime: the semantic layer between your data and AI agents. Lean ontology, knowledge base and MCP tools, with a one-command ERP demo and benchmark.

Alternatives in Data

  • Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
  • Context Mode — Benchmark Results — Benchmarked against real outputs from popular Claude Code MCP servers, Skills, and dev tools 5.6k ★
  • Sprite Gen — Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame 763 ★

README

Semalith

**The semantic layer between your data and AI agents.**

[![Watch the 2-minute video: the graph behind an agentic ERP](docs/images/video-poster.jpg)](docs/semalith-erp-graph.mp4)

*Watch the 2-minute video: the graph behind an agentic ERP. [Subtitles](docs/semalith-erp-graph.srt)*

Semalith gives AI agents your business meaning, not just your tables. You describe the business once as a lean ontology (entities, relationships, metrics, rules and actions) with a knowledge base beside it, and agents query it over MCP. Answers come with their definitions and limits stated.

Against a plain REST API on the same ERP, the same AI agent was **2.6 times cheaper, 37% faster and more accurate**, with the largest gain on questions that need business rules.

This repository holds the runtime as Docker images, a one-command demo on a sample ERP, and our benchmark. It contains no source code.

Benchmark

![Benchmark summary: cost, time, accuracy and overall score for plain REST, graph, and graph plus knowledge](docs/images/benchmark.png)

An AI agent answered 44 business questions about the demo ERP, three times each, through three paths: a plain REST API, the Semalith graph, and the graph with its knowledge base.

Path Cost Time per answer Accuracy Rule-based questions Overall
Plain REST $35.23 29.8 s 0.874 0.818 83.0
Graph $13.07 19.1 s 0.916 0.833 91.9
Graph + knowledge $13.34 18.9 s 0.956 0.919 92.9

The cost and speed gains repeated in every round. The results depend on the REST design, the data and the model, and the scores were set by AI. Read [the report](benchmark/REPORT.md) for the method, the limits and the questions.

Why Semalith

  • Goal-driven graph development. You set the goal and the golden cases. An AI agent such as Claude or Codex builds the graph over MCP, tests it against the cases, and improves it until they pass.
  • **Enforce what must hold, explain wha