Get desktop application:
View/edit binary Protocol Buffers messages
Manage Agents
if not provided, will be generated internally
(message has no fields)
if set, filters the agents to the ones that have the specified key-value pairs
APIs for CLI and Web
(message has no fields)
(message has no fields)
========================================================= Agent Management =========================================================
(message has no fields)
(message has no fields)
Internal service for worker nodes to communicate with the Apex node
Registers a worker to get ready for a streaming connection.
how to connect to the worker
used to connect to the stream
Connects a long running worker to the apex node via two-way streaming. Worker needs to register first.
always required
READY event
RETURN_AGENT
always required
GIVE_AGENT, YANK_AGENT
Service methods for Grit object and reference store
APIs for CLI and Web
Sends a message to the recipient actor, the sender is the root actor, which represents the agent.
========================================================= Agent or Actor Interactions =========================================================
externally crafted message, with a valid message structure (advanced use case)
message_id will be created by runtime by creating the required Grit objects
32 bytes, of actor_id type
32 bytes, actor_id
can be a tree_id or a serizlized Grit Blob
TODO: add filters
Used in:
,32 bytes, of actor_id type
what capabilities are requested by the agent
Used in:
,required
only needed when giving to worker
Used in:
,Used in:
give to worker
take from worker
Used in:
Used in:
,blob_id or tree_id (see Grit Message)
valid serialized Grit blob object
Used in:
Used in:
what capabilities can it satisfy
not allowed to have any workers in it on READY (aka connect)
the agents that the worker wants to have (maybe because it had them previosuly, local caches, etc)
Used in:
start receiving messages from apex
MANIFEST_UPDATE = 2; // send a manifest update to apex (esp, when capacity changes)
return agent to apex