Skip to main content

Delegate

MCP: lithtrix_delegate (signs locally — do not pass signature manually)
REST: POST /v1/agents/{parent_agent_id}/delegate
Auth: Root ltx_* + active passport on parent.

Contract shape

Request field name is contract (not contract_json).
conflict_policy must be exactly last_writer_wins_audit (underscores, not hyphens).

Signing (sign_payload)

UTF-8 bytes to sign:
Sign with your passport Ed25519 private key → RFC4648 base64 raw signature. MCP: set LITHTRIX_PASSPORT_MASTER_SEED or LITHTRIX_PASSPORT_PRIVATE_KEY.
Operator-derived keys: see Passports — operator-derived keys.

Signing test vector

Verify your implementation locally before hitting the live API. TEST ONLY — do not use this private key in production. Canonical UTF-8 string to sign (exact bytes):
POST /v1/auth/passport/verify is the challenge→session passport flow — not a delegation signing debug endpoint.

Response

Returns delegation_id, task_id, and (MCP only) _lithtrix.next_tool: lithtrix_trace_append.