The Knowledge Operating System
Brainy is the open-source foundation that powers all Soulcraft products, including Workshop. Vector search, graph relationships, and document storage โ unified in one simple API.
Plain-language explanation of what Brainy does and why it exists. No jargon, no code.
Install Brainy and write your first knowledge query.
Triple intelligence, noun types, verb types, and zero-config design.
Storage adapters, the Find system, batch operations, and plugins.
Every method โ add, find, relate, branch, version, VFS, neural.
Rust-powered SIMD, quantization, and native embeddings for production.
What is Brainy?
Brainy is a knowledge operating system that combines three types of data intelligence into one simple API:
- Vector Search โ Find content by meaning, not just keywords
- Graph Relationships โ Connect entities with typed relationships (127 verb types)
- Document Filtering โ Query metadata with MongoDB-style operators
This combination โ called Triple Intelligence โ lets you replace multiple specialized databases (Pinecone + Neo4j + MongoDB) with a single unified system.
Quick Example
import { Brainy, NounType, VerbType } from '@soulcraft/brainy'
const brain = new Brainy()
await brain.init() // zero config โ auto-detects everything
const reactId = await brain.add({
data: "React โ a JavaScript library for building user interfaces",
type: NounType.Concept,
metadata: { category: "frontend", year: 2013 }
})
// Triple Intelligence: vector + graph + metadata in one query
const results = await brain.find({
query: "modern frontend frameworks", // vector similarity
where: { year: { greaterThan: 2015 } }, // metadata filter
connected: { to: reactId, depth: 2 } // graph traversal
})Key Features
Zero Config
Auto-detects storage, embeddings, and indexes. Just install and use.
Git-Style Versioning
Fork, commit, and time-travel your data. No other vector DB has this.
Native Performance
Rust-powered HNSW, SIMD, and GPU acceleration on Node.js 22+ and Bun 1.3+.
MIT Licensed
Free forever. No vendor lock-in. Self-host or use our cloud.
Ready to get started?