MADE
SDKs
Rust, TypeScript and HTTP for MADE.
Every operation on MADE 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(
"MADE",
"v1.0.0",
"asset_definition_publish",
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: 'MADE',
version: 'v1.0.0',
operation: 'asset_definition_publish',
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": "MADE",
"version": "v1.0.0",
"operation": "asset_definition_publish",
"input": {
"example": true
},
"tenant_id": "org_acme"
}All operations
map.dispatch(...)with operation"asset_definition_publish"— Publish an asset definition (kind, units, governance class) to MARS.map.dispatch(...)with operation"economic_contract_create"— Create an economic contract: parties, terms, settlement rail, audit hooks.map.dispatch(...)with operation"economic_contract_settle"— Execute settlement on a registered rail (x402, stable, fiat); proof returned.map.dispatch(...)with operation"auction_message"— Submit an auction message (bid, ask, lift) into an active auction.map.dispatch(...)with operation"market_operation_message"— Submit a market op message routed through MARKET.
See SDKs for client construction, retry, trace propagation.