100% Open Source
Every Barrel project is Apache 2.0 licensed. Fork it, modify it, deploy it anywhere. We monetize support and managed infrastructure, not code access.
Projects
Barrel is one database made of independent libraries. Use the whole thing, or just the piece you need.
barrel
The full edge-AI databaseThe full database: documents, blobs, and vectors under one id, with BQL, timeline, and the agent layer.
barrel_docdb
Document layerVersion-vector MVCC, BQL queries, attachments, changes feed, and replication.
barrel_vectordb
Vector layerHNSW, DiskANN, FAISS, and BM25 backends with hybrid search and metadata filtering.
barrel_embed
Embedding libraryEmbeddings across providers: OpenAI, Ollama, local models, and more.
barrel_rerank
RerankingCross-encoder reranking to sharpen search results.
barrel_crypto
Encryption at restAES-256-GCM envelope, HKDF key derivation, and pluggable key providers.
barrel_spaces
Agent layerSpaces, capability tokens, sessions with TTL, and handoffs.
barrel_server
REST + MCP serverExposes Barrel over HTTP (REST/JSON) and the Model Context Protocol.
barrel_faiss
FAISS bindings (optional)Erlang NIF bindings for FAISS. An optional backend for the vector layer.
Apache 2.0 License
Every Barrel project is released under the Apache License, Version 2.0. This means you can:
You can:
- Use commercially
- Modify and distribute
- Use privately
- Patent use granted
You must:
- Include license
- State changes
- Include copyright
Contributing
Documentation
Improve docs, fix typos, add examples
Feature Ideas
Open issues to discuss new features
Code
Submit pull requests with fixes and features
Need Support or Managed Hosting?
While the code is free, we offer professional support and managed hosting for teams that need guaranteed response times, deployment assistance, or don't want to manage infrastructure.
Contact Us for an OfferAvailable Services