Implement the foundational message passing system for actor-based agents.
This is Phase 1 of the actor-native agent orchestration system. Messages are first-class computational primitives - when there are no more messages flowing, computation halts.
Messages are JSON objects:
{
"id": "msg-uuid",
"to": "actor_id",
"from": "actor_id",
"customer": "actor_id",
"timestamp": "ISO8601",
"payload": { ... }
}
The customer field specifies who should receive the response (may differ from from).
_/messages/{actor_id}.jsonlAdd a send tool to the agent toolset:
send:
description: Send a message to another actor
parameters:
to: Actor ID to send to (required)
customer: Actor ID that should receive the response (defaults to self)
payload: Message content - any JSON object (required)
Omni/Agent/Actor.hs - New module for actor primitivesOmni/Agent/Tools.hs - Add send toolOmni/Agent/Engine.hs - Message watching loopNone - this is the foundation.
_/llm/actors.md (Message section, SEND primitive)Omni/Agent/Watch.hs