Embed AI Memory Into Any Application
Replace your database layer with an intelligent memory engine. One line of code to install. Scale to millions of records.
go get github.com/Qosil/bRRAIn/sdk
What bRRAIn Embedded Does
Replace Your Database
Swap your PostgreSQL or MySQL layer with bRRAIn's graph memory. Application logic stays the same. Same API, smarter retrieval.
Intelligent Retrieval
Queries automatically enriched with graph context. No more hand-crafted JOINs or full-text kludges. Let the graph do the thinking.
Zero-Trust Security
Every record encrypted, signed, and auditable. HIPAA- and SOC 2-ready envelopes. Your data. Your keys. Your control.
Quick Start
Three tabs. Three steps. Working in under 10 minutes.
go get github.com/Qosil/bRRAIn/sdk
import "github.com/Qosil/bRRAIn/sdk"
client := sdk.NewClient("YOUR_API_KEY",
sdk.WithHandler("http://localhost:8080"))
ws, err := client.CreateWorkspace("my-app")
if err != nil {
panic(err)
}
record := map[string]interface{}{
"type": "patient_note",
"patient_id": "p123",
"content": "Follow-up appointment scheduled...",
}
id, err := ws.Store(record,
sdk.WithContext(map[string]string{
"visit_date": "2026-04-16",
"severity": "routine",
}))
results, _ := ws.Retrieve(sdk.Query{
Search: "follow-up appointments",
Limit: 10,
})
Built for every industry
Schema-agnostic ingestion plus domain-specific Handler adapters.
Mining & Geological
Sensor data, bore logs, and geological samples. Query by depth, mineral composition, and geological era.
Healthcare
Patient records, lab results, diagnoses. Find similar cases instantly. HIPAA-compliant envelopes.
Finance
Transactions, audit trails, compliance records. Graph-based anomaly detection.
Legal
Case files, precedents, contracts. Full-text plus semantic search across your document graph.
Manufacturing
Supply chain, inventory, production logs. Trace lineage and dependencies in milliseconds.
IoT & Teleoperation
Sensor telemetry, command logs, anomalies. Time-series plus graph queries on live data.
Architecture
The SDK sits inside your application, complementing your existing database with graph-based intelligent retrieval.
Complementary to your stack
| Capability | Your Database | bRRAIn SDK | Together |
|---|---|---|---|
| Structured queries | Yes | Limited | Yes |
| Semantic search | No | Yes | Yes |
| Graph traversal | No | Yes | Yes |
| Full-text search | Limited | Yes | Yes |
| Zero-trust envelopes | No | Yes | Yes |
| Provenance & audit | Manual | Built-in | Built-in |
Ready to embed bRRAIn?
Start free. Scale when you need to. No credit card required for the Developer tier.
Related resources
OEM pricing
Volume discounts up to 60% off retail. Free Developer tier, enterprise tiers with dedicated TAM.
View pricing →Developer certifications
Three progressive levels — SDK Developer, Integration Engineer, Platform Architect. 3-year credentials.
View path →Integration examples
Reference patterns for Gin, Echo, Express, Fastify, Flask, FastAPI, plus DB and MQ adapters.
Browse examples →