Integrate actor model with existing agentd infrastructure.
This is Phase 5 of the actor-native agent orchestration system. Connect the actor primitives to existing agentd components: workflows, events, watch, and CLI.
Existing workflow YAML continues to work. It becomes sugar for actor operations:
steps:
- name: research
run: research.md
- name: implement
run: implement.md
Equivalent to a root actor that: 1. Creates child for research, waits for result 2. Creates child for implement with research context, waits for result 3. Sends final result to customer
# Run a single task (spawns root actor)
agentd run task.md
# Run a workflow (spawns root actor that follows workflow)
agentd run workflow.yaml
# Watch now shows actor graph
agentd watch
# Watch specific actor and descendants
agentd watch actor-id
New event types for actor operations:
actor_create - actor spawned child (parent_id, child_id, capabilities)actor_send - actor sent message (from, to, customer, payload summary)actor_receive - actor received message (actor_id, message_id)actor_become - actor changed behavior (actor_id, new_behavior summary)actor_complete - actor finished (actor_id, result summary)Events go to existing _/events/{run_id}.jsonl system.
Every actor receives actor-aware system prompt additions:
Omni/Agentd.hs - CLI, workflow->actor translation, root actor creationOmni/Agent/Events.hs - New event typesOmni/Agent/Watch.hs - Actor graph displayOmni/Agent/Prompts/ - Actor system prompt additions_/llm/actors.md (Integration section, Compatibility section)Omni/Agentd.hsOmni/Agent/Events.hs