MAP Docs
MAVEN

SDKs

Rust, TypeScript and HTTP for MAVEN.

Every operation on MAVEN 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(
        "MAVEN",
        "v1.0.0",
        "attest",
        json!({
  "example": true
}),
    )
    .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:  'MAVEN',
  version:   'v1.0.0',
  operation: 'attest',
  input:     {
  "example": true
}
});

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": "MAVEN",
  "version": "v1.0.0",
  "operation": "attest",
  "input": {
    "example": true
  },
  "tenant_id": "org_acme"
}

All operations

  • map.dispatch(...) with operation "attest" — Attest a source: cryptographic proof of origin, integrity check, citation envelope.
  • map.dispatch(...) with operation "cite" — Generate a citation envelope bound to a byte range and a source attestation.
  • map.dispatch(...) with operation "contradict" — File a contradicting claim against an existing attestation; both preserved.
  • map.dispatch(...) with operation "resolve" — Resolve contradictions through MOOT arbitration when an institution requires a single answer.

See SDKs for client construction, retry, trace propagation.

On this page