Graph: Agent execution integration

t-519·WorkTask·
·
·
Created3 weeks ago·Updated3 weeks ago

Dependencies

Description

Edit

Integrate graph with agent execution.

Functions

  • runAgentAt :: Graph -> UserId -> NodeId -> IO ()
  • forkAgentAt :: Graph -> UserId -> NodeId -> IO RunId

Logic

1. Set node status to Running 2. Build context from graph position 3. Run agent with context + graph tools 4. Stream ops to graph via appendOp 5. Set node status to Done/Error

File

Omni/Agent/Graph/Execution.hs

Dependencies

  • Needs existing agent engine
  • Needs context builder
  • Needs graph tools

Timeline (2)

🔄[human]Open → InProgress3 weeks ago
🔄[human]InProgress → Done3 weeks ago