shuyu-labs/AntSK
Self-hosted .NET 9 and Blazor workspace for offline document Q&A and AI assistants
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AntSK is a .NET 9 application with a Blazor Server UI and ASP.NET Core Web API in src/AntSK. AntSK.Domain contains domain models, services, and repository interfaces; AntSK.LLM houses model integrations. OCR, LlamaFactory integration, and background jobs are split into separate projects. SqlSugar handles relational persistence, while Kernel Memory uses a separately configurable vector backend.
Document import runs in the background: files are parsed, chunked, embedded, and indexed. When a chat uses a knowledge base, the application retrieves and ranks relevant chunks before adding them to the model prompt. Semantic Kernel handles model orchestration and function calls; HTTP API plugins and .NET DLLs connect the assistant to business services. Treat DLLs as trusted application code rather than assuming plugin isolation.
Key Capabilities & Differentiators
AntSK ingests Word, PDF, Excel, TXT, Markdown, JSON, and PowerPoint files. It supports OCR for image text extraction and local BGE embedding and reranking for retrieval. Knowledge-base answers can cite source passages, which makes them easier to check but does not guarantee factual accuracy. The same application provides configurable assistants, Web API access, and Stable Diffusion image generation.
Local inference options include Ollama, llama.cpp with GGUF, and LlamaFactory. Cloud integrations include OpenAI, Azure OpenAI, and iFlytek Spark. Vector storage can use disk, nonpersistent memory, PostgreSQL with pgvector, Qdrant, Redis, or Azure AI Search. LlamaFactory is an integration option for local inference; do not plan around a built-in fine-tuning workflow, which is listed as planned.
Trade-offs & Limitations
AntSK is most compelling when a team already works in C# and wants to run document Q&A and inference on its own network. Dify Cloud or Coze are alternatives when a managed service is acceptable and operating databases, inference runtimes, and upgrades is not a priority. AntSK reserves visual workflow authoring and GraphRAG for Pro, so do not evaluate the community edition as a substitute for either feature. For scanned documents or complex tables, compare ingestion and answer quality with RAGFlow on your own files; OCR support alone does not establish layout fidelity.
Local execution keeps model calls under your control but shifts capacity planning to your team. Import competes with inference for resources; start with one local import worker and test before raising concurrency. Built-in RBAC and multitenancy are useful starting points, not substitutes for testing tenant-level access through the UI and API. Commercial use of the community edition is described as conditional on retaining the logo and copyright notices; verify the actual LICENSE before distribution or procurement.
Hardware & Deployment Guide
Use docker-compose.simple.yml for a SQLite and disk-backed evaluation. For the PostgreSQL variant, keep appsettings.json beside docker-compose.yml and match the database connection settings to the Compose credentials. Build from source with the .NET 9 SDK; Python 3.8+ is optional for LlamaFactory. For an air gap, stage images, model weights, and other runtime assets in advance, then verify that chat, embeddings, reranking, and enabled plugins use only reachable internal endpoints.
Treat the full Compose configuration as a development baseline: it publishes PostgreSQL on 5432 and Aspire Dashboard ports 18888 and 18889, allows anonymous dashboard access, and includes example credentials. Before production, restrict those ports, secure dashboard access, inject strong login credentials, terminate HTTPS at a reverse proxy, tighten CORS, and back up persistent data. The visible release history moves from 0.6.4 in June 2025 to 0.6.6 on October 5, 2025; the supplied release entries contain comparison links, not enough detail to attribute specific changes.
C# teams building internal document Q&A and AI assistants that can run on local models and integrate with existing business APIs.
You want a managed service, need advanced visual workflows in the community edition, or depend on high-fidelity extraction from complex documents and have not validated your corpus.
Quick Start & Installation
git clone https://github.com/shuyu-labs/AntSK.git cd AntSK
Comparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| AntSK ★ | 1.3k | — | CSS | — | Self-hosted .NET 9 and Blazor workspace for offline document Q&A and AI assistan |
| JeecgBoot | 48.7k | +86 | Java | Apache-2.0 | Spring Boot and Vue low-code platform for AI-enabled business systems |
| gpt_academic | 71.8k | +45 | Python | GPL-3.0 | Self-hosted, plugin-based LLM workspace for reading and writing research papers |
| onyx | 33.7k | +68 | Python | — | Self-hosted AI chat with hybrid search across permission-scoped team knowledge |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/shuyu-labs/AntSK.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about AntSK
How do I integrate AntSK with an existing .NET application or add a model provider?
Do I need a GPU, and how should I size an offline deployment?
Can we use AntSK commercially and meet a data-residency requirement?
When is AntSK a better choice than Dify Cloud, Coze, or RAGFlow?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy