oxibrain-cli 0.5.0

Command-line interface and MCP server for oxibrain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use oxibrain::{Brain, BrainConfig};
use std::path::Path;

pub async fn run(dir: &Path, space: &str) -> anyhow::Result<()> {
    let brain = Brain::open(BrainConfig::at(dir)).await?;
    let id = brain.ensure_space(space).await?;
    println!("initialized brain at {}", dir.display());
    println!("space '{space}' -> {id}");
    // ADR-005: init stays offline; say so instead of surprising the user later.
    println!(
        "model weights pull automatically on first extract — pre-fetch with `oxibrain model pull`"
    );
    Ok(())
}