Ragfish is built on a modular architecture that separates AI orchestration, knowledge ingestion, vector storage, and AI model integrations into independent, reusable components.
Modern AI applications involve many moving parts. Documents need to be processed, transformed into embeddings, stored efficiently, retrieved intelligently, and combined with large language models to generate accurate responses.

Rather than combining all of these responsibilities into a single package, Ragfish follows a layered architecture where every component has a clearly defined responsibility.

This modular approach makes applications easier to maintain, test, extend, and scale.
Your application contains the business logic, user interface, authentication, workflows, and user experience.
The Core Framework connects these technologies into a unified developer experience, allowing every component to work together seamlessly. Instead of writing custom integration code for every project, developers build on a stable foundation that is designed to grow with their applications.

The Core Framework is the engine that coordinates every AI interaction. It is responsible for:
This modular design allows developers to choose the AI providers, vector databases, and knowledge connectors that best fit their application while maintaining a consistent development experience.
Ragfish connects directly to your existing data sources - databases, file storage, CMS platforms, or APIs - and pulls content in without requiring manual uploads or format conversion.
Once ingested, documents are broken into smaller, meaningful segments that preserve context. This lets the AI retrieve precise, relevant information instead of returning entire documents.
Instead of relying on exact keyword matches, Ragfish understands the meaning behind a query and retrieves the most relevant content — even when the wording differs from what's in the source data.
Ragfish manages the full conversation flow - tracking context across turns, routing queries to the right data sources, and assembling retrieved information into a clear, coherent response.
Large Language Models and embedding providers are implemented as dedicated packages.





Because providers follow a common interface, switching models requires minimal application changes.
Vector databases store embeddings and perform similarity searches.
Qdrant


Connectors import knowledge from different business systems.

Each connector focuses on extracting and preparing knowledge while the Core Framework handles indexing and retrieval.
Every user question follows a structured retrieval pipeline.






Knowledge enters Ragfish through specialized connectors before becoming searchable.





Ragfish is distributed as a collection of independent packages.

Every package has a single responsibility.
Add new AI providers, vector stores, and connectors without modifying the Core Framework.
Choose the technologies that best fit your application.
Independent packages make upgrades and maintenance easier.
Designed for production deployments with long-term scalability in mind.
Develop against a unified interface while using different storage technologies.

As your AI applications evolve, the Ragfish architecture grows with them.
You can begin with a simple AI assistant using OpenAI, Qdrant, and a Spreadsheet connector, then expand your solution by adding new providers, vector databases, and knowledge connectors—all while keeping the same application architecture.
Understanding the architecture is the first step toward building with Ragfish.
Next, explore the Core Framework to learn how Settings, Ingestion, Chunking, Retrieval, and Chat work together to power intelligent AI applications.