feat: Add Brain Cloud integration and catalog command
- Add brainy cloud setup command for auto-provisioning - Add brainy catalog command for viewing augmentations - Update CLI help with Brain Cloud commands - Improve cloud connection flow
This commit is contained in:
parent
b9ce67f64c
commit
6de6adec17
3 changed files with 896 additions and 12 deletions
29
README.md
29
README.md
|
|
@ -4,7 +4,8 @@
|
|||
|
||||
[](https://badge.fury.io/js/%40soulcraft%2Fbrainy)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://soulcraft.com/console)
|
||||
[](https://soulcraft.com)
|
||||
[](https://soulcraft.com/brain-cloud)
|
||||
[](https://nodejs.org/)
|
||||
[](https://www.typescriptlang.org/)
|
||||
|
||||
|
|
@ -107,6 +108,7 @@ Try Brainy instantly in your browser. No signup. No credit card.
|
|||
|
||||
## ⚡ Quick Start (60 Seconds)
|
||||
|
||||
### Open Source (Local Storage)
|
||||
```bash
|
||||
npm install @soulcraft/brainy
|
||||
```
|
||||
|
|
@ -125,6 +127,31 @@ await brain.addVerb("Elon Musk", "founded", "Tesla")
|
|||
|
||||
// Search naturally
|
||||
const results = await brain.search("companies founded by Elon")
|
||||
```
|
||||
|
||||
### ☁️ Brain Cloud (AI Memory + Agent Coordination)
|
||||
```bash
|
||||
# Auto-setup with cloud instance provisioning (RECOMMENDED)
|
||||
brainy cloud setup --email your@email.com
|
||||
|
||||
# Or install manually
|
||||
npm install @soulcraft/brainy @soulcraft/brain-cloud
|
||||
```
|
||||
|
||||
```javascript
|
||||
import { BrainyData, Cortex } from '@soulcraft/brainy'
|
||||
import { AIMemory, AgentCoordinator } from '@soulcraft/brain-cloud'
|
||||
|
||||
const brain = new BrainyData()
|
||||
const cortex = new Cortex()
|
||||
|
||||
// Add premium augmentations (requires Early Access license)
|
||||
cortex.register(new AIMemory())
|
||||
cortex.register(new AgentCoordinator())
|
||||
|
||||
// Now your AI remembers everything across all sessions!
|
||||
await brain.add("User prefers TypeScript over JavaScript")
|
||||
// This memory persists and syncs across all devices
|
||||
// Returns: SpaceX and Tesla with relevance scores
|
||||
|
||||
// Query relationships
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue