simba — OpenSource Production ready Customer service with built in Evals and monitoring

High-Efficiency Customer Service Assistant
See how easy it is to integrate Simba into your website

Introduction: Why Simba Exists in Your Tech Stack
In today’s fast-paced digital world, customer service excellence is a competitive differentiator. The Simba project emerges as a thoughtful response to a simple but often overlooked truth: many AI-powered assistants are powerful yet opaque. They’re “black boxes” that deliver answers but offer little visibility into how those answers are produced, evaluated, or tuned for your particular knowledge base. Simba is designed for teams that demand control, transparency, and continuous improvement. It is an open-source customer service assistant built from the ground up with evaluation and customization at its core. The goal is not to replace human agents but to empower them with a capable, adaptable AI companion that you can measure, tweak, and trust.
What is Simba?
Simba is an open-source customer service assistant built for teams who need full control over their AI. Unlike closed, vendor-locked solutions, Simba emphasizes evaluation and customization so you can measure performance, iterate quickly, and tailor the assistant to your exact needs. The project centers on openness: open data handling, transparent evaluation, and modular components that you can swap as your requirements evolve. Simba is designed to be deployed on your infrastructure, giving you the freedom to choose data sources, embedding models, vector stores, and language models that fit your risk tolerance and business needs.
A deeper look at Simba’s core philosophy:
- Evaluation-first design: Simba ships with built-in tools to measure retrieval accuracy, generation quality, and latency. You don’t have to guess how well your assistant is performing; you can see quantitative signals that guide improvement.
- Full customization: The platform supports swapping embedding models, LLMs, vector stores, chunking strategies, and rerankers. This is your pipeline, under your control.
- Easy integration: A drop-in npm package lets you add a customer service chat widget to your website with minimal friction. No vendor lock-in, just plug-and-play capabilities that you can tailor.
- Modern, production-ready architecture: From streaming responses to asynchronous processing and scalable components, Simba is built for real-world deployments.
- A clean, modern dashboard: Manage documents, monitor conversations, and analyze performance from a purposeful user interface that emphasizes clarity and actionability.
Why Simba? The problem-solution view
To understand Simba’s value proposition, consider common challenges in AI-assisted customer support and how Simba addresses them:
Problem: You can’t measure AI quality reliably. Simba’s Solution: A built-in evaluation framework that captures retrieval metrics, generation quality, and latency, so you know precisely how your assistant performs.
Problem: Generative responses lack relevance or fidelity. Simba’s Solution: A fully customizable retrieval-augmented generation (RAG) pipeline with your own data, ensuring the assistant refers to the right sources and stays aligned with your knowledge base.
Problem: Hard to integrate AI into existing websites. Simba’s Solution: A drop-in npm package that makes adding a chat widget to your site straightforward, reducing integration friction.
Problem: Vendor lock-in and opaque architectures. Simba’s Solution: Open-source, self-hosted infrastructure that lets you swap components at will, so you’re not tied to a single vendor’s roadmap.
Key Features
Evaluation-First Design
- Simba tracks retrieval accuracy, generation quality, and latency out of the box.
- The emphasis is on observability: you’ll know what the model retrieved, how it was generated, and how long it took to respond.
- This data empowers teams to tune prompts, adjust retrieval pipelines, and optimize end-user satisfaction.
Fully Customizable
- Swap embedding models, LLMs, vector stores, chunking strategies, and rerankers.
- Your pipeline, your rules. You can tailor the system to your data, your compliance requirements, and your user experience standards.
- The architecture is modular, so swapping components does not require a complete rewrite.
npm Package for Easy Integration
- A straightforward npm package enables you to add a customer service chat widget to your website with a single install.
- The widget is designed to plug into your existing knowledge base and data sources, delivering a responsive, AI-assisted customer experience.
Modern Dashboard
- Manage documents, monitor conversations, and analyze performance with a clean, intuitive UI.
- The dashboard is designed for operators and engineers alike, offering both high-level metrics and deep-dive exploration.
Production-Ready
- Simba supports streaming responses and asynchronous processing to keep interactions snappy.
- The underlying architecture is aimed at scalability, so teams can serve growing volumes of user inquiries without compromising quality.
Quick Start
There are multiple paths to get Simba up and running, depending on your preference for containers, language, or environment.
Docker (Recommended)
- The fastest route to “hello Simba” is to clone the repository, spin up services, and begin exploring the dashboard locally.
Code snippet (the fastest path): bash git clone https://github.com/GitHamza0206/simba.git cd simba
Create a .env file
OPENAIAPIKEY=youropenaiapi_key
Run with Docker
CPU
DEVICE=cpu make build && make up
NVIDIA GPU
DEVICE=cuda make build && make up
Visit http://localhost:3000 to access the dashboard.
Manual Installation
- If you prefer not to use Docker, you can install more directly on your system.
Code snippet: bash pip install simba-core
bash simba server simba front
Development Setup with Claude Code
If you’re exploring Claude Code, Simba offers a streamlined setup pathway. With Claude Code, you can get the project configured and running with a single command:
Code snippet: bash /setup --all
This command installs all dependencies (Python, frontend, npm package) and starts the infrastructure services. If you want to target specific areas, there are options to tailor the setup:
- /setup --backend for Python dependencies only
- /setup --frontend for Next.js + simba-chat only
- /setup --services for starting the Docker infrastructure only
Website Integration
Integrating Simba into a website is designed to be simple and quick.
Code snippet: bash npm install simba-chat-widget
Code snippet (React example): jsx import { SimbaChat } from 'simba-chat-widget';
function App() { return (
With this widget in place, your customers gain access to an AI assistant powered by your knowledge base, while you retain visibility and control over how it operates.
Evaluation & Metrics
Simba’s strength lies in its commitment to measurable performance. The platform emphasizes three pillars of evaluation:
- Retrieval Metrics: Precision, recall, and relevance scores help you understand how effectively the system fetches pertinent information from your data stores.
- Generation Metrics: Faithfulness, answer relevancy, and latency measure how accurately and quickly the assistant generates responses grounded in sources.
- Conversation Analytics: User satisfaction, resolution rates, and engagement depth provide a user-facing view of how well issues are resolved and how customers perceive the AI assistant.
By continuously tracking these metrics, teams can identify bottlenecks, tune the retrieval-then-generation pipeline, and iterate toward higher customer satisfaction.
Architecture
Simba’s architecture is designed to be transparent, extensible, and resilient. The following high-level view captures the core components and data flow:
[ASCII diagram preserved from the original documentation]
┌─────────────────┐ ├ Your Website ┤ │ (npm package) │ └─────────────────┘ │ ▼ ┌─────────────────┐ │ Simba API │ │ (FastAPI) │ └─────────────────┘ │ ▼ ┌─────────────────┐ │ Vector Store │ │ (Qdrant/FAISS) │ └─────────────────┘ ▲ │ ┌──────┴───────────┐ │ LLM │ Celery │ │ (OpenAI/Local) │ │ (Ingestion) │ └──────────────────┘ ▼ ┌─────────────────┐ │ Redis │ │ (Task Queue) │ └─────────────────┘
This architectural pattern emphasizes a clean separation of concerns:
- The frontend widget (npm package) communicates with Simba’s API to fetch answers and manage conversations.
- The API coordinates retrieval-augmented generation (RAG) using a vector store (e.g., Qdrant or FAISS) and a chosen LLM, with potential reranking and aggregation steps.
- Ingestion and embedding tasks run as background jobs (Celery) with a Redis-backed queue to ensure responsiveness under load.
- The system supports both cloud-based or on-premises deployment, enabling you to plug in local models or hosted services according to your security and latency requirements.
Docker Deployment
For production-like environments and reproducible setups, Simba supports Docker-based deployment.
Code snippet: bash
CPU
DEVICE=cpu make build && make up
NVIDIA GPU
DEVICE=cuda make build && make up
This approach ensures consistent environments across development, testing, and production, helping teams avoid drift and minimize onboarding friction.
Customization Options
Simba is built around flexibility. Here are the primary customization axes you can tune to fit your use case:
- Vector Store: Qdrant, FAISS, Chroma
- Embeddings: OpenAI, HuggingFace, Cohere
- LLM: OpenAI, Anthropic, Local models
- Reranker: Cohere, ColBERT, Cross-encoder
- Parser: Docling, Unstructured, PyMuPDF
With these options, you can assemble a pipeline that aligns with your data formats, privacy requirements, and latency budgets. The open architecture allows you to swap components without rewriting the entire system, so you can evolve the solution as your data grows and your objectives shift.
Roadmap
Simba maintains a practical, action-oriented roadmap that prioritizes immediate value while laying groundwork for future features:
- [x] Core evaluation framework
- [x] npm chat widget
- [x] Streaming responses
- [ ] Multi-tenant support
- [ ] Advanced analytics dashboard
- [ ] Webhook integrations
- [ ] Fine-tuning pipeline
Contributing
Simba welcomes contributions from the community. If you’re interested in helping to improve Simba, here’s a simple path:
- Fork the repository
- Create a feature branch
- Submit a pull request with a clear description of changes and rationale
Support
If you run into issues or want to discuss enhancements, you can open an issue on GitHub or reach out via email:
- GitHub Issues: https://github.com/GitHamza0206/simba/issues
- Contact: [email protected]
What Makes Simba Stand Out
- Open-source and self-hosted: You keep control, avoid vendor lock-in, and can adapt every component to your security and compliance requirements.
- Evaluation-driven improvements: The structured metrics empower teams to make data-driven decisions, moving beyond anecdotal assessments.
- Easy to onboard: The npm integration and straightforward Docker setup mean you can get a live, testable chat widget in minutes.
- A path for growth: As your data and needs evolve, Simba’s modular design lets you swap components while preserving the existing user experience.
Usage Scenarios
- E-commerce customer support: A knowledge base that spans orders, returns, shipping, and product details can be quickly augmented with Simba’s retrieval-augmented approach, ensuring responses stay grounded in your data.
- SaaS support: Self-hosted deployment gives you control over sensitive user data while providing scalable, responsive AI-assisted support.
- Internal helpdesk: Simba can act as a first line of defense for IT or HR inquiries, triaging requests and routing complex cases to human agents.
Integrating Simba in Practice
To embed Simba into a production website, teams typically follow a pattern like this:
- Define your knowledge base and data ingestion process: PDFs, manuals, FAQs, wikis, and chat transcripts.
- Choose an embedding model and vector store suitable for your data size and latency targets.
- Set up the LLM and any reranking strategy to ensure answers stay faithful to sources.
- Deploy Simba via Docker for a reproducible environment, or install components directly if you prefer a bespoke stack.
- Integrate the Simba chat widget into the user interface, wiring the widget to your authentication and session handling.
The Simba integration demo GIF included in the input serves as a quick visual reminder of how a site looks with Simba in place. This kind of visual, along with the product’s open-source nature, speaks to the core promise: you can see, measure, and adjust how your AI assistant behaves in real time.
Images and Visual Touchpoints
- Simba Logo: A clear, recognizable emblem that anchors the brand and signals a modern, trustworthy AI assistant.
- Simba Integration Demo GIF: A practical visualization of how Simba appears and performs within a live website.
- Simba Product Hunt badge: A nod to community recognition and ongoing interest in the project.
- Social proof badges: License, Stars, Issues, PyPI, and npm badges demonstrate activity, openness, and the project’s ecosystem.
Conclusion: Simba as a Practical, Trustworthy AI Partner
Simba is more than a software package; it’s a philosophy about building AI assistants you can trust, measure, and tailor. By prioritizing evaluation, customization, and open, self-hosted deployment, Simba gives teams the tools they need to deliver high-quality customer service experiences. You don’t have to settle for opaque AI systems or one-size-fits-all solutions. With Simba, you can craft a support assistant that closely reflects your data, your policies, and your customers’ expectations.
If you’re exploring a reliable path to AI-powered customer service that you can own, Simba offers a compelling combination of transparency, adaptability, and practical usability. The embedded evaluation framework, modular architecture, and straightforward integration options create a strong foundation for teams that want to grow their AI capabilities responsibly and effectively.
Images used in this post
- Simba Logo:

- Simba Integration Demo:

- Simba Product Hunt badge: [embedded badge link from Product Hunt in the input]
- Badges (license, stars, issues, PyPI, npm): a visual strip illustrating community activity and project health
Note: The original input includes a table under the “Why Simba?” section. For readability and flow in this blog post, the content has been reformatted into narrative copy and bullet points to avoid tables while preserving the meaning of the problem-solution pairs. If you’d like, I can reintroduce a compact, non-table summary of those points as a bulleted list with explicit problem-solution pairs.
Enjoying this project?
Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.
Repository:https://github.com/GitHamza0206/simba
GitHub - GitHamza0206/simba: simba — OpenSource Production ready Customer service with built in Evals and monitoring
OpenSource Production ready Customer service with built in Evals and monitoring...
github - githamza0206/simba

