Official client libraries for MindFry — Memory with a Conscience
Connect to MindFry and manage memories that decay, bond, and feel.
⚠️ EXPERIMENTAL: MindFry simulates biological memory processes. Data may be inhibited based on the system's "mood". Do not use for banking.
| Language | Status | Location | Package |
|---|---|---|---|
| TypeScript | ✅ Stable | ts/ |
@mindfry/sdk |
| Go | 🚧 Planned | go/ |
— |
| Python | 🚧 Planned | python/ |
— |
| Rust | 🚧 Planned | rust/ |
— |
npm install @mindfry/sdkimport { MindFry } from '@mindfry/sdk'
const brain = new MindFry({ host: 'localhost', port: 9527 })
await brain.connect()
await brain.lineage.create({ key: 'fire', energy: 0.9 })
await brain.lineage.stimulate({ key: 'fire', delta: 0.5 })
await brain.disconnect()📚 Docs: mindfry-docs.vercel.app
All SDKs implement MFBP (MindFry Binary Protocol):
- 🧠 Lineage — Create, stimulate, query ephemeral memories
- 🔗 Bond — Connect memories with weighted relationships
- 🔍 Query — Pattern matching, top-K, trauma detection
- ⚡ Pipelining — High-throughput TCP batching
- 🎭 Mood-aware — Behavior adapts to Cortex state
- MindFry Engine v1.6.0+
- Language-specific requirements in each SDK folder
- MindFry Core — Rust engine
- Documentation — Full docs
- crates.io — Rust package
Want to add a new language SDK? See the TypeScript implementation in ts/ as reference. All SDKs should implement the MFBP protocol.
Apache-2.0 © Erdem Arslan