MOTE
SDKs
Rust, TypeScript and HTTP for MOTE.
Every operation on MOTE 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(
"MOTE",
"v1.0.0",
"sensor_read",
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: 'MOTE',
version: 'v1.0.0',
operation: 'sensor_read',
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": "MOTE",
"version": "v1.0.0",
"operation": "sensor_read",
"input": {
"example": true
},
"tenant_id": "org_acme"
}All operations
map.dispatch(...)with operation"sensor_read"— Read a sensor stream into MIND with continuous attestation.map.dispatch(...)with operation"actuator_move"— Send a motion actuation command; sandboxed by physical capability declaration.map.dispatch(...)with operation"actuator_set_state"— Set the state of an actuator (e.g., relay, valve); state change recorded.map.dispatch(...)with operation"dispenser_dispense"— Dispense from a metered physical resource (printer, fluid, material).map.dispatch(...)with operation"device_discovery"— Discover bound devices and their capability declarations.map.dispatch(...)with operation"health_check"— Device health and integrity attestation.
See SDKs for client construction, retry, trace propagation.