Metadata-Version: 2.5
Name: simple-kb
Version: 0.1.1
Summary: Turn documents into knowledge bases any agent can use, over MCP, A2A, llms.txt and OpenAI-compatible search. SwarmKit is its engine for model work.
Project-URL: Homepage, https://skb.delivstat.com
Project-URL: Documentation, https://skb.delivstat.com/docs/getting-started
Project-URL: Demos, https://skb.delivstat.com/demos
Author: Srijith Kartha
License: Simple KB License
        
        Copyright (c) 2026 DELIVSTAT TECHNOLOGY SOLUTIONS LLP. All rights reserved.
        
        This software, including its source code, documentation and the web portal it serves (together,
        "the Software"), is licensed, not sold. It is not open source.
        
        1. Use. You may download, install and use the Software free of charge, for personal or business
           purposes, including running its server for yourself or for the people of your own organisation.
        
        2. Restrictions. You may not, in whole or in part:
           a. copy, redistribute, sublicense, sell, rent or lease the Software, except for copies made
              by installing it as permitted in section 1;
           b. distribute modified versions of the Software, or works derived from it;
           c. offer the Software, or a service substantially based on it, to third parties as a hosted
              or managed service;
           d. remove or alter this license or any copyright notice.
        
        3. Ownership. All rights not expressly granted here are reserved by the copyright holder.
        
        4. Third-party components. Libraries the Software depends on are licensed under their own terms.
        
        5. No warranty. The Software is provided "as is", without warranty of any kind, express or
           implied, including the warranties of merchantability, fitness for a particular purpose and
           non-infringement.
        
        6. Limitation of liability. In no event shall the copyright holder be liable for any claim,
           damages or other liability, whether in an action of contract, tort or otherwise, arising
           from, out of or in connection with the Software or its use.
        
        7. Termination. This license ends automatically if you break its terms. You must then stop using
           the Software and delete your copies.
License-File: LICENSE
Classifier: License :: Other/Proprietary License
Requires-Python: >=3.11
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: pydantic>=2.7
Requires-Dist: pyyaml>=6
Provides-Extra: engine
Requires-Dist: swarmkit-runtime>=1.269.4; extra == 'engine'
Provides-Extra: formats
Requires-Dist: defusedxml>=0.7; extra == 'formats'
Requires-Dist: markitdown[docx,pdf,pptx,xlsx]>=0.1.9; extra == 'formats'
Requires-Dist: pillow>=11.0; extra == 'formats'
Requires-Dist: pypdf>=5.0; extra == 'formats'
Provides-Extra: ocr
Requires-Dist: onnxruntime>=1.20; extra == 'ocr'
Requires-Dist: pillow>=11.0; extra == 'ocr'
Requires-Dist: pypdf>=5.0; extra == 'ocr'
Requires-Dist: rapidocr>=3.10; extra == 'ocr'
Provides-Extra: postgres
Requires-Dist: psycopg[binary]>=3.2; extra == 'postgres'
Provides-Extra: s3
Requires-Dist: boto3>=1.35; extra == 's3'
Provides-Extra: serve
Requires-Dist: fastapi>=0.115; extra == 'serve'
Requires-Dist: pyjwt[crypto]>=2.10; extra == 'serve'
Requires-Dist: uvicorn>=0.30; extra == 'serve'
Description-Content-Type: text/markdown

# Simple KB (`skb`)

**Turn your documents into knowledge bases any agent can use.**

Point `skb` at a folder, an archive, a web page or a git repository. It reads PDFs, Office files, web pages, API references and scans, splits them into sections, and builds a search index. Agents then connect over MCP and get answers that cite the page they came from. That covers Claude, ChatGPT, Cursor, Copilot and your own LLM apps.

```bash
uv tool install --python 3.13 "simple-kb[formats,serve]"      # or: pipx install "simple-kb[formats,serve]"

skb create handbook ./docs                       # build a knowledge base from a folder
skb search handbook "who carries the pager"      # cited results
skb serve                                        # the portal, the HTTP API and MCP
```

- **Reads what teams actually have:**
  - PDFs, cited by page;
  - Word, PowerPoint, Excel, HTML, EPUB and Markdown;
  - OpenAPI;
  - Javadoc and generated docs sites, read by their structure;
  - scans and photos, read on your machine with the `ocr` extra.
- **Serves any agent, safely:**
  - a token per agent, scoped to the bases it may read;
  - public bases with `llms.txt`, for documentation meant to be open.
- **Keeps people in charge:**
  - agents propose notes and people approve them;
  - verified pages say who checked them, and when.
- **Runs where you need it:** on a laptop with no sign-in, or on a server with SQLite or Postgres and local or S3-compatible storage.
- **Portable:** every base is an Open Knowledge Format (OKF) bundle of plain Markdown, which you can export and import anywhere.

**Extras:**

| Extra | What it adds |
| --- | --- |
| `formats` | PDF and Office files |
| `serve` | the portal, the HTTP API and MCP |
| `ocr` | text in images and scans |
| `s3` | S3-compatible storage |
| `postgres` | Postgres |

**Install uv first** if you don't have it: `curl -LsSf https://astral.sh/uv/install.sh | sh`, then open a new terminal. uv fetches Python 3.13 itself; `--python 3.13` keeps it off a newer Python that onnxruntime (PDFs and scans) doesn't support yet. skb is tested on Linux; on Windows, use WSL.

**Learn more:** see the [docs](https://skb.delivstat.com/docs/getting-started) and the [demo videos](https://skb.delivstat.com/demos).

**Licence:** Simple KB is free to download, install and use, for personal or business purposes. It is not open source. The terms are in the `LICENSE` file shipped in the package. © 2026 DELIVSTAT TECHNOLOGY SOLUTIONS LLP.
