EveryDev.ai
Subscribe
Home
Tools

4,591+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3426
  • Coding2391
  • Infrastructure1055
  • Projects732
  • Marketing662
  • Research612
  • MCP593
  • Analytics538
  • Design533
  • Testing420
  • Security410
  • Data358
  • Prompts260
  • Integration256
  • Communication250
  • Extensions222
  • Voice201
  • Learning193
  • Commerce173
  • DevOps161
  • Web122
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. SAG
    SAG icon

    SAG

    Retrieval-Augmented Generation

    Open-source knowledge base app and retrieval architecture that turns documents into searchable, connected, source-traceable knowledge for people and agents.

    Visit Website

    At a Glance

    Pricing
    Open Source

    SAG self-hosted knowledge base application released under the MIT License; free to use, copy, modify and distribute.

    Engagement

    Available On

    macOS
    Windows
    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationKnowledge ManagementMCP Servers

    Alternatives

    Beever AtlasSiftRevornix
    Developer
    ZleapGuangzhou, GuangdongEst. 2025

    Listed Oct 2026

    About SAG

    SAG is an open-source knowledge base application from Zleap-AI, built on its own retrieval architecture that indexes documents as events and entities. Users upload documents once, then search across sources, inspect an event-entity graph, ask questions with citations, or expose the knowledge to other applications through API or MCP. It is released under the MIT License and ships as a desktop app, a Docker self-hosted stack, and a Python engine.

    What It Is

    SAG is a local-first, single-user knowledge base that takes sources and documents and produces structured knowledge, search with source tracing, and cited agent answers. Documents (Markdown, text, PDF, Office and others) are normalized, chunked, embedded, and processed for event and entity extraction in the background. Every retrieval result stays connected to the original text chunk. It starts with SQLite and LanceDB and requires no external database, with a documented path to PostgreSQL/pgvector and other production backends.

    How the Retrieval Architecture Works

    The README describes SAG as an original architecture that replaces both traditional RAG and GraphRAG. Each chunk becomes one semantically complete event with multiple indexing entities. At query time, SQL joins over shared entities create local dynamic hyperedges, so no global graph is pre-built or maintained. Retrieval modes include Fast (vector), Fast (multi_es_fast), and Precise (multi). The project's paper reports best results on HotpotQA, 2WikiMultiHopQA, and MuSiQue under a shared embedding and LLM configuration, according to the authors.

    Using and Integrating It

    The app provides cross-source or source-scoped search, clickable citations in multi-turn agent chat, an Explore mode, and 2D/3D event-entity graph views. For integration it offers a self-hosted REST/OpenAPI API, an OpenAI-compatible chat completions endpoint, a Knowledge MCP server, a Dify external knowledge base endpoint, a DeepSeek Harness plugin, and the sag-cli tool that mounts the MCP into Codex or Claude Code. Developers can also use the zleap-sag Python package and its DataEngine API directly.

    Setup Path

    Desktop installers are published for macOS (Apple Silicon) and Windows x64 and bundle the web workspace and local backend. Alternatively, docker compose brings up the web app and API locally. Embeddings are needed for indexing and vector retrieval, and an LLM is needed for event extraction and answers; the UI starts without model credentials. Password auth mode is available for remote deployments.

    SAG - 1

    Community Discussions

    Be the first to start a conversation about SAG

    Share your experience with SAG, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Self-hosted)

    SAG self-hosted knowledge base application released under the MIT License; free to use, copy, modify and distribute.

    • MIT License
    • Self-hosted REST/OpenAPI, OpenAI-compatible chat, MCP, and zleap-sag Python package
    • Local-first, single-user; starts with SQLite and LanceDB, no external database required
    • File and web source ingestion, search, source tracing, knowledge graph, agent chat
    • Self-hosted API, not a hosted public cloud API

    Capabilities

    Key Features

    • Event-entity indexing with query-time dynamic hyperedges
    • Document ingestion with parsing, chunking, embedding and extraction
    • Cross-source and source-scoped search with multiple retrieval modes
    • Source tracing back to original chunks
    • Event-entity knowledge graph in 2D and 3D views
    • Explore mode knowledge universe
    • Agent chat with clickable citations
    • OpenAI-compatible chat completions endpoint
    • Knowledge MCP server and sag-cli for Codex and Claude Code
    • Dify external knowledge base endpoint
    • Self-hosted REST/OpenAPI API
    • Python engine package zleap-sag
    • MinerU and AnyDoc PDF/document parsing options
    • SQLite/LanceDB default with PostgreSQL/pgvector option

    Integrations

    MCP
    Codex
    Claude Code
    DeepSeek Harness
    Dify
    OpenAI-compatible APIs
    MinerU
    AnyDoc
    MarkItDown
    PostgreSQL
    pgvector
    LanceDB
    Elasticsearch
    OceanBase
    302.AI
    Zhipu
    Alibaba Cloud Bailian
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate SAG and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Zleap

    Zleap (智跃) is an AI company focused on enterprise agent infrastructure. It builds around three technology layers: LLM, Context and Harness. Its products include the Zleap-R1 Token router and the Zleap OS enterprise AI work system.

    Founded 2025
    Guangzhou, China
    19 employees

    Used by

    A leading home-appliance manufacturer…
    A defense manufacturer (local Agent…
    Read more about Zleap
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Beever Atlas icon

    Beever Atlas

    An open-source, self-hostable LLM wiki that turns Slack, Discord, Teams, and Mattermost conversations into a self-maintaining knowledge base with AI-powered Q&A and MCP support.

    Sift icon

    Sift

    A capture-first personal knowledge base that collects links, text, screenshots, and notes, then uses AI to process them into searchable, reusable knowledge pages.

    Revornix icon

    Revornix

    An open-source, local-first AI information workspace that collects fragmented inputs, turns them into structured knowledge, and delivers reports, podcasts, and notifications automatically.

    Browse all tools

    Related Topics

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    142 tools

    Knowledge Management

    AI-powered systems for organizing, discovering, and accessing collective team knowledge with intelligent search, tagging, and contextual recommendations across knowledge bases and wikis.

    182 tools

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    322 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions