freshcrate
Home > Databases > oasisdb

oasisdb

OasisDB: A minimal and lightweight vector database

Description

OasisDB: A minimal and lightweight vector database

README

OasisDB

Coverage Status License

Build

English | ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿš€ What is OasisDB?

OasisDB is a high-performance vector database designed for simplicity and ease of use. Unlike other complex and heavy vector databases, OasisDB provides efficient vector similarity search through both standalone deployment and RESTful API interfaces.

๐ŸŽฏ Perfect for Beginners

This project was created to help developers learn vector search easily and effectively. You can explore detailed design ideas and key concepts in our Design Documentation.

โœจ Features

๐Ÿ” Multiple Vector Index Types

  • HNSW (Hierarchical Navigable Small World) - Fast approximate search
  • IVFFLAT (Inverted File with Flat compression) - Balanced performance and accuracy
  • IVFPQ (Inverted File with Product Quantization) - Reduced memory usage and faster distance computation
  • Flat - Exact search with maximum accuracy
  • And more index types for different use cases

โšก Ultra-Lightweight Architecture

  • Standalone deployment as a single process
  • Zero internal network communication - no complex distributed setup
  • Minimal resource footprint for easy deployment

๐Ÿค– Embedding Service Integration

๐Ÿ› ๏ธ Developer-Friendly

  • RESTful API for easy HTTP integration
  • Multi-language SDKs: Python, Go, etc(under development)

๐Ÿ—๏ธ Architecture

Architecture

๐Ÿš€ Quick Start

Prerequisites

  • Go 1.22+
  • CMake 3.22+
  • Python 3.10+
  • uv(optional for package dependencies)

Build from source

make build
./bin/oasisdb

# or you can use the script to start oasisdb
chmod +x ./scripts/start.sh
./scripts/start.sh

Usage

You can use HTTP client to send request to oasisdb, and we recommend uv to install Python dependencies.

from client import OasisDBClient
client = OasisDBClient()
client.health_check()

For more usage, please see API Documentation, you can also use example.py to see how to use it. And now we also provide Go client SDK, you can see the example in example.go.

๐Ÿค Contribution

I welcome any contributions to this project. Before contributing, please open an issue to discuss the changes you want to make.

If you want to start a PR for code changes, please follow the steps below to ensure the code quality:

make test
make lint # Ensure golangci-lint is installed

The contributors of this project are listed below, thank you all for your contributions!

contributors

๐Ÿ“ License

OasisDB is licensed under Apache 2.0 License

Release History

VersionChangesUrgencyDate
v0.1.2v0.1.2 - See CHANGELOG.md for details ## What's Changed * complete FlatIndex and test๏ผŒimplement vectorIndex interface by @leebrouse in https://github.com/lizzy-0323/oasisdb/pull/39 * chore: implement automated release workflow by @lizzy-0323 in https://github.com/lizzy-0323/oasisdb/pull/40 * feat: add hamming distance by @lizzy-0323 in https://github.com/lizzy-0323/oasisdb/pull/45 * feat: update IVF index type to IVFFLAT and adjust related tests by @lizzy-0323 in https://github.com/lizzy-High4/8/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

cortexdbA lightweight, embeddable vector database library for Go AI projects.v2.18.1
redis-ai-resourcesโœจ A curated list of awesome community resources, integrations, and examples of Redis in the AI ecosystem.main@2026-04-20
vespaAI + Data, online. https://vespa.aiv8.675.23
mddbA minimal, lightweight structured data store designed for small applications, scripts and automation workflows. Built for simplicity, portability and low overhead.v2.9.14
PageIndex๐Ÿ“‘ PageIndex: Document Index for Vectorless, Reasoning-based RAGmain@2026-04-10