← all repositories
semantica-agi/semantica

Your AI agent’s black box, now with a paper trail

A Python layer that makes AI agents explain themselves through structured context graphs, decision trails, and W3C-compliant provenance.

semantica
Velocity · 7d
+2.3
★ / day
Trend
steady
star history

What it does

Semantica is a Python library and CLI that bolts onto existing AI stacks to add structured memory and accountability. It stores agent knowledge as queryable context graphs, records every decision as a first-class object with causal links and impact analysis, and traces outputs back to their sources using W3C PROV-O compliant provenance. It also bundles reasoning engines—Rete, forward chaining, deductive, abductive, and SPARQL—alongside deduplication, conflict detection, and ontology management tools.

The interesting bit

Instead of treating reasoning as a side effect, Semantica treats decisions as native graph entities you can audit, compare, and replay. It also ships with an almost overwhelming surface area: a CLI covering ingestion to backups, a 109-endpoint REST API, an MCP server, an Explorer UI, and native plugins for Claude Code and Cursor.

Key highlights

  • Records decisions as first-class objects with causal chains, precedent search, and impact analysis
  • W3C PROV-O compliant provenance tracing every fact back to its source
  • Multiple reasoning engines: forward chaining, Rete, deductive, abductive, and SPARQL
  • Broad backend support for graph stores (Neo4j, FalkorDB, Apache AGE, Neptune) and vector stores (Qdrant, Pinecone, Faiss)
  • Ships with a CLI, REST API, MCP server, Explorer UI, and native plugins for Claude Code and Cursor

Caveats

  • LangChain, LangGraph, and CrewAI integrations are listed as “coming soon”; current third-party support is mainly Agno
  • The v0.5.0 release patched 12 disclosed vulnerabilities, including SQL injection, XXE, and eval injection
  • Core imports previously failed when optional packages were absent; v0.5.0 introduced lazy-loading to fix this

Verdict

Evaluate it if you’re building agents in regulated or high-stakes domains where “the LLM said so” isn’t a valid audit answer. Skip it if you just need a lightweight RAG wrapper and don’t want to maintain graph infrastructure.

Frequently asked

What is semantica-agi/semantica?
A Python layer that makes AI agents explain themselves through structured context graphs, decision trails, and W3C-compliant provenance.
Is semantica open source?
Yes — semantica-agi/semantica is open source, released under the MIT license.
What language is semantica written in?
semantica-agi/semantica is primarily written in Python.
How popular is semantica?
semantica-agi/semantica has 1.4k stars on GitHub and is currently holding steady.
Where can I find semantica?
semantica-agi/semantica is on GitHub at https://github.com/semantica-agi/semantica.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.