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!
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.
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.
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.
Smart Document ManagerSmart Semantic Searcher
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.
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.
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.
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.
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.
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.