Expand description
A remote operation: a typed request one AgentMux sends another on behalf of
one of its agents, which the receiving AgentMux carries out itself
(docs/specs/SPEC_AGENTS_OPERATE_OTHER_MACHINES_2026_10_30.md §4.1).
The envelope and its signature live here, beside the jekt signers, so the
sending and the receiving srv can’t drift on the signed material. The
signature is Ed25519 with the requesting agent’s LAN key, in a domain of its
own: a jekt’s signature never verifies as a remote op, and the reverse.
It covers every field the receiver acts on, the params included, so a
request can’t be re-aimed (another audience), re-attributed (another
requester), re-timed or given other parameters.
Structs§
- Remote
Op - One request.
- Remote
OpResult - The answer to one request.
- Requester
- Who asks: the agent, and the install it runs in.
- Signed
Remote Op - A request and its signature.
Enums§
- OpStatus
- How a request ended.
Constants§
- MAX_
NONCE_ LEN - MAX_
OP_ LEN - The longest
opname,nonceandreason, and the largest serializedparams, a receiver reads. - MAX_
PARAMS_ BYTES - MAX_
REASON_ LEN - REMOTE_
OP_ 🔒DOMAIN - The signature’s domain separator.
- REMOTE_
OP_ MAX_ SKEW_ SECS - How far from the receiver’s clock a request’s
tsmay be, in seconds. - REMOTE_
OP_ VERSION - The envelope version this build sends and accepts.
Functions§
- canonical 🔒
paramsas one string that doesn’t depend on key order or spacing, so the sender and the receiver sign and check the same bytes whatever each side’s JSON library does with an object.- clip_
reason reasoncut to whatRemoteOp::check_shapetakes: at mostMAX_REASON_LENbytes, on a character boundary.- lan_
audience - The
audienceof a request for the LAN peer whoselan_keyislan_key: a label of the key that peer advertises, so a request signed for one machine fails on another. The key is readable by anything on the LAN, so this binds a request to a machine and proves nothing: the signature is what proves the sender. - plain 🔒
- A field that sits between separators must not hold one; the two free-text fields are length-prefixed instead.