{"adoption": {"forks": 150, "observed_at": "2026-08-28T04:06:50.747917+00:00", "stars": 2425}, "canonical_url": "https://ross.abutalabs.com/products/sag", "card": {"archived": false, "artifact_type": "application", "description": "A new SOTA for RAG — an original retrieval architecture and an open-source knowledge base for humans and agents.", "domain": ["artificial-intelligence", "large-language-models", "databases"], "enriched": true, "function": ["rag", "search-engine", "vector-database", "agent-framework", "mcp", "nlp", "machine-learning"], "health_score": 100, "homepage": "https://zleap.com", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["Zleap-AI/SAG"], "name": "Zleap-AI/SAG", "platform": ["python", "cross-platform", "self-hosted", "cli"], "pushed_at": "2026-08-25T19:25:25+00:00", "repo": "Zleap-AI/SAG", "stars": 2425, "tags": ["graphrag", "knowledge-graph", "event-entity-indexing", "multi-hop-qa", "retrieval-architecture", "mcp-server", "desktop-app", "cli-tool", "pypi-package", "knowledge-base", "retrieval-augmented-generation", "ai-agents", "search", "data-engineering", "natural-language-processing", "nodejs", "desktop"], "topics": ["ai", "knowledge-graph", "llm", "rag", "vector-search", "data-engineering", "graphrag", "knowledge-base", "knowledge-graphs", "agent", "sag"], "urls": [], "use_cases": ["build a searchable, source-traceable knowledge base from scattered documents", "answer multi-hop questions with better recall than RAG or GraphRAG", "connect a knowledge base to coding agents via MCP", "migrate and back up knowledge bases across instances", "extract entities and relations from documents into a knowledge graph", "give agents shared context with citations"], "what_it_is": "SAG is an open-source retrieval architecture and knowledge base application that replaces both traditional RAG and GraphRAG with event-entity indexing and query-time dynamic hyperedges. It ships as a Python package (zleap-sag), a desktop app, and a CLI that mounts a Knowledge MCP server into agents like Codex and Claude Code.", "when_to_avoid": ["you need a battle-tested, widely-adopted enterprise RAG stack", "you only need simple keyword or plain vector search without graph reasoning", "you require non-Python/non-Node runtimes or managed cloud deployment", "you need long-term stability guarantees from a mature project"], "when_to_choose": ["you need semantic retrieval plus relational reasoning in one system", "you want a self-hosted knowledge base with traceable, cited answers", "you want to plug a knowledge base into LLM agents through MCP", "you are benchmarking retrieval on multi-hop QA datasets"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sag", "repo": "Zleap-AI/SAG", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.747917+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:31:49.819135+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90b3420fb488cbd700909accbc8ed761bcc04f65a384f2d11138dc91c7ad0e15", "fetched_at": "2026-08-28T04:06:50.747917+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Zleap-AI/SAG"}, {"content_hash": "b63d55a8bce7f5b62735e041cb5a4507bf8f243aa463ab036a88e76bca000656", "fetched_at": "2026-08-29T10:13:06.754809+00:00", "kind": "homepage", "missing": false, "url": "https://zleap.com"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 21, "rhythm": 99}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 299, "days_push": 8, "days_rel": 9, "gap_med": 0.0, "n_releases_24m": 29}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}