MIND
SDKs
Rust, TypeScript and HTTP for MIND.
Every operation on MIND is reachable from every shipped SDK plus the raw HTTP wire.
Rust
use map_sdk::Client;
use serde_json::json;
let client = Client::from_env()?;
let resp = client
.dispatch(
"MIND",
"v1.0.0",
"store_memory",
json!({
"kind": "episodic",
"payload": {
"tag": "demo",
"data": "hello"
}
}),
)
.await?;
println!("{:#?}", resp);TypeScript
import { MapClient } from '@l1fe/map';
const map = new MapClient({
apiKey: process.env.MAP_API_KEY!,
agentDid: process.env.MAP_AGENT_DID!,
tenantId: 'org_acme'
});
const resp = await map.dispatch({
protocol: 'MIND',
version: 'v1.0.0',
operation: 'store_memory',
input: {
"kind": "episodic",
"payload": {
"tag": "demo",
"data": "hello"
}
}
});HTTP wire
POST /v1/dispatch HTTP/2
Host: api.multiagentic.dev
Authorization: Bearer $MAP_API_KEY
X-Agent-Did: $MAP_AGENT_DID
X-Tenant-Id: org_acme
Content-Type: application/json
{
"protocol": "MIND",
"version": "v1.0.0",
"operation": "store_memory",
"input": {
"kind": "episodic",
"payload": {
"tag": "demo",
"data": "hello"
}
},
"tenant_id": "org_acme"
}All operations
map.dispatch(...)with operation"store_memory"— Insert a memory cell into one of the four memory types with optional vector + graph indexing.map.dispatch(...)with operation"recall_memory"— Recall memories by semantic, structural, or temporal predicate; returns ranked results with provenance.map.dispatch(...)with operation"associate_memories"— Create or strengthen an association between memory cells; updates the knowledge graph.map.dispatch(...)with operation"query_knowledge"— Query the knowledge graph for subgraph snapshots, optionally bound by source attestation.map.dispatch(...)with operation"fusion_request"— Compose a multi-modal fusion across memory types for a higher-level reasoning bind.map.dispatch(...)with operation"mind.beliefs.assert"— Assert a belief into the belief base; justifications recorded.map.dispatch(...)with operation"mind.beliefs.retract"— Retract a previously asserted belief; justification chain updated.map.dispatch(...)with operation"mind.beliefs.query"— Query the active belief base by predicate.map.dispatch(...)with operation"mind.beliefs.justify"— Return the justification chain for a held belief.map.dispatch(...)with operation"mind.beliefs.subscribe"— Subscribe to belief changes for live reasoning binds.map.dispatch(...)with operation"wm.bridge"— Working memory bridge — feature-gated; exposes WM events to bound reasoning services.
See SDKs for client construction, retry, trace propagation.