bridgemem 0.1.0

Official lightweight HTTP and Model Context Protocol (MCP) client SDK for BridgeMem autonomous AI memory nodes.
Documentation
  • Coverage
  • 62.5%
    15 out of 24 items documented0 out of 14 items with examples
  • Size
  • Source code size: 14.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 183.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • BartosMihai

BridgeMem Rust SDK (bridgemem)

Official zero-dependency Rust client for BridgeMem autonomous organizational memory and Zero-Knowledge AI vaults (https://bridgemem.com | specification & MCP docs at https://bridgemem.org).

Features

  • Zero external crate dependencies (100% Rust std — sub-second builds and zero supply-chain bloat).
  • Direct Data-Plane Search (POST /api/v1/search) with scoped brk_... or Bearer tokens.
  • Model Context Protocol (MCP) JSON-RPC 2.0 (POST /mcp) helper for tools/list and tools/call.

Quick Start

use bridgemem::{BridgeMemClient, SearchQuery};

fn main() -> Result<(), bridgemem::SdkError> {
    let client = BridgeMemClient::new("http://127.0.0.1:8508")?
        .with_bearer_token("brk_example_scoped_key");

    let raw_json = client.search(&SearchQuery::new("default", "CAN bus termination resistance"))?;
    println!("BridgeMem response: {raw_json}");
    Ok(())
}

License

Dual-licensed under MIT or Apache-2.0 at your option.