Be Smart! Bring AI to your data. Not your data to AI.

Read, search and archive your company's documents on your own infrastructure. Our open source tools run every AI model inside your network, so your data never leaves it. Squeeze your documents, not your privacy!

A glowing light bulb crossed by a network of cyan, magenta and yellow connections.

Smart Tools

Smart Document Manager SDM

More than document parsing

Smart Document Manager is an open source, self-hosted document parser. It turns PDFs, scans and Office files into Markdown, JSON and chunks ready for RAG.

  • Layout-aware parsing. Tables, formulas and figures in reading order.
  • Element recognition. One image, one task: table, formula, chart or seal.
  • RAG chunking. Token-bounded chunks that keep page and section.
  • REST API, web console, MCP. 14 tools let an agent drive the stack.
  • One command to start. A launcher brings up the whole Docker stack.
  • One NVIDIA GPU. PaddleOCR-VL on vLLM, sized for a consumer card.
  • Data sovereignty. No hosted AI API, optional S3 archive you run.

Smart Semantic Searcher 3S

Beyond semantic search

Smart Semantic Searcher is an open source, self-hosted hybrid search stack on Qdrant. It finds the passages that answer a plain-language question.

  • Hybrid retrieval. Matches by meaning and by exact term.
  • Cross-encoder reranking. Puts the passage that answers on top.
  • RAG backend. Text chunks in, ranked passages out.
  • REST API, web console, MCP. 28 tools let an agent drive the stack.
  • One command to start. A launcher brings up the whole Docker stack.
  • Laptop CPU or one GPU. BGE-M3 or Qwen3, tuned to your machine.
  • Data sovereignty. No hosted AI API, vectors in a Qdrant you run.

One Smart architecture

SDM and 3S share one design, so once you know one stack the other is familiar. Everything enters through a single REST API, and the models stay in a container on your hardware. Both stacks were designed for AI agents from the start: an agent can drive every feature, and it follows the same rules as your code.

The architecture is modular. You decide which parts to switch on and who gets in, with a separate token for each entrance. The built‑in web console lets you try every call and tune your settings before you write any client code. The models adapt to the machine they find and budget its VRAM, instead of assuming a datacenter.

Your machine, your rules!

  • Local by default. Every port binds to 127.0.0.1 until you decide otherwise.
  • Small models. Each one under 1B parameters: 0.9B for OCR, about 0.6B for embedding and reranking.
  • Agent Skills. Bundled playbooks show your agent the right tool for each task, so it gets there in fewer tries.
  • Guarded deletes. Destructive operations need an explicit confirmation, even from an agent.
  • Self-documented. The MCP server ships its own docs, so your agent can explain the stack back to you.
Smart Document Manager, stack architecture Your application, meaning your code or the web console, calls the Document Manager API over REST on port 8020. Your AI agent, guided by Agent Skills, reaches the same API through the optional MCP server on port 8021, which exposes 14 tools, 11 resources and 3 prompts. The API parses documents, recognizes single elements, builds RAG chunks on CPU and serves the web console. It sends each region to PaddleOCR-VL on vLLM, the local model server on port 8081, which runs on one NVIDIA GPU. MCP server, API and model server form the SDM Docker stack. With the optional S3 archive, SeaweedFS on port 8333 keeps parsed documents and RAG chunks on your host, where you can browse, download or delete them. One document: load a PDF, an Office file or an image, find the regions and read each one, rebuild the reading order as Markdown and JSON, chunk for RAG, return or archive. SDM Docker Stack REST MCP over HTTP REST OpenAI-compatible /v1 archive + browse Your application Your code or the web console Your AI agent* MCP client with Agent Skills MCP serverOptional 14 tools · 11 resources · 3 prompts :8021 Document Manager API smart-document-manager (ocr-api) Document parsing · element recognition · RAG chunking on CPU · web console :8020 PaddleOCR-VL on vLLM vllm-paddleocr Local GPU inference · PaddleOCR-VL-1.6 · tuned to your card before start :8081 One document 1 Load a PDF, an Office file or an image 2 Find the regions + read each one 3 Rebuild reading order, Markdown + JSON 4 Chunk for RAG, return or archive Optional S3 Archive SeaweedFS :8333 Keeps parsed documents and RAG chunks On your host: browse, download, delete
Smart Semantic Searcher, stack architecture Your application, meaning your code or the web console, calls the Qdrant middleware over REST on port 6336. Your AI agent, guided by Agent Skills, reaches the same middleware through the optional MCP server on port 6337, which exposes 28 tools, 24 resources and 3 prompts. The middleware coordinates ingest, hybrid search, reranking and collections, and serves the web console. It asks Smart Embedder, the local model server on port 8010, for dense and sparse vectors and for reranking, on a laptop CPU or one NVIDIA GPU. MCP server, middleware and Smart Embedder form the 3S Docker stack. Qdrant is an external vector database: your own instance on port 6333, local or remote, stores vectors and payloads and runs the hybrid search, fusing dense and sparse retrieval. One search: embed the query, retrieve and fuse candidates, rerank the top candidates, return ranked passages. 3S Docker Stack REST MCP over HTTP REST embed + rerank query + upsert Your application Your code or the web console Your AI agent* MCP client with Agent Skills MCP serverOptional 28 tools · 24 resources · 3 prompts :6337 Qdrant middleware middleware-qdrant-manager Ingest · hybrid search · reranking · collections · web console :6336 Smart Embedder server-embedder-reranker Local inference, CPU or GPU · dense + sparse vectors · reranking :8010 One search 1 Embed the query 2 Retrieve + fuse candidates 3 Rerank the top candidates 4 Return ranked passages External Vector DB Qdrant :6333 Stores vectors and payloads Hybrid search: dense + sparse, fused

Scroll sideways to see the whole stack

* If your AI agent runs in the cloud instead of locally, the data it reads leaves your VPN.
  1. FastAPI service

    The web console, your code and the MCP server all call the same REST API, so access checks, validation and limits live in one place.

    SDM Document Manager API

    Converts Office files, rasterizes pages, runs the layout analysis and sends each region to the model. It also builds RAG chunks on CPU, without calling the model again.

    3S Qdrant middleware

    Coordinates ingest, hybrid search and reranking, and manages collections. It asks the embedder for vectors and Qdrant for candidates, then returns ranked passages.

  2. Model server

    Inference runs in a container on your own machine. A pre-start autotuner measures the hardware it finds and calibrates the stack to it.

    SDM PaddleOCR-VL on vLLM

    A 0.9B vision-language model reads each region for what it is: text, a table, a formula, a chart or a seal. One consumer NVIDIA GPU is enough.

    3S Smart Embedder

    Dense and sparse embeddings plus a reranker. BGE-M3 in the basic profile, Qwen3 and MILCO in the advanced one, on a laptop CPU or one NVIDIA GPU.

  3. Storage

    Runs where you decide. Results and vectors live on infrastructure you chose, and they stay yours.

    SDM SeaweedFS S3 archive

    Optional, on the same host. Without it every result returns in the HTTP response and nothing is kept.

    3S Qdrant

    An open source vector database you run yourself, on this host or on a remote cluster. Vectors and payloads stay on the machine that hosts it.

  4. MCP server

    Optional. It turns the API into MCP tools an agent calls over Streamable HTTP, and ships its own documentation. It only talks to the API, never to the models.

    SDM 14 MCP tools

    smart-document-mcp, plus 11 resources and 3 prompts. The tools parse a document, recognize an element, build chunks and browse the archive.

    3S 28 MCP tools

    smart-qdrant-mcp, plus 24 resources and 3 prompts. The tools create a collection, ingest a file of chunks, search it and reindex it.

  5. Agent Skills

    Markdown playbooks loaded by the agent host, not running services. They teach the agent which tool to pick and when to ask for confirmation. Skills guide, the services enforce.

    SDM Two skills

    smart-document-manager drives the tools. smart-document-reader reads a parse result or a stored archive correctly, without running OCR again.

    3S One skill

    smart-qdrant-mcp, named after its server, covers tool choice, search tuning and the tested sequences for ingest and reindex.

Why Smart Models

Smart Models was started by Federico Palma to build tools for companies that work with their own data and want to keep full control of it.

The answers a company gets from AI depend on the data it puts in. That same data is valuable to the provider of a hosted AI service, which, where its terms allow, can use it to train models and improve its own products.

That leaves a company choosing between sharing its documents and losing control of them, or holding back and getting weaker results. Smart Models runs the models on the company's own machines, so the choice does not come up.

Then there is cost, in hardware and in energy. Running the largest models in‑house takes GPU servers that few companies can justify buying or powering. Smart Models uses small models instead, each one sized for a single consumer graphics card. For document parsing and search, a small model inside software tuned to the machine is often enough.

Want to see whether SDM and 3S fit your documents and your infrastructure? Book a 30‑minute intro call (opens in a new tab).

Open by choice

Both tools are open source under AGPL‑3.0, and their Agent Skills under MIT. Every line is there to read, so you can check for yourself where your data goes and how it is handled.

Nothing leaves your network

No call goes out to a hosted AI API. Documents, models and results stay on your machine or inside your VPN.

Made for hardware you own

Small models and a pre‑start autotuner that calibrates each stack: one consumer GPU for SDM, a laptop CPU for 3S.

Ready for AI agents

An MCP server and Agent Skills ship with each tool, so an agent can drive it under the same rules as your code.

Built to work together

SDM turns documents into chunks, 3S makes them searchable. Each one also runs alone, behind its own REST API.

FAQ

What are these tools, exactly?

SDM is a front door to PaddleOCR‑VL served by vLLM. 3S is a front door to Qdrant hybrid search plus reranking. Around those engines each tool adds a REST API, a web console, an MCP server, an autotuner and a launcher, so the whole stack starts with one command.

Does any of my data leave my network?

No inference call goes out to a hosted AI API: the models run in your own containers. Two things to know. The first run downloads the models. And if you connect an AI agent that runs in the cloud, it reads whatever the tools return to it. The agent is optional: the MCP server is a switch, and the REST API and the web console do the same work without it.

Where do my documents and results end up?

In SDM the archive is optional. Without it every result comes back in the HTTP response and nothing is kept. With it, results go to a SeaweedFS S3 store you run on the same host, and you browse and delete them from the web console. In 3S vectors and payloads live in a Qdrant you run yourself, on the same host or on a remote cluster.

What do I need to run them?

Both need Docker with Compose 2.24.4 or newer and Python on PATH: 3.11 for SDM, 3.10 for 3S. SDM needs an NVIDIA GPU that Docker can see, through NVIDIA Container Toolkit on Linux or Docker Desktop with the WSL 2 backend on Windows. One consumer card is enough. 3S runs on a laptop CPU and is faster on one NVIDIA card. Before each start an autotuner measures the machine it finds and calibrates the stack to it.

How do I get started?

Copy .env.example to .env, fill it in and run the launcher: one command brings up the stack. 3S also needs a Qdrant it can reach, or it starts one for you. The first run downloads the models, so it is slower than the ones after. Each tool then answers on 127.0.0.1 with the web console already on it. The guide/ folder of each repository has six pages that open straight from disk, starting with the first run end to end.

Do I need both tools?

No. Each one is a complete stack and runs on its own. SDM turns documents into text chunks. 3S takes text chunks in and returns the passages that answer a question, and leaves to you how to chunk and what to store.

Which files can SDM read, and what comes back?

PDFs, images and Office files: .docx, .pptx, .xlsx, their older versions and OpenDocument. Office files are converted to PDF inside the container first. You get page Markdown plus JSON blocks that know what they are: a title, a paragraph, a table with its cells, a formula in LaTeX, a figure with its caption. Headers and footers are kept apart from the body, and every block carries its page and bounding box.

How does SDM cut chunks for RAG?

Chunking is a separate step on the parse output. It runs on CPU, is deterministic and never calls the model again. Chunks are bounded in tokens, counted with the model's own tokenizer, and follow the sections. Tables and code blocks stay whole. Every chunk keeps its document, page, block and section, and you can refine the cuts by hand afterwards.

Can I change the models in 3S?

Yes, between two profiles: basic, on BGE, and advanced, on Qwen and MILCO. A profile replaces the whole embedding and reranking set behind the same API, so switching is a restart and your client code stays as it is. Each collection remembers the profile that created it and refuses to mix two vector spaces. A reindex job carries it across.

Can I build a commercial product on them?

Yes. Both tools are under AGPL‑3.0, and their Agent Skills under MIT. If you change a tool, your changes stay open under AGPL‑3.0. The application you build on top of it, through the REST API or MCP, is yours and can stay closed. The skills you can copy, change and ship in your own agent or product, closed or not. There is no hosted service and no separate commercial license: you get the code and run it yourself. This is our reading, not legal advice: the license text decides.

How do I report a bug or contribute?

Open an issue on GitHub. The project was built with very heavy use of AI coding agents and expects you to work the same way: point your agent at the repository first, then write in the issue how to reproduce the problem and what the agent found. Two directions are already set: following PaddleOCR, vLLM and Qdrant as they grow, and widening the hardware beyond NVIDIA cards.