[Open-source] An open-source large model orchestrator, production-level RAG platform, and dedicated AI productivity tool
![[Open-source] An open-source large model orchestrator, production-level RAG platform, and dedicated AI productivity tool](https://yy123.ink/api/img/1796372655533-8gle96.png)
1. Project Overview
ollmo
Open LLM Orchestrator · Open-source Large Language Model Orchestrator
Data doesn't leave the house, build your own knowledge base and create a dedicated AI productivity tool.
Production-level RAG platform, providing mixed search, multi-tenant isolation, and streaming dialogue capabilities. The backend is based on Go + Fiber, and the frontend is based on Next.js App Router + shadcn/ui.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
Knowledge Q&A — Streaming Answers with Source References, Clicking References Opens Source Documents and Highlights Matching Paragraphs, Dialogue and Documents Side-by-Side
4. Feature Overview
Why ollmo
The AI application orchestration platforms on the market: workflows, nodes, plugins, dozens of concepts, and over a hundred configurations. To let AI help, you need to spend several days learning a complex system. AI should make things simpler, but it's going the opposite way.
ollmo condenses everything into three steps:Upload documents, ask questions, and get answers with sourcesOne command deployment, ten minutes to get started.
- Simplicity
— Only do one thing and do it to the extreme: turn your documents into a question-answering assistant. - Easy to use
— Get started in 10 minutes without needing to learn a complex system. - Control
— No unnecessary concepts, no extra configurations, complexity is left inside the system, simplicity is left for you.
Core Features
- Hybrid search
— Milvus dense vector + MySQL FULLTEXT lexical matching, RRF fusion, supports knowledge base level Rerank configuration; built-in search testing, keyword ↔ semantic weight adjustable. - Multi-Tenant
— MySQL, Milvus, MinIO full-link logical isolation, all tables carry tenant_id. - Document pipeline
— Upload (drag and drop, paste, multiple files) → Parse (MinerU / local parser) → Chunk → Vectorize → Index, all asynchronous (Asynq + Redis). - Streamed conversation
— SSE real-time streamed output, with source reference; Agent opening phrase brings humanized greeting. - Reference tracing
— Click the reference below the answer to open the source document and highlight the hit paragraph: PDF original rendering, parsing view page navigation, dialogue + document side-by-side comparison, "answers with evidence" fall to the original text. - Annotation question and answer
— For knowledge base maintenance personnel, manually annotate standard question and answer (vector similarity matching), hit directly returns standard answer, ensures high-frequency question answers stable and consistent. - Automatic memory
— Long dialogue generates summary in the background (asynchronous LLM task), summary injected into subsequent conversation, implements cross-conversation context continuation, supports site-level switch. - Personal Center
— Clicking the username on the chat page opens the personal center: basic information, modify password and "my usage" (personal message quota, token consumption, estimated cost and recent call records), members do not need to enter the background to grasp their usage situation. - Agent canvas
— Visualize Agent pipeline composition (React Flow): intent classification → search → conditional branching → LLM → direct reply. Node output references variable ({node.output}) in prompt words and conditions, supports LLM chained calls and general conditional branching; single node debugging directly views output variable, node real-time highlighting during runtime. Canvas supports undo/redo and sticky notes. Supports knowledge base level system prompt words, temperature, top_k, Rerank switch, opening phrase and LLM selection. - Data processing pipeline canvas
— Visualize data ingestion DAG (React Flow): source → parser → chunker → vectorizer → storage, configurable parsing options, chunking strategy and batch size. - GraphRAG
— Inbound LLM entity extraction and relation extraction, enhanced entity matching for search context during query time. - Model can be configured
— Tenant-level management for LLM/Embedding/Rerank models, knowledge base can be specified separately. Dual-column selector (left: supplier list, right: model list), switching is intuitive and efficient. Priority selection: knowledge base configuration → tenant default → config.yaml. - Usage and cost
— Team-level Token/cost statistics: overview, by user, by model, and by call details, automatic recording of each LLM call consumption (main response, Agent classification, and intermediate node, follow-up suggestion), only visible to administrators. - Team and permission
— Invitation-based member management (administrator/member), daily message quota for each user. Clear role division: administrators manage knowledge base, models, and team data in the background, while members focus on dialogue usage; knowledge base supports private/team shared visibility. - Management control panel
— Super administrator user management, team management (plan and quota: free version/professional version/enterprise version), system settings (registration switch/auto memory), data analysis dashboard, audit log. - External API
— API Key authentication for programmatic access (search, knowledge base management, streaming dialogue); keys are created and managed uniformly by administrators. - Internationalization
— Bilingual interface, front-end and back-end message contract, URL does not contain language identifier.
5. Tech Stack
Tech Stack
| Not the 'scaffolding self-bundled': |
Selection |
| Backend |
Go 1.26+ / Fiber / GORM |
| Frontend |
Next.js 15 (App Router) / React / shadcn-ui |
| Database |
MySQL 8.0 (utf8mb4) — metadata |
| Vector library |
Milvus 2.5+ — dense vector search |
| Object storage |
MinIO (S3 compatible) — original documents, parsed products, thumbnails |
| Task queue |
Asynq + Redis — parsing, vectorization, index rebuilding, automatic summary |
| Document parsing |
MinerU (containerized, optional GPU) + local parser |
| Authentication |
Local account (email + password + JWT) |
Architecture
┌─────────────────────────────────────────────────────┐│ Next.js Web (3001) │└────────────────────────┬────────────────────────────┘│ HTTP / SSE┌────────────────────────▼────────────────────────────┐│ Go API Server (8080) ││ Fiber · JWT authentication · tenant isolation · RESTful API │└───────┬────────────┬──────────────┬─────────────────┘│ │ │┌────────▼──┐ ┌──────▼──────┐ ┌───▼────────────┐│ MySQL │ │ Redis │ │ MinIO ││ Metadata │ │ Task queue │ │ File storage │└───────────┘ └──────┬──────┘ └────────────────┘│┌────────▼────────┐│ Asynq Worker ││ Analysis · Vectorization · ││ Automatic Summarization │└────────┬────────┘│┌────────▼────────┐│ Milvus ││ Dense Vector Search │└─────────────────┘
Project Structure
ollmo/├── server/│ ├── main.go│ ├── internal/│ │ ├── agent/│ │ ├── analytics/│ │ ├── apikey/│ │ ├── audit/│ │ ├── auth/│ │ ├── bill/│ │ ├── chat/│ │ ├── doc/│ │ ├── embedding/│ │ ├── graph/│ │ ├── invitation/│ │ ├── kb/│ │ ├── llm/│ │ ├── memory/│ │ ├── pipeline/│ │ ├── rerank/│ │ ├── search/│ │ ├── site/│ │ ├── team/│ │ ├── tenant/│ │ ├── user/│ │ └── ...│ ├── pkg/│ └── config.yaml├── web/│ ├── app/│ ├── components/│ ├── lib/│ └── messages/├── deploy/├── docker-compose.yml└── Makefile
Quick Start
Preconditions
-
Docker + Docker Compose -
Go 1.26+ -
Node.js 20+ -
Make (optional, provides convenient commands)
1. Clone and Configure
git clone https://github.com/ollmo-go/ollmo.gitcd ollmocp .env.example .env
2. Start Infrastructure
make up
Start MySQL, Redis, MinIO, Milvus, and Asynqmon Panel.
| Service |
Address |
Credentials |
| MySQL |
localhost:3306 |
ollmo
/
ollmo_dev_pwd |
| MinIO Console |
http://localhost:9001 |
minioadmin
/
minioadmin |
| Milvus |
localhost:19530 |
— |
| Asynqmon Panel |
http://localhost:8081 |
— |
3. Execute Database Migration
make migrate
4. Start Backend (API + worker)
# Terminal 1: API Servicemake server# Terminal 2: Asynq Worker (Analysis, Vectorization, Automatic Summarization)make worker
5. Start Frontend
make web //localhost:3001
6. One-Click Installation
Open http://localhost:3001 — First access will automatically enter the installation wizard. Fill in the administrator email, password, and can choose to fill in the SiliconFlow API Key. Confirm, the system will automatically:
-
Create administrator team and super administrator user -
Pre-set SiliconFlow supplier, including LLM (DeepSeek-V4-Flash), Embedding (BGE-Large-ZH), Rerank (BGE-Reranker-V2-M3) models -
CreateDemonstration Knowledge Base, with built-in standard template Agent Canvas (Intent Classification → Search → Conditional Branch → LLM / Direct Reply + Idle Branch) -
Upload demonstration documents and automatically complete analysis, slicing, and vectorization
Installation completed, directly enter the home page and input questions to experience the complete question and answer process without manual configuration.
Docker Full-Stack Deployment
make up-full # Build and start all services (infrastructure + server + worker + web)
Configuration
| Source |
Purpose |
| server/config.yaml |
Backend default configuration (DB, Redis, MinIO, Milvus, MinerU, JWT, Quota) |
| .env |
Docker deployment environment variable override |
| Web UI → Settings |
Tenant-level LLM / Embedding / Rerank model (including default selection) |
| Web UI → Knowledge base settings |
Knowledge base-level embedding / rerank model override |
| Web UI → Agent canvas |
Knowledge base-level agent configuration (system prompt words, LLM, search parameters, opening words) |
| Web UI → Pipeline canvas |
Knowledge base-level import configuration (parsers, chunkers, batch size) |
| Web UI → System settings |
Site-level settings (registration switch, automatic memory) — only for super administrators |
Model selection priority: knowledge base configuration → tenant default → config.yaml fallback.
Development conventions
-
All development is performed on the dev branch, main is only used for release. -
Modules are divided bybusiness domainrather than technical layering. Each domain package contains its own model.go / repo.go / service.go / handler.go. -
Comments use English and are concise — only add where intent is unclear.
make build # Build server binary + webmake build-docker # Build Docker imagemake clean # Clean up build products
6. Source Code Repository
Open-source project address:
https://github.com/ollmo-go/ollmo
Next steps